Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCantFindConfigFile = errors.New("can not find config file")
ErrCantFindConfigFile is returned when given config file can't be found.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { KubeCfgPath string KubeContext string KubeCluster string KubeAsUser string KubeAsUID string KubeAsGroup []string }
Params contain Kubernetes specific params, that CLI should comply to.
func (*Params) GetClientConfig ¶
func (kp *Params) GetClientConfig() (clientcmd.ClientConfig, error)
GetClientConfig gets ClientConfig from Kube' configuration params.
Click to show internal directories.
Click to hide internal directories.