Documentation ¶
Overview ¶
Package packager contains functions for interacting with, managing and deploying zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Package packager contains functions for interacting with, managing and deploying Zarf packages.
Index ¶
- func GetInitPackageName(arch string) string
- type Packager
- func (p *Packager) ClearTempPaths()
- func (p *Packager) Create(baseDir string) error
- func (p *Packager) Deploy() error
- func (p *Packager) FindImages(baseDir, repoHelmChartPath string) error
- func (p *Packager) GetPackageName() string
- func (p *Packager) Inspect(includeSBOM bool, outputSBOM string) error
- func (p *Packager) Remove(packageName string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInitPackageName ¶
GetInitPackageName returns the formatted name of the init package.
Types ¶
type Packager ¶
type Packager struct {
// contains filtered or unexported fields
}
Packager is the main struct for managing packages.
func New ¶
func New(cfg *types.PackagerConfig) (*Packager, error)
New creates a new package instance with the provided config.
Note: This function creates a tmp directory that should be cleaned up with p.ClearTempPaths().
func NewOrDie ¶
func NewOrDie(config *types.PackagerConfig) *Packager
NewOrDie creates a new package instance with the provided config or throws a fatal error.
Note: This function creates a tmp directory that should be cleaned up with p.ClearTempPaths().
func (*Packager) ClearTempPaths ¶
func (p *Packager) ClearTempPaths()
ClearTempPaths removes the temp directory and any files within it.
func (*Packager) Create ¶
Create generates a Zarf package tarball for a given PackageConfig and optional base directory.
func (*Packager) FindImages ¶
FindImages iterates over a Zarf.yaml and attempts to parse any images.
func (*Packager) GetPackageName ¶
GetPackageName returns the formatted name of the package.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package deprecated handles package deprecations and migrations
|
Package deprecated handles package deprecations and migrations |