-
Notifications
You must be signed in to change notification settings - Fork 162
/
packager.go
43 lines (30 loc) · 1.33 KB
/
packager.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
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2021-Present The Zarf Authors
// Package types contains all the types used by Zarf.
package types
import "github.com/zarf-dev/zarf/src/api/v1alpha1"
// PackagerConfig is the main struct that the packager uses to hold high-level options.
type PackagerConfig struct {
// CreateOpts tracks the user-defined options used to create the package
CreateOpts ZarfCreateOptions
// PkgOpts tracks user-defined options
PkgOpts ZarfPackageOptions
// DeployOpts tracks user-defined values for the active deployment
DeployOpts ZarfDeployOptions
// MirrorOpts tracks user-defined values for the active mirror
MirrorOpts ZarfMirrorOptions
// InitOpts tracks user-defined values for the active Zarf initialization.
InitOpts ZarfInitOptions
// InspectOpts tracks user-defined options used to inspect the package
InspectOpts ZarfInspectOptions
// PublishOpts tracks user-defined options used to publish the package
PublishOpts ZarfPublishOptions
// PullOpts tracks user-defined options used to pull packages
PullOpts ZarfPullOptions
// FindImagesOpts tracks user-defined options used to find images
FindImagesOpts ZarfFindImagesOptions
// GenerateOpts tracks user-defined values for package generation.
GenerateOpts ZarfGenerateOptions
// The package data
Pkg v1alpha1.ZarfPackage
}