packager

package
v0.23.0-rc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 43 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInitPackageName

func GetInitPackageName(arch string) string

GetInitPackageName returns the formatted name of the init package

Types

type Packager

type Packager struct {
	// contains filtered or unexported fields
}

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()

func (*Packager) Create

func (p *Packager) Create(baseDir string) error

Create generates a zarf package tarball for a given PackageConfg and optional base directory.

func (*Packager) Deploy

func (p *Packager) Deploy() error

Deploy attempts to deploy the given PackageConfig.

func (*Packager) FindImages

func (p *Packager) FindImages(baseDir, repoHelmChartPath string) error

FindImages iterates over a zarf.yaml and attempts to parse any images

func (*Packager) GetPackageName

func (p *Packager) GetPackageName() string

GetPackageName returns the formatted name of the package

func (*Packager) Inspect

func (p *Packager) Inspect(includeSBOM bool, outputSBOM string) error

Inspect list the contents of a package

func (*Packager) Remove

func (p *Packager) Remove(packageName string) error

Remove removes a package that was already deployed onto a cluster, uninstalling all installed helm charts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL