copy

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Namespace       string
	ToNamespace     string
	Group           string
	Version         string
	Kind            string
	Selector        string
	Name            string
	Query           string
	CreateNamespace bool
	Count           int
	DynamicClient   dynamic.Interface
	KubeClient      kubernetes.Interface
}

Options the options for the command

func NewCmdCopy

func NewCmdCopy() (*cobra.Command, *Options)

NewCmdCopy creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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