Documentation ¶
Index ¶
Constants ¶
View Source
const ( Name = "rigdev.env_mapping" AnnotationEnvMapping = "plugin.rig.dev/env-mapping" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationSource ¶
type AnnotationSource struct { // Container name default to capsule name. Container string `json:"container,omitempty"` // Optional ConfigMap reference. ConfigMap string `json:"configMap,omitempty"` // Optional Secret reference. Secret string `json:"secret,omitempty"` // Mappings ENV:KEY Mappings map[string]string `json:"mappings"` }
type AnnotationValue ¶
type AnnotationValue struct {
Sources []AnnotationSource `json:"sources"`
}
type Config ¶
type Config struct{}
Configuration for the env_mapping plugin +kubebuilder:object:root=true
type Plugin ¶
type Plugin struct {
plugin.NoWatchObjectStatus
}
func (*Plugin) Initialize ¶
func (p *Plugin) Initialize(_ plugin.InitializeRequest) error
Click to show internal directories.
Click to hide internal directories.