release

package
v0.16.8-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound      = driver.ErrReleaseNotFound
	ErrFoundMultiple = errors.New("found multiple releases o_0")
	ErrDepFailed     = errors.New("dependency failed")
)
View Source
var ErrSkipValues = errors.New("values has been skip")

Functions

This section is empty.

Types

type Chart added in v0.12.0

type Chart struct {
	Name                    string
	action.ChartPathOptions `yaml:",inline"`
}

type Config

type Config interface {
	Uniq() uniqname.UniqName
	HandleDependencies([]Config)
	Sync() (*release.Release, error)
	NotifySuccess()
	NotifyFailed()
	DryRun(bool)
	ChartDepsUpd() error
	In(a []Config) bool
	BuildValues(dir string, gomplate *template.GomplateConfig) error
	Uninstall() (*release.UninstallReleaseResponse, error)
	Get() (*release.Release, error)
	List() (*release.Release, error)
	Rollback() error
	Status() (*release.Release, error)

	Name() string
	Namespace() string
	Chart() Chart
	DependsOn() []string
	Tags() []string
	Repo() string
	Values() []ValuesReference
}

Config is an interface to manage particular helm release.

func UnmarshalYAML added in v0.16.6

func UnmarshalYAML(node *yaml.Node) ([]Config, error)

UnmarshalYAML is an unmarshaller for gopkg.in/yaml.v3 to parse YAML into `Config` interface.

type ValuesReference added in v0.11.0

type ValuesReference struct {
	Src string
	// contains filtered or unexported fields
}

func (*ValuesReference) Download added in v0.11.0

func (v *ValuesReference) Download() error

func (*ValuesReference) Get added in v0.12.0

func (v *ValuesReference) Get() string

func (*ValuesReference) IsLocal added in v0.11.0

func (v *ValuesReference) IsLocal() bool

func (ValuesReference) MarshalYAML added in v0.12.0

func (v ValuesReference) MarshalYAML() (interface{}, error)

func (*ValuesReference) SetUniq added in v0.12.5

func (v *ValuesReference) SetUniq(dir string, name uniqname.UniqName) *ValuesReference

func (*ValuesReference) SetViaRelease added in v0.12.0

func (v *ValuesReference) SetViaRelease(rel *config, dir string, gomplate *template.GomplateConfig) error

func (*ValuesReference) UnmarshalYAML added in v0.11.0

func (v *ValuesReference) UnmarshalYAML(unmarshal func(interface{}) error) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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