Documentation
¶
Index ¶
- Constants
- type CustomOrderValueMergeStrategyOptions
- type Include
- type IncludeFunction
- type Layer
- type PatchOptions
- type Patches
- type Path
- type RawMessage
- type Schema
- type Template
- type Templates
- type Value
- type ValueFileMergeOptions
- type ValueFileOptions
- type ValueMergeReference
- type ValueMergeReferenceType
- type Values
- type Variable
Constants ¶
View Source
const ( DefaultConfigMapDataKey = "configmap-values.yaml" DefaultSecretDataKey = "secret-values.yaml" )
View Source
const ( ValueFileMergeStrategyCustomOrder = "CustomOrder" ValueFileMergeStrategySameTypeInLayerOrder = "SameTypeInLayerOrder" ValueFileMergeStrategyConfigMapsInLayerOrder = "ConfigMapsInLayerOrder" ValueFileMergeStrategySecretsInLayerOrder = "SecretsInLayerOrder" ValueFileMergeStrategyConfigMapsAndSecretsInLayerOrder = "ConfigMapsAndSecretsInLayerOrder" // nolint:gosec ValueFileMergeStrategySameTypeFromCurrentLayer = "SameTypeFromCurrentLayer" ValueFileMergeStrategyConfigMapAndSecretFromCurrentLayer = "ConfigMapAndSecretFromCurrentLayer" // nolint:gosec )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomOrderValueMergeStrategyOptions ¶
type CustomOrderValueMergeStrategyOptions struct {
Order []ValueMergeReference `yaml:"order"`
}
type Include ¶
type Include struct {
Id string `yaml:"id"`
Function IncludeFunction `yaml:"function"`
Path Path `yaml:"path"`
Extension string `yaml:"extension"`
}
type IncludeFunction ¶
type IncludeFunction struct {
Name string `yaml:"name"`
}
type PatchOptions ¶
type Patches ¶
type Patches struct {
Path Path `yaml:"path"`
ConfigMap PatchOptions `yaml:"configMap"`
Secret PatchOptions `yaml:"secret"`
}
type RawMessage ¶
type RawMessage struct {
// contains filtered or unexported fields
}
func (*RawMessage) Unmarshal ¶
func (msg *RawMessage) Unmarshal(v interface{}) error
func (*RawMessage) UnmarshalYAML ¶
func (msg *RawMessage) UnmarshalYAML(unmarshal func(interface{}) error) error
type Template ¶
type Template struct {
Name string `yaml:"name"`
Required bool `yaml:"required"`
Values ValueFileOptions `yaml:"values"`
}
type ValueFileMergeOptions ¶
type ValueFileMergeOptions struct {
Strategy string `yaml:"strategy"`
Options RawMessage `yaml:"options"`
}
type ValueFileOptions ¶
type ValueFileOptions struct {
Merge ValueFileMergeOptions `yaml:"merge"`
}
type ValueMergeReference ¶
type ValueMergeReference struct {
LayerId string `yaml:"layerId"`
Type ValueMergeReferenceType `yaml:"type"`
}
type ValueMergeReferenceType ¶
type ValueMergeReferenceType string
const ( ValueMergeReferenceTypeConfigMap ValueMergeReferenceType = "ConfigMap" ValueMergeReferenceTypeSecret ValueMergeReferenceType = "Secret" )
Click to show internal directories.
Click to hide internal directories.