Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GeneratorFactories = map[BuiltinPluginType]func() resmap.GeneratorPlugin{ ConfigMapGenerator: builtins.NewConfigMapGeneratorPlugin, IAMPolicyGenerator: builtins.NewIAMPolicyGeneratorPlugin, SecretGenerator: builtins.NewSecretGeneratorPlugin, HelmChartInflationGenerator: builtins.NewHelmChartInflationGeneratorPlugin, }
View Source
var TransformerFactories = map[BuiltinPluginType]func() resmap.TransformerPlugin{ AnnotationsTransformer: builtins.NewAnnotationsTransformerPlugin, HashTransformer: builtins.NewHashTransformerPlugin, ImageTagTransformer: builtins.NewImageTagTransformerPlugin, LabelTransformer: builtins.NewLabelTransformerPlugin, NamespaceTransformer: builtins.NewNamespaceTransformerPlugin, PatchJson6902Transformer: builtins.NewPatchJson6902TransformerPlugin, PatchStrategicMergeTransformer: builtins.NewPatchStrategicMergeTransformerPlugin, PatchTransformer: builtins.NewPatchTransformerPlugin, PrefixSuffixTransformer: NewMultiTransformer, PrefixTransformer: builtins.NewPrefixTransformerPlugin, SuffixTransformer: builtins.NewSuffixTransformerPlugin, ReplacementTransformer: builtins.NewReplacementTransformerPlugin, ReplicaCountTransformer: builtins.NewReplicaCountTransformerPlugin, ValueAddTransformer: builtins.NewValueAddTransformerPlugin, }
Functions ¶
func NewMultiTransformer ¶ added in v0.11.0
func NewMultiTransformer() resmap.TransformerPlugin
Types ¶
type BuiltinPluginType ¶
type BuiltinPluginType int
const ( Unknown BuiltinPluginType = iota AnnotationsTransformer ConfigMapGenerator IAMPolicyGenerator HashTransformer ImageTagTransformer LabelTransformer NamespaceTransformer PatchJson6902Transformer PatchStrategicMergeTransformer PatchTransformer PrefixSuffixTransformer PrefixTransformer SuffixTransformer ReplicaCountTransformer SecretGenerator ValueAddTransformer HelmChartInflationGenerator ReplacementTransformer )
func GetBuiltinPluginType ¶
func GetBuiltinPluginType(n string) BuiltinPluginType
func (BuiltinPluginType) String ¶
func (i BuiltinPluginType) String() string
type MultiTransformer ¶ added in v0.11.0
type MultiTransformer struct {
// contains filtered or unexported fields
}
func (*MultiTransformer) Config ¶ added in v0.11.0
func (t *MultiTransformer) Config(h *resmap.PluginHelpers, b []byte) error
Click to show internal directories.
Click to hide internal directories.