Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConfigNotFound = errors.New("can't find kubeconfig") ErrConfigBuild = errors.New("could not build kubeconfig from flags") )
Functions ¶
Types ¶
type DefaultProvider ¶
type DefaultProvider struct{}
func (*DefaultProvider) BuildConfigFromFlags ¶
func (dp *DefaultProvider) BuildConfigFromFlags(masterUrl, kubeconfigPath string) (*rest.Config, error)
func (*DefaultProvider) GetEnv ¶
func (dp *DefaultProvider) GetEnv(key string) string
func (*DefaultProvider) InClusterConfig ¶
func (dp *DefaultProvider) InClusterConfig() (*rest.Config, error)
Click to show internal directories.
Click to hide internal directories.