Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ImagePullSecretSpec
 - type Secret
 - type SecretCell
 - type SecretDetail
 - type SecretList
 - func GetSecretList(client *client.Clientset, namespace *common.NamespaceQuery, ...) (*SecretList, error)
 - func GetSecretListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*SecretList, error)
 - func NewSecretList(secrets []api.Secret, dsQuery *dataselect.DataSelectQuery) *SecretList
 
- type SecretSpec
 
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 {
	common.ObjectMeta `json:"objectMeta"`
	common.TypeMeta   `json:"typeMeta"`
}
    Secret - a single secret returned to the frontend.
type SecretCell ¶ added in v1.4.0
func (SecretCell) GetProperty ¶ added in v1.4.0
func (self SecretCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type SecretDetail ¶ added in v1.1.1
type SecretDetail struct {
	ObjectMeta common.ObjectMeta `json:"objectMeta"`
	TypeMeta   common.TypeMeta   `json:"typeMeta"`
	// Data contains the secret data.  Each key must be a valid DNS_SUBDOMAIN
	// or leading dot followed by valid DNS_SUBDOMAIN.
	// The serialized form of the secret data is a base64 encoded string,
	// representing the arbitrary (possibly non-string) data value here.
	Data map[string][]byte `json:"data"`
	// Used to facilitate programmatic handling of secret data.
	Type api.SecretType `json:"type"`
}
    SecretDetail API resource provides mechanisms to inject containers with configuration data while keeping containers agnostic of Kubernetes
type SecretList ¶ added in v1.1.1
type SecretList struct {
	common.ListMeta `json:"listMeta"`
	// Unordered list of Secrets.
	Secrets []Secret `json:"secrets"`
}
    SecretsList - response structure for a queried secrets list.
func GetSecretList ¶ added in v1.1.1
func GetSecretList(client *client.Clientset, namespace *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*SecretList, error)
GetSecretList - return all secrets in the given namespace.
func GetSecretListFromChannels ¶ added in v1.4.0
func GetSecretListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) ( *SecretList, error)
GetSecretListFromChannels returns a list of all Config Maps in the cluster reading required resource list once from the channels.
func NewSecretList ¶ added in v1.1.1
func NewSecretList(secrets []api.Secret, dsQuery *dataselect.DataSelectQuery) *SecretList
NewSecret - creates a new instance of SecretList struct based on K8s Secrets array.
      
      Source Files
      ¶
    
- secretcommon.go
 - secretdetail.go
 - secretlist.go