Documentation ¶
Index ¶
- type K8sClient
- func (c *K8sClient) CreateSecret(secretname string, secrets map[string]string, tls bool) error
- func (c *K8sClient) GetNamespace() string
- func (c *K8sClient) GetSecret(secretname string) (map[string]string, error)
- func (c *K8sClient) SetNamespace(ns string)
- func (c *K8sClient) UpdateSecret(secretname string, secrets map[string]string) error
- type K8sConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sClient ¶
type K8sClient struct {
// contains filtered or unexported fields
}
func NewK8sClient ¶
func NewK8sClient(client kubernetes.Interface, ns string) *K8sClient
func NewK8sClientFromConfig ¶
func (*K8sClient) CreateSecret ¶
func (*K8sClient) GetNamespace ¶
func (*K8sClient) SetNamespace ¶
Click to show internal directories.
Click to hide internal directories.