Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CopyOptions ¶
type CopyOptions struct {
Container string
Namespace string
NoPreserve bool
ClusterName string
ClientConfig *restclient.Config
Clientset kubernetes.Interface
ExecParentCmdName string
genericclioptions.IOStreams
Configs map[string]string
}
CopyOptions have the data required to perform the copy operation
func NewCopyOptions ¶
func NewCopyOptions(ioStreams genericclioptions.IOStreams) *CopyOptions
NewCopyOptions creates the options for copy
func (*CopyOptions) Run ¶
func (o *CopyOptions) Run(cmd *cobra.Command, args []string) error
Run performs the execution
func (*CopyOptions) SetClusterName ¶
func (o *CopyOptions) SetClusterName(clusterName string)
Click to show internal directories.
Click to hide internal directories.