options

package
v0.2.2-rc7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: Apache-2.0 Imports: 8 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 {
	// Master is used to override the kubeconfig's URL to the apiserver.
	Master string
	//KubeConfig is the path to a KubeConfig file.
	KubeConfig    string
	Name          string
	Namespace     string
	PeriodSeconds int32
	Probe         bool
	Output        string
	Version       bool
	Short         bool
}

func NewOptions

func NewOptions() *Options

func (*Options) Flags

func (s *Options) Flags() cliflag.NamedFlagSets

func (*Options) Validate

func (s *Options) Validate() []error

Jump to

Keyboard shortcuts

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