werf_chart

package
v1.2.0-alpha18 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var TemplateHelpers = `` /* 1303-byte string literal not displayed */

Functions

func DecodeSecretValuesFile added in v1.2.0

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

func GetServiceValues added in v1.2.0

func GetServiceValues(ctx context.Context, projectName string, repo, namespace string, imageInfoGetters []*image.InfoGetter, opts ServiceValuesOptions) (map[string]interface{}, error)

Types

type ServiceValuesOptions added in v1.2.0

type ServiceValuesOptions struct {
	Env    string
	IsStub bool
}

type WerfChart

type WerfChart struct {
	HelmChart *chart.Chart

	ReleaseName      string
	ChartDir         string
	SecretValueFiles []string

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

func NewWerfChart added in v1.2.0

func NewWerfChart(opts WerfChartOptions) *WerfChart

func (*WerfChart) AfterLoad added in v1.2.0

func (wc *WerfChart) AfterLoad() error

func (*WerfChart) MakeValues added in v1.2.0

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

func (*WerfChart) SetEnv added in v1.2.0

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

func (*WerfChart) SetServiceValues

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

func (*WerfChart) SetWerfConfig added in v1.2.0

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

func (*WerfChart) SetupChart added in v1.2.0

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

func (*WerfChart) SetupTemplateFuncs added in v1.2.0

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

func (*WerfChart) WrapInstall added in v1.2.0

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

func (*WerfChart) WrapTemplate added in v1.2.0

func (wc *WerfChart) WrapTemplate(ctx context.Context, templateFunc func() error) error

func (*WerfChart) WrapUninstall added in v1.2.0

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

func (*WerfChart) WrapUpgrade added in v1.2.0

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

type WerfChartOptions added in v1.2.0

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