helpers

package
v1.2.285 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChartTemplateHelpers = `` /* 1312-byte string literal not displayed */

Functions

func AutosetChartMetadata

func AutosetChartMetadata(metadataIn *chart.Metadata, opts GetHelmChartMetadataOptions) *chart.Metadata

func DebugPrintValues added in v1.2.205

func DebugPrintValues(ctx context.Context, name string, vals map[string]interface{})

func DebugSecretValues added in v1.2.205

func DebugSecretValues() bool

func GetBundleServiceValues

func GetBundleServiceValues(ctx context.Context, opts ServiceValuesOptions) (map[string]interface{}, error)

func GetEnvServiceValues added in v1.2.167

func GetEnvServiceValues(env string) map[string]interface{}

func GetServiceValues

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

func SetupIncludeWrapperFuncs

func SetupIncludeWrapperFuncs(funcMap template.FuncMap)

func SetupWerfImageDeprecationFunc

func SetupWerfImageDeprecationFunc(ctx context.Context, funcMap template.FuncMap)

func SetupWerfSecretFile added in v1.2.111

func SetupWerfSecretFile(secretsRuntimeData *secrets.SecretsRuntimeData, funcMap template.FuncMap)

Types

type ChartExtenderContextData

type ChartExtenderContextData struct {
	ChartExtenderContext context.Context
}

func NewChartExtenderContextData

func NewChartExtenderContextData(ctx context.Context) *ChartExtenderContextData

type ChartExtenderServiceValuesData

type ChartExtenderServiceValuesData struct {
	ServiceValues map[string]interface{}
}

func NewChartExtenderServiceValuesData

func NewChartExtenderServiceValuesData() *ChartExtenderServiceValuesData

func (*ChartExtenderServiceValuesData) GetServiceValues

func (d *ChartExtenderServiceValuesData) GetServiceValues() map[string]interface{}

func (*ChartExtenderServiceValuesData) SetServiceValues

func (d *ChartExtenderServiceValuesData) SetServiceValues(vals map[string]interface{})

type ChartExtenderValuesMerger added in v1.2.205

type ChartExtenderValuesMerger struct{}

func (*ChartExtenderValuesMerger) MergeValues added in v1.2.205

func (m *ChartExtenderValuesMerger) MergeValues(ctx context.Context, inputVals, serviceVals map[string]interface{}, secretsRuntimeData *secrets.SecretsRuntimeData) (map[string]interface{}, error)

type GetHelmChartMetadataOptions

type GetHelmChartMetadataOptions struct {
	OverrideName   string
	DefaultName    string
	DefaultVersion string
}

type ServiceValuesOptions

type ServiceValuesOptions struct {
	Namespace       string
	Env             string
	IsStub          bool
	StubImagesNames []string
	// disable env stub used in the werf-render command
	DisableEnvStub bool
	CommitHash     string
	CommitDate     *time.Time

	SetDockerConfigJsonValue bool
	DockerConfigPath         string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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