clients

package
v0.0.0-...-f936e2b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateK8sClientSet

func GenerateK8sClientSet(config *rest.Config) (*kubernetes.Clientset, error)

GenerateK8sClientSet will generation k8s client

func GenerateLitmusClientSet

func GenerateLitmusClientSet(config *rest.Config) (*clientv1alpha1.Clientset, error)

GenerateLitmusClientSet will generate a LitmusClient

Types

type ClientSets

type ClientSets struct {
	KubeClient   kubernetes.Interface
	LitmusClient clientv1alpha1.Interface
	KubeConfig   *rest.Config
}

ClientSets is a collection of clientSets and kubeConfig needed

func (*ClientSets) GenerateClientSetFromKubeConfig

func (clientSets *ClientSets) GenerateClientSetFromKubeConfig() error

GenerateClientSetFromKubeConfig will generation both ClientSets (k8s, and Litmus) as well as the KubeConfig

Jump to

Keyboard shortcuts

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