-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.go
44 lines (35 loc) · 1.2 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2021-Present The Jackal Authors
// Package layout contains functions for interacting with Jackal's package layout on disk.
package layout
import "path/filepath"
// Constants used in the default package layout.
const (
TempDir = "temp"
FilesDir = "files"
ChartsDir = "charts"
ReposDir = "repos"
ManifestsDir = "manifests"
DataInjectionsDir = "data"
ValuesDir = "values"
JackalYAML = "jackal.yaml"
Signature = "jackal.yaml.sig"
Checksums = "checksums.txt"
ImagesDir = "images"
ComponentsDir = "components"
SBOMDir = "jackal-sbom"
SBOMTar = "sboms.tar"
IndexJSON = "index.json"
OCILayout = "oci-layout"
SeedImagesDir = "seed-images"
InjectorBinary = "zarf-injector"
InjectorPayloadTarGz = "payload.tgz"
)
var (
// IndexPath is the path to the index.json file
IndexPath = filepath.Join(ImagesDir, IndexJSON)
// ImagesBlobsDir is the path to the directory containing the image blobs in the OCI package.
ImagesBlobsDir = filepath.Join(ImagesDir, "blobs", "sha256")
// OCILayoutPath is the path to the oci-layout file
OCILayoutPath = filepath.Join(ImagesDir, OCILayout)
)