Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DebugOptions ¶
type DebugOptions struct {
	PrintFlags *genericclioptions.PrintFlags
	Attach attach.AttachOptions
	CoreClient  corev1client.CoreV1Interface
	AppsClient  appsv1client.AppsV1Interface
	ImageClient imagev1client.ImageV1Interface
	Printer          printers.ResourcePrinter
	LogsForObject    polymorphichelpers.LogsForObjectFunc
	RESTClientGetter genericclioptions.RESTClientGetter
	NoStdin    bool
	ForceTTY   bool
	DisableTTY bool
	Timeout    time.Duration
	Command            []string
	Annotations        map[string]string
	AsRoot             bool
	AsNonRoot          bool
	AsUser             int64
	KeepLabels         bool // TODO: evaluate selecting the right labels automatically
	KeepAnnotations    bool
	KeepLiveness       bool
	KeepReadiness      bool
	KeepInitContainers bool
	OneContainer       bool
	NodeName           string
	AddEnv             []corev1.EnvVar
	RemoveEnv          []string
	Resources          []string
	Builder            func() *resource.Builder
	Namespace          string
	ExplicitNamespace  bool
	DryRun             bool
	FullCmdName        string
	Image              string
	// IsNode is set after we see the object we're debugging.  We use it to be able to print pertinent advice.
	IsNode bool
	resource.FilenameOptions
	genericclioptions.IOStreams
}
    func NewDebugOptions ¶
func NewDebugOptions(streams genericclioptions.IOStreams) *DebugOptions
func (*DebugOptions) Complete ¶
func (*DebugOptions) RunDebug ¶
func (o *DebugOptions) RunDebug() error
Debug creates and runs a debugging pod.
func (DebugOptions) Validate ¶
func (o DebugOptions) Validate() error
      
      Source Files
      ¶
    
- debug.go
 
 Click to show internal directories. 
   Click to hide internal directories.