values

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapper deprecated

type Mapper interface {
	Map(chartutil.Values) chartutil.Values
}

Mapper is an interface expected by the reconciler.WithValueMapper option.

Deprecated: use Translator instead.

type MapperFunc

type MapperFunc func(chartutil.Values) chartutil.Values

func (MapperFunc) Map

type Translator added in v0.0.9

type Translator interface {
	Translate(ctx context.Context, unstructured *unstructured.Unstructured) (chartutil.Values, error)
}

Translator is an interface expected by the reconciler.WithValueTranslator option.

Translate should return helm values based on the content of the unstructured object which is being reconciled.

See also the option documentation.

type TranslatorFunc added in v0.0.9

type TranslatorFunc func(context.Context, *unstructured.Unstructured) (chartutil.Values, error)

TranslatorFunc is a helper type for passing a function as a Translator.

func (TranslatorFunc) Translate added in v0.0.9

Jump to

Keyboard shortcuts

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