Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeClient ¶ added in v0.4.0
type KubeClient struct {
// contains filtered or unexported fields
}
KubeClient represents Kubernetes client and calculated namespace
func NewKubeClient ¶
func NewKubeClient(kubeconfig, context, namespace string) (*KubeClient, error)
NewKubeClient creates new Kubernetes API client
func (*KubeClient) CreateSecret ¶ added in v0.4.0
CreateSecret creates new Secret
func (*KubeClient) GetSecret ¶ added in v0.4.0
func (c *KubeClient) GetSecret(name string) (*v1.Secret, error)
GetSecret returns secret with the given name
func (*KubeClient) ListSecrets ¶ added in v0.4.0
func (c *KubeClient) ListSecrets() (*v1.SecretList, error)
ListSecrets returns the list of Secrets
func (*KubeClient) UpdateSecret ¶ added in v0.4.0
UpdateSecret updates the existed secret
Click to show internal directories.
Click to hide internal directories.