werf_chart

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSecretValuesFileName = "secret-values.yaml"
	SecretDirName               = "secret"
)

Variables

This section is empty.

Functions

func DecodeSecretValuesFile

func DecodeSecretValuesFile(path string, m secret.Manager) (map[string]interface{}, error)

Types

type WerfChart

type WerfChart struct {
	HelmChart *chart.Chart

	ReleaseName      string
	ChartDir         string
	SecretValueFiles []string

	ExtraAnnotationsAndLabelsPostRenderer *helm_v3.ExtraAnnotationsAndLabelsPostRenderer
	LockManager                           *lock_manager.LockManager
	SecretsManager                        secret.Manager
	// contains filtered or unexported fields
}

func NewWerfChart

func NewWerfChart(opts WerfChartOptions) *WerfChart

func (*WerfChart) AfterLoad

func (wc *WerfChart) AfterLoad() error

func (*WerfChart) MakeValues

func (wc *WerfChart) MakeValues(inputVals map[string]interface{}) (map[string]interface{}, error)

func (*WerfChart) SetEnv

func (wc *WerfChart) SetEnv(env string) error

func (*WerfChart) SetServiceValues

func (wc *WerfChart) SetServiceValues(vals map[string]interface{}) error

func (*WerfChart) SetWerfConfig

func (wc *WerfChart) SetWerfConfig(werfConfig *config.WerfConfig) error

func (*WerfChart) SetupChart

func (wc *WerfChart) SetupChart(c *chart.Chart) error

func (*WerfChart) SetupTemplateFuncs

func (wc *WerfChart) SetupTemplateFuncs(t *template.Template, funcMap template.FuncMap)

func (*WerfChart) WrapInstall

func (wc *WerfChart) WrapInstall(ctx context.Context, installFunc func() error) error

func (*WerfChart) WrapUninstall

func (wc *WerfChart) WrapUninstall(ctx context.Context, uninstallFunc func() error) error

func (*WerfChart) WrapUpgrade

func (wc *WerfChart) WrapUpgrade(ctx context.Context, upgradeFunc func() error) error

type WerfChartOptions

type WerfChartOptions struct {
	ReleaseName string
	ChartDir    string

	SecretValueFiles []string
	ExtraAnnotations map[string]string
	ExtraLabels      map[string]string

	LockManager    *lock_manager.LockManager
	SecretsManager secret.Manager
}

Jump to

Keyboard shortcuts

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