-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Philip Laine <[email protected]>
- Loading branch information
1 parent
b8d7812
commit ee669e6
Showing
17 changed files
with
486 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-FileCopyrightText: 2021-Present The Zarf Authors | ||
|
||
// Package layout contains functions for inteacting the Zarf packages. | ||
package layout | ||
|
||
// Constants used in the default package layout. | ||
const ( | ||
ZarfYAML = "zarf.yaml" | ||
Signature = "zarf.yaml.sig" | ||
Checksums = "checksums.txt" | ||
|
||
ImagesDir = "images" | ||
ComponentsDir = "components" | ||
|
||
SBOMDir = "zarf-sbom" | ||
SBOMTar = "sboms.tar" | ||
|
||
IndexJSON = "index.json" | ||
OCILayout = "oci-layout" | ||
) | ||
|
||
// ComponentDir is the type for the different directories in a component. | ||
type ComponentDir string | ||
|
||
// Different component directory types. | ||
const ( | ||
RepoComponentDir ComponentDir = "repos" | ||
FilesComponentDir ComponentDir = "files" | ||
ChartsComponentDir ComponentDir = "charts" | ||
ManifestsComponentDir ComponentDir = "manifests" | ||
DataComponentDir ComponentDir = "data" | ||
ValuesComponentDir ComponentDir = "values" | ||
) |
Oops, something went wrong.