Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeleteOp ¶
type DeleteOp struct {
Configs []string // NAME or '.' to indicate current-context.
}
DeleteOp indicates intention to delete contexts.
type ImportOp ¶
type ImportOp struct {
Path, Name string
}
ImportOp indicates intention to import existing kubeconf
type InteractiveSwitchOp ¶
type InteractiveSwitchOp struct {
SelfCmd string
}
type RenameOp ¶
type RenameOp struct { New string // NAME of New context Old string // NAME of Old context (or '.' for current-context) }
RenameOp indicates intention to rename contexts.
type SwitchOp ¶
type SwitchOp struct {
Target string // '-' for back and forth, or NAME
}
SwitchOp indicates intention to switch contexts.
type UnsupportedOp ¶
type UnsupportedOp struct{ Err error }
UnsupportedOp indicates an unsupported flag.
Click to show internal directories.
Click to hide internal directories.