Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
func RunCommand(factory CommandFactory, config *CommandConfig) error
Types ¶
type CommandConfig ¶
type CommandConfig struct { Clientset kubernetes.Interface Discovery discovery.DiscoveryInterface ClientConfig clientcmd.ClientConfig Streams genericclioptions.IOStreams Namespace string Resources []models.WatchResource Params *models.OutParams }
type CommandFactory ¶
type CommandFactory interface {
// contains filtered or unexported methods
}
func NewCommandFactory ¶
func NewCommandFactory(params *models.OutParams) CommandFactory
Click to show internal directories.
Click to hide internal directories.