options

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KAPrintFlags

type KAPrintFlags struct {
	*genericclioptions.PrintFlags
}

func (*KAPrintFlags) ToPrinter

func (f *KAPrintFlags) ToPrinter() (printers.ResourcePrinter, error)

type KetallOptions

type KetallOptions struct {
	CfgFile         string
	GenericCliFlags *genericclioptions.ConfigFlags
	PrintFlags      KAPrintFlags
	UseCache        bool
	AllowIncomplete bool
	Scope           string
	Since           string
	Selector        string
	FieldSelector   string
	Exclusions      []string
	Streams         *genericclioptions.IOStreams
}

func NewCmdOptions

func NewCmdOptions() *KetallOptions

func NewTestTestCmdOptions

func NewTestTestCmdOptions() (*KetallOptions, *bytes.Buffer, *bytes.Buffer, *bytes.Buffer)

Sets up options with in-memory buffers as in- and output-streams

Jump to

Keyboard shortcuts

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