k8s

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubernetesClient added in v1.1.0

func GetKubernetesClient() client.Client

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 (*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) NewClient added in v1.1.0

func (k8s *K8SClient) NewClient() (client.Client, error)

func (*K8SClient) NewClientset added in v1.1.0

func (k8s *K8SClient) NewClientset() (*kubernetes.Clientset, error)

Jump to

Keyboard shortcuts

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