configflags

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigFlags

type ConfigFlags struct {
	// contains filtered or unexported fields
}

func New

func New() *ConfigFlags

func (*ConfigFlags) AddFlags

func (f *ConfigFlags) AddFlags(flags *pflag.FlagSet)

func (*ConfigFlags) ConfigPath added in v0.2.7

func (f *ConfigFlags) ConfigPath() string

func (*ConfigFlags) KubeClient

func (f *ConfigFlags) KubeClient() (*kubernetes.Clientset, error)

func (*ConfigFlags) LoadRegistries

func (f *ConfigFlags) LoadRegistries() (defReg string, registries map[string]*registry.Registry, err error)

func (*ConfigFlags) Platform added in v0.3.1

func (f *ConfigFlags) Platform() string

func (*ConfigFlags) ToDiscoveryClient added in v0.2.6

func (f *ConfigFlags) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)

func (*ConfigFlags) ToRESTConfig added in v0.2.6

func (f *ConfigFlags) ToRESTConfig() (*rest.Config, error)

func (*ConfigFlags) ToRESTMapper added in v0.2.6

func (f *ConfigFlags) ToRESTMapper() (meta.RESTMapper, error)

func (*ConfigFlags) ToRawKubeConfigLoader added in v0.2.6

func (f *ConfigFlags) ToRawKubeConfigLoader() clientcmd.ClientConfig

func (*ConfigFlags) ToResolver

func (f *ConfigFlags) ToResolver() (*registry.Resolver, error)

Jump to

Keyboard shortcuts

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