flagopts

package
v2.14.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 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 KubeconfigFlag

type KubeconfigFlag string

KubeconfigFlag flag, will detect possible defaults

func NewKubeconfig

func NewKubeconfig() KubeconfigFlag

NewKubeconfig detect KUBECONFIG from ENV or default to $HOME/.kube/config

func (*KubeconfigFlag) Set

func (s *KubeconfigFlag) Set(val string) error

Set is flag.Value implementation method

func (KubeconfigFlag) String

func (s KubeconfigFlag) String() string

String is flag.Value implementation method

type StringArray

type StringArray []string

StringArray is an implementation flag.Value for parsing comma separated flags

func (*StringArray) Set

func (s *StringArray) Set(val string) error

Set is flag.Value implementation method

func (StringArray) String

func (s StringArray) String() string

String is flag.Value implementation method

Jump to

Keyboard shortcuts

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