helpers

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChartTemplateHelpers = `` /* 1352-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 string, 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)

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

	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