kubectl

package
v0.0.0-...-136dec8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(factory CommandFactory, config *CommandConfig) error

Types

type Command

type Command struct {
	*cobra.Command
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL