Documentation ¶
Index ¶
- type API
- func (k8sAPI API) ApplyManifests(namespace string, manifests string) error
- func (k8sAPI API) GetSecretData(secretName string, namespace string) (map[string][]byte, error)
- func (k8sAPI API) PatchNamespaceLabels(namespace string, labelPatches map[string]string, operation string) error
- func (k8sAPI API) SecretExists(secretName string, namespace string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Cluster string Clientset *kubernetes.Clientset Dynamic dynamic.Interface Config *rest.Config }
API holds two K8s client interfaces: clientset and dynamic
func (API) ApplyManifests ¶
ApplyManifests applies a set of manifests
func (API) GetSecretData ¶
GetSecretData gets the data for a secret
func (API) PatchNamespaceLabels ¶
Click to show internal directories.
Click to hide internal directories.