Documentation
¶
Index ¶
- Variables
- type Chart
- type Config
- 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, gomplate *template.GomplateConfig) 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") 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
UnmarshalYAML is an unmarshaller for gopkg.in/yaml.v2 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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.