mustgather

package
v4.2.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 22 Imported by: 12

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
	RESTClientGetter genericclioptions.RESTClientGetter

	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