Documentation ¶
Index ¶
- Variables
- type Chart
- type Config
- func (rel *Config) BuildValues(dir string) error
- func (rel *Config) Cfg() *action.Configuration
- func (rel *Config) ChartDepsUpd() error
- func (rel *Config) DryRun(b bool) *Config
- func (rel *Config) GetChart() (*chart.Chart, error)
- func (rel *Config) HandleDependencies(releases []*Config)
- func (rel *Config) Helm() *helm.EnvSettings
- func (rel *Config) In(a []*Config) bool
- func (rel *Config) List() (*release.Release, error)
- func (rel *Config) NotifyFailed()
- func (rel *Config) NotifySuccess()
- func (rel *Config) Repo() string
- func (rel *Config) Rollback() error
- func (rel *Config) Status() (*release.Release, error)
- func (rel *Config) Sync() (*release.Release, error)
- func (rel *Config) Uninstall() (*release.UninstallReleaseResponse, error)
- func (rel *Config) Uniq() uniqname.UniqName
- type ValuesReference
- func (v *ValuesReference) Download() error
- func (v *ValuesReference) Get() string
- func (v *ValuesReference) IsLocal() bool
- func (v ValuesReference) MarshalYAML() (interface{}, error)
- func (v *ValuesReference) SetUniq(dir string, name uniqname.UniqName) *ValuesReference
- func (v *ValuesReference) SetViaRelease(rel *Config, dir string) error
- func (v *ValuesReference) UnmarshalYAML(unmarshal func(interface{}) error) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = driver.ErrReleaseNotFound ErrFoundMultiple = errors.New("found multiple releases o_0") ErrEmpty = errors.New("releases are empty") 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 struct { Store map[string]interface{} Chart Chart Name string Namespace string Description string DependsOn []string `yaml:"depends_on"` Values []ValuesReference Tags []string Timeout time.Duration MaxHistory int CreateNamespace bool ResetValues bool Recreate bool Force bool Atomic bool CleanupOnFail bool SubNotes bool DisableHooks bool DisableOpenAPIValidation bool WaitForJobs bool Wait bool SkipCRDs bool Devel bool ReuseValues bool // contains filtered or unexported fields }
func (*Config) BuildValues ¶ added in v0.12.0
func (*Config) Cfg ¶ added in v0.12.0
func (rel *Config) Cfg() *action.Configuration
func (*Config) ChartDepsUpd ¶ added in v0.12.0
func (*Config) HandleDependencies ¶
func (*Config) Helm ¶ added in v0.12.2
func (rel *Config) Helm() *helm.EnvSettings
func (*Config) NotifyFailed ¶
func (rel *Config) NotifyFailed()
func (*Config) NotifySuccess ¶
func (rel *Config) NotifySuccess()
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) error
func (*ValuesReference) UnmarshalYAML ¶ added in v0.11.0
func (v *ValuesReference) UnmarshalYAML(unmarshal func(interface{}) error) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.