Documentation
¶
Index ¶
- type AutoReadyFunction
- type Composition
- type CrdConfig
- type EnumValue
- type EnumValueType
- type GeneratorConfig
- type GlobalHandlingLabels
- type GlobalHandlingTags
- type GlobalHandlingType
- type GlobalProviderConfig
- type LabelConfig
- type LocalLabelConfig
- type LocalTagConfig
- type OverrideField
- type OverrideFieldInClaim
- type OverrideSettings
- type PipelineFunction
- type PipelineStep
- type ProviderConfig
- type TagConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoReadyFunction ¶
type Composition ¶
type EnumValue ¶
type EnumValue struct {
Value v1.JSON `yaml:"value" json:"value" protobuf:"bytes,20,rep,name=value"`
Type EnumValueType `yaml:"type" json:"type"`
MapTo *v1.JSON `yaml:"mapTo" json:"mapTo"`
}
type EnumValueType ¶
type EnumValueType string
const EnumValueTypeAdd EnumValueType = "add"
const EnumValueTypeMapTo EnumValueType = "map"
const EnumValueTypeRemove EnumValueType = "remove"
type GeneratorConfig ¶
type GeneratorConfig struct {
CompositionIdentifier string `yaml:"compositionIdentifier" json:"compositionIdentifier"`
Provider GlobalProviderConfig `yaml:"provider" json:"provider"`
Tags TagConfig `yaml:"tags,omitempty" json:"tags,omitempty"`
Labels LabelConfig `yaml:"labels,omitempty" json:"labels,omitempty"`
UsePipeline *bool `yaml:"usePipeline,omitempty" json:"usePipeline,omitempty"`
PatchAndTransfromFunction *string `yaml:"patchAndTransfromFunction,omitempty" json:"patchAndTransfromFunction,omitempty"`
ExpandCompositionName *bool `yaml:"expandCompositionName,omitempty" json:"expandCompositionName,omitempty"`
AdditionalPipelineSteps []PipelineStep `yaml:"additionalPipelineSteps,omitempty" json:"additionalPipelineSteps,omitempty"`
AutoReadyFunction *AutoReadyFunction `yaml:"autoReadyFunction,omitempty" json:"autoReadyFunction,omitempty"`
}
type GlobalHandlingLabels ¶
type GlobalHandlingLabels struct {
FromCRD GlobalHandlingType `yaml:"fromCRD,omitempty" json:"fromCRD,omitempty"`
Common GlobalHandlingType `yaml:"common,omitempty" json:"common,omitempty"`
}
type GlobalHandlingTags ¶
type GlobalHandlingTags struct {
FromLabels GlobalHandlingType `yaml:"fromLabels,omitempty" json:"fromLabels,omitempty"`
Common GlobalHandlingType `yaml:"common,omitempty" json:"common,omitempty"`
}
type GlobalHandlingType ¶
type GlobalHandlingType string
type GlobalProviderConfig ¶
type LabelConfig ¶
type LocalLabelConfig ¶
type LocalLabelConfig struct {
LabelConfig
GlobalHandling GlobalHandlingLabels `yaml:"globalHandling,omitempty" json:"globalHandling,omitempty"`
}
type LocalTagConfig ¶
type LocalTagConfig struct {
TagConfig
GlobalHandling GlobalHandlingTags `yaml:"globalHandling,omitempty" json:"globalHandling,omitempty"`
}
type OverrideField ¶
type OverrideFieldInClaim ¶
type OverrideFieldInClaim struct {
ClaimPath string `yaml:"claimPath" json:"claimPath"`
ManagedPath *string `yaml:"managedPath,omitempty" json:"managedPath,omitempty"`
OverrideSettings *OverrideSettings `yaml:"overrideSettings,omitempty" json:"overrideSettings,omitempty"`
Description *string `yaml:"description,omitempty" json:"description,omitempty"`
Ignore bool `yaml:"ignore,omitempty" json:"ignore,omitempty"`
}
type OverrideSettings ¶
type OverrideSettings struct {
Property *v1.JSONSchemaProps `yaml:"property,omitempty" json:"property,omitempty"`
Patches []p.PatchSetPatch `yaml:"patches" json:"patches"`
Enum []*EnumValue `yaml:"enum" json:"enum"`
NewEnum []v1.JSON `yaml:"newEnum" json:"newEnum"`
}
type PipelineFunction ¶
type PipelineFunction struct {
Name string `yaml:"name" json:"name"`
}
type PipelineStep ¶
type PipelineStep struct {
Step string `yaml:"step" json:"step"`
FunctionRef PipelineFunction `yaml:"functionRef" json:"functionRef"`
Condition *string `yaml:"condition,omitempty" json:"condition,omitempty"`
Input map[string]interface{} `yaml:"input" json:"input"`
Before bool `yaml:"before" json:"before"`
}
type ProviderConfig ¶
type ProviderConfig struct {
GlobalProviderConfig
CRD CrdConfig `yaml:"crd" json:"crd"`
}
Click to show internal directories.
Click to hide internal directories.