helpers

package
v1.2.331 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	StubImageNameList []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