helpers

package
v1.2.180 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 16 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 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 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