Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
// contains filtered or unexported fields
}
Cmd is the kubectl command to execute.
func New ¶
func New(kubeconfigPath string, logger log.FieldLogger) (*Cmd, error)
New creates a new instance of Cmd through which to execute kubectl.
func (*Cmd) RunCommandRaw ¶
RunCommandRaw runs any given kubectl command returning raw output.
func (*Cmd) RunGenericCommand ¶
RunGenericCommand runs any given kubectl command.
Click to show internal directories.
Click to hide internal directories.