Versions in this module Expand all Collapse all v0 v0.1.0 Dec 6, 2017 Changes in this version + const KubeconfigSecretDataKey + func CreateKubeconfigSecret(secretToolSet SecretToolSetInterface, kubeconfig *clientcmdapi.Config, ...) (*api.Secret, error) + func DeleteKubeconfigSecret(secretToolSet SecretToolSetInterface, namespace string, name string) error + func Write(config clientcmdapi.Config) ([]byte, error) + type ClusterAnnotation struct + Annotations map[string]string + DeleteAnnotations []string + func (ca *ClusterAnnotation) ApplyAnnotation(annotations map[string]string) + func (ca *ClusterAnnotation) DeleteAnnotation(key string) + func (ca *ClusterAnnotation) SetAnnotation(key string, value string) + type SecretToolSet struct + func (st *SecretToolSet) CreateSecret(namespace string, secret *api.Secret) (*api.Secret, error) + func (st *SecretToolSet) DeleteSecret(namespace, name string) error + type SecretToolSetInterface interface + CreateSecret func(namespace string, secret *api.Secret) (*api.Secret, error) + DeleteSecret func(namespace, name string) error + func NewSecretToolSet() SecretToolSetInterface