cp

package
v1.14.0-alpha.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCp

func NewCmdCp(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

NewCmdCp creates a new Copy command.

Types

type CopyOptions

type CopyOptions struct {
	Container  string
	Namespace  string
	NoPreserve bool

	ClientConfig *restclient.Config
	Clientset    kubernetes.Interface

	genericclioptions.IOStreams
}

func NewCopyOptions

func NewCopyOptions(ioStreams genericclioptions.IOStreams) *CopyOptions

func (*CopyOptions) Complete

func (o *CopyOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error

func (*CopyOptions) Run

func (o *CopyOptions) Run(args []string) error

func (*CopyOptions) Validate

func (o *CopyOptions) Validate(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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