command

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HelmContext   = "HELM_KUBECONTEXT"
	HelmNamespace = "HELM_NAMESPACE"
	KubeConfig    = "KUBECONFIG"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec interface {
	SetKubeCmd(namespace string, args ...string)
	RunKubeCmd(deviation deviation.Deviation) (deviation.Deviation, error)
}

Exec implements methods that set's and run's the kubectl command.

func NewCommand

func NewCommand(cmd string, logger *log.Logger) Exec

NewCommand returns new instance of Exec.

Jump to

Keyboard shortcuts

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