Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdGuard ¶
type CmdGuard interface { GetServerResourceMap() (map[string]metav1.APIResource, error) GetResourceDetailsFromMap(selectedVerb, resourceType string, resMap map[string]metav1.APIResource) (command.Resource, error) }
CmdGuard is responsible for guarding kubectl commands.
type Commander ¶
type Commander struct {
// contains filtered or unexported fields
}
Commander is responsible for generating kubectl commands for the given event.
func NewCommander ¶
NewCommander creates a new Commander instance.
Click to show internal directories.
Click to hide internal directories.