Documentation ¶
Index ¶
- type Kubernetes
- func (k8 *Kubernetes) Apply(deployYaml string) error
- func (k8 *Kubernetes) CreateSecret(secretName string, secrets map[string]string) error
- func (k8 *Kubernetes) DeleteSecret(secretName string) error
- func (k8 *Kubernetes) GetEksAdminToken() (string, error)
- func (k8 *Kubernetes) GetPodName(appName string) (string, error)
- func (k8 *Kubernetes) GetSecrets(namespace string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kubernetes ¶
type Kubernetes struct {
// contains filtered or unexported fields
}
func New ¶
func New(context string) (Kubernetes, error)
func (*Kubernetes) Apply ¶
func (k8 *Kubernetes) Apply(deployYaml string) error
func (*Kubernetes) CreateSecret ¶
func (k8 *Kubernetes) CreateSecret(secretName string, secrets map[string]string) error
func (*Kubernetes) DeleteSecret ¶
func (k8 *Kubernetes) DeleteSecret(secretName string) error
func (*Kubernetes) GetEksAdminToken ¶
func (k8 *Kubernetes) GetEksAdminToken() (string, error)
func (*Kubernetes) GetPodName ¶
func (k8 *Kubernetes) GetPodName(appName string) (string, error)
func (*Kubernetes) GetSecrets ¶
func (k8 *Kubernetes) GetSecrets(namespace string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.