release

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 25 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")
	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 (rel *Config) BuildValues(dir string) error

func (*Config) Cfg added in v0.12.0

func (rel *Config) Cfg() *action.Configuration

func (*Config) ChartDepsUpd added in v0.12.0

func (rel *Config) ChartDepsUpd() error

func (*Config) DryRun added in v0.12.0

func (rel *Config) DryRun(b bool) *Config

func (*Config) GetChart added in v0.12.0

func (rel *Config) GetChart() (*chart.Chart, error)

func (*Config) HandleDependencies

func (rel *Config) HandleDependencies(releases []*Config)

func (*Config) Helm added in v0.12.2

func (rel *Config) Helm() *helm.EnvSettings

func (*Config) In

func (rel *Config) In(a []*Config) bool

In check that 'x' found in 'array'

func (*Config) List added in v0.11.0

func (rel *Config) List() (*release.Release, error)

func (*Config) NotifyFailed

func (rel *Config) NotifyFailed()

func (*Config) NotifySuccess

func (rel *Config) NotifySuccess()

func (*Config) Repo added in v0.12.0

func (rel *Config) Repo() string

func (*Config) Rollback added in v0.12.0

func (rel *Config) Rollback() error

func (*Config) Status added in v0.11.0

func (rel *Config) Status() (*release.Release, error)

func (*Config) Sync

func (rel *Config) Sync() (*release.Release, error)

func (*Config) Uninstall added in v0.12.0

func (rel *Config) Uninstall() (*release.UninstallReleaseResponse, error)

func (*Config) Uniq added in v0.12.0

func (rel *Config) Uniq() uniqname.UniqName

Uniq redis@my-namespace

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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