options

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 4 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 {
	QPS             float32
	Burst           int
	FromKubeconfig  string
	FromContext     string
	FromClusterPath string
	ToKubeconfig    string
	ToContext       string
	SyncTargetName  string
	SyncTargetUID   string
}

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (options *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) Complete

func (options *Options) Complete() error

func (*Options) Validate

func (options *Options) Validate() error

Jump to

Keyboard shortcuts

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