Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImagePullSecretSpec ¶
type ImagePullSecretSpec struct { Name string `json:"name"` Namespace string `json:"namespace"` // The value of the .dockercfg property. It must be Base64 encoded. Data []byte `json:"data"` }
ImagePullSecretSpec - specification of an image pull secret implements SecretSpec
func (*ImagePullSecretSpec) GetData ¶
func (spec *ImagePullSecretSpec) GetData() map[string][]byte
GetData - return the data the secret carries, it is a single key-value pair
func (*ImagePullSecretSpec) GetName ¶
func (spec *ImagePullSecretSpec) GetName() string
GetName - return the name of the ImagePullSecret
func (*ImagePullSecretSpec) GetNamespace ¶
func (spec *ImagePullSecretSpec) GetNamespace() string
GetNamespace - return the namespace of the ImagePullSecret
func (*ImagePullSecretSpec) GetType ¶
func (spec *ImagePullSecretSpec) GetType() api.SecretType
GetType - return the type of the ImagePullSecret, which is always api.SecretTypeDockercfg
type Secret ¶
type Secret struct {
Name string `json:"name"`
}
Secret - a single secret returned to the frontend.
Click to show internal directories.
Click to hide internal directories.