command

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec interface {
	SetKubeCmd(kubeConfig string, kubeContext string, 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