Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapperFunc ¶
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
func (t TranslatorFunc) Translate(ctx context.Context, u *unstructured.Unstructured) (chartutil.Values, error)
Click to show internal directories.
Click to hide internal directories.