copy

package
v1.6.9 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCopyCmd

func NewCopyCmd(f *cmdutil.Factory, runF func(*CopyOptions) error) *cobra.Command

NewCopyCmd creates and returns a copy command for indices

Types

type CopyOptions

type CopyOptions struct {
	Config config.IConfig
	IO     *iostreams.IOStreams

	SearchClient func() (*search.Client, error)

	SourceIndex      string
	DestinationIndex string
	Scope            []string

	Wait bool

	DoConfirm bool
}

Jump to

Keyboard shortcuts

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