Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateSecret ¶
func DeleteSecret ¶
func DeleteSecret(cli *kubernetes.Clientset, name, namespace string) error
Types ¶
type Secret ¶
type Secret struct {
// metav1.TypeMeta `json:",inline"`
ObjectMeta common.ObjectMeta `json:"objectMeta"`
Data map[string][]byte `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`
StringData map[string]string `json:"stringData,omitempty" protobuf:"bytes,4,rep,name=stringData"`
Type SecretType `json:"type,omitempty" protobuf:"bytes,3,opt,name=type,casttype=SecretType"`
}
func GetSecretDetail ¶
func GetSecretDetail(cli *kubernetes.Clientset, name, namespace string) (*Secret, error)
type SecretType ¶
type SecretType string
Click to show internal directories.
Click to hide internal directories.