kubernetes

package
v0.0.0-...-d761364 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL