mustgather

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMustGatherCommand

func NewMustGatherCommand(f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

Types

type MustGatherOptions

type MustGatherOptions struct {
	genericclioptions.IOStreams

	Config *rest.Config
	Client kubernetes.Interface

	NodeName  string
	DestDir   string
	SourceDir string
	Image     string
	Command   []string
	Keep      bool

	RsyncRshCmd string

	PrinterCreated printers.ResourcePrinter
	PrinterDeleted printers.ResourcePrinter
}

func NewMustGatherOptions

func NewMustGatherOptions(streams genericclioptions.IOStreams) *MustGatherOptions

func (*MustGatherOptions) Complete

func (o *MustGatherOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error

func (*MustGatherOptions) Run

func (o *MustGatherOptions) Run(rsyncCmd *cobra.Command) error

Run creates and runs a must-gather pod.d

Jump to

Keyboard shortcuts

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