operations

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOperationsCmd

func NewOperationsCmd(f *cmdutil.Factory, runF func(*OperationsOptions) error) *cobra.Command

NewOperationsCmd creates and returns an operations command for object operations

func ValidateBatchOperation

func ValidateBatchOperation(p search.BatchOperationIndexed) error

ValidateBatchOperation checks that the batch operation is valid

Types

type OperationsOptions

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

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

	Wait bool

	File    string
	Scanner *bufio.Scanner

	ContinueOnError bool
}

Jump to

Keyboard shortcuts

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