importRules

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 NewImportCmd

func NewImportCmd(f *cmdutil.Factory, runF func(*ImportOptions) error) *cobra.Command

NewImportCmd creates and returns an import command for indice rules

Types

type ImportOptions

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

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

	Indice             string
	ForwardToReplicas  bool
	ClearExistingRules bool
	Scanner            *bufio.Scanner

	DoConfirm bool
}

Jump to

Keyboard shortcuts

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