Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubernetesClient ¶ added in v1.1.0
func NewClientFromRestConfig ¶ added in v1.1.0
func NewClientFromRestConfig(restConfig *restClient.Config) (client.Client, error)
Types ¶
type K8SClient ¶ added in v1.1.0
type K8SClient struct { Config *openshiftTY.PluginConfig // contains filtered or unexported fields }
func GetK8SClientConfig ¶ added in v1.1.0
func GetK8SClientConfig() *K8SClient
func New ¶ added in v1.1.0
func New(cfg *openshiftTY.PluginConfig) *K8SClient
func (*K8SClient) GetRestConfig ¶ added in v1.1.0
func (k8s *K8SClient) GetRestConfig() *restClient.Config
func (*K8SClient) Login ¶ added in v1.1.0
func (k8s *K8SClient) Login(cfg *openshiftTY.PluginConfig, forceRelogin bool) error
func (*K8SClient) NewClientset ¶ added in v1.1.0
func (k8s *K8SClient) NewClientset() (*kubernetes.Clientset, error)
Click to show internal directories.
Click to hide internal directories.