cmd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDebug

func NewCmdDebug(calledAs string, streams genericclioptions.IOStreams) *cobra.Command

NewCmdDebug provides a cobra command wrapping DebugOptions

Types

type DebugOptions

type DebugOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

DebugOptions provides information required to update the current context on a user's KUBECONFIG

func (*DebugOptions) Complete

func (o *DebugOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for updating the current context

func (*DebugOptions) Run

func (o *DebugOptions) Run() error

Run lists all available debugs on a user's KUBECONFIG or updates the current context based on a provided debug.

func (*DebugOptions) Validate

func (o *DebugOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

Jump to

Keyboard shortcuts

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