manager

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDependencies

func CheckDependencies(ch *chart.Chart, reqs []*chart.Dependency) error

CheckDependencies checks the dependencies for a chart.

func LoadDir added in v0.2.0

func LoadDir(dir string, p *Package) (*chart.Chart, error)

LoadDir loads from a directory.

This loads charts only from directories.

func LoadFiles added in v0.2.0

func LoadFiles(files []*loader.BufferedFile, p *Package) (*chart.Chart, error)

LoadFiles loads from in-memory files.

func MergeChartValues added in v0.1.2

func MergeChartValues(c *chart.Chart, values map[string]interface{}) (*chart.Chart, error)

MergeChartValues : merge values contained in the chart with the ones provided by the user

Types

type Package

type Package struct {
	Sign             bool
	Key              string
	Keyring          string
	Version          string
	AppVersion       string
	Destination      string
	DependencyUpdate bool
	NoDeps           bool
	RepositoryConfig string
	RepositoryCache  string
}

Package is the action for packaging a chart.

It provides the implementation of 'helm package'.

func NewPackage

func NewPackage() *Package

NewPackage creates a new Package object with the given configuration.

func (*Package) Clearsign

func (p *Package) Clearsign(filename string) error

Clearsign signs a chart

func (*Package) Run

func (p *Package) Run(path string, vals map[string]interface{}) (string, error)

Run executes 'helm package' against the given chart and returns the path to the packaged chart.

Jump to

Keyboard shortcuts

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