Documentation ¶
Index ¶
- type ConfigFlags
- func (f *ConfigFlags) AddFlags(flags *pflag.FlagSet)
- func (f *ConfigFlags) ConfigPath() string
- func (f *ConfigFlags) KubeClient() (*kubernetes.Clientset, error)
- func (f *ConfigFlags) LoadRegistries() (defReg string, registries map[string]*registry.Registry, err error)
- func (f *ConfigFlags) Platform() string
- func (f *ConfigFlags) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
- func (f *ConfigFlags) ToRESTConfig() (*rest.Config, error)
- func (f *ConfigFlags) ToRESTMapper() (meta.RESTMapper, error)
- func (f *ConfigFlags) ToRawKubeConfigLoader() clientcmd.ClientConfig
- func (f *ConfigFlags) ToResolver() (*registry.Resolver, error)
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 (*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)
Click to show internal directories.
Click to hide internal directories.