Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigVarBool ¶
type ConfigVarBool struct { Value bool `json:"value,omitempty"` SecretKeyRef GlobalSecretKeySelector `json:"secretKeyRef,omitempty"` ConfigMapKeyRef GlobalConfigMapKeySelector `json:"configMapKeyRef,omitempty"` }
func (ConfigVarBool) MarshalJSON ¶
func (configVarBool ConfigVarBool) MarshalJSON() ([]byte, error)
MarshalJSON encodes the configVarBool, omitting empty strings This is done to not have the json object cluttered with empty strings This will eventually hopefully be resolved within golang itself https://github.com/golang/go/issues/11939
func (*ConfigVarBool) UnmarshalJSON ¶
func (configVarBool *ConfigVarBool) UnmarshalJSON(b []byte) error
type ConfigVarString ¶
type ConfigVarString struct { Value string `json:"value,omitempty"` SecretKeyRef GlobalSecretKeySelector `json:"secretKeyRef,omitempty"` ConfigMapKeyRef GlobalConfigMapKeySelector `json:"configMapKeyRef,omitempty"` }
func (ConfigVarString) MarshalJSON ¶
func (configVarString ConfigVarString) MarshalJSON() ([]byte, error)
MarshalJSON converts a configVarString to its JSON form, omitting empty strings. This is done to not have the json object cluttered with empty strings This will eventually hopefully be resolved within golang itself https://github.com/golang/go/issues/11939
func (*ConfigVarString) UnmarshalJSON ¶
func (configVarString *ConfigVarString) UnmarshalJSON(b []byte) error
type GlobalConfigMapKeySelector ¶
type GlobalConfigMapKeySelector GlobalObjectKeySelector
type GlobalObjectKeySelector ¶
type GlobalObjectKeySelector struct { corev1.ObjectReference `json:",inline"` Key string `json:"key,omitempty"` }
GlobalObjectKeySelector is needed as we can not use v1.SecretKeySelector because it is not cross namespace
type GlobalSecretKeySelector ¶
type GlobalSecretKeySelector GlobalObjectKeySelector
Click to show internal directories.
Click to hide internal directories.