helpers

package
v1.2.133 Latest Latest
Warning

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

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

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

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
	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