Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MountSecret ¶
type MountSecrets ¶
type MountSecrets []MountSecret
func (*MountSecrets) Append ¶
func (m *MountSecrets) Append(namespace string, secret *corev1.SecretKeySelector, mappedKey string, value []byte)
type Secret ¶
type Secret struct { // Refers to a non-secret value Value string `json:"value,omitempty"` // Refers to a secret value to be used directly ValueFrom *ValueFrom `json:"valueFrom,omitempty"` // Refers to a secret value to be used through a volume mount MountFrom *ValueFrom `json:"mountFrom,omitempty"` }
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretLoader ¶
func NewSecretLoader ¶
func NewSecretLoader(client client.Client, namespace, mountPath string, secrets *MountSecrets) SecretLoader
type ValueFrom ¶
type ValueFrom struct {
SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}
func (*ValueFrom) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.
func (*ValueFrom) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.