Documentation
¶
Index ¶
- func NewBatchClient(t *testing.T) *batchv1client.BatchV1Client
- func NewClientConfigForTest(kubeconfig string) (*rest.Config, error)
- func NewConfigClient(t *testing.T) *configversionedclientv1alpha1.ConfigV1alpha1Client
- func NewCoreClient(t *testing.T) *corev1client.CoreV1Client
- func NewOperatorClient(t *testing.T) *operatorversionedclient.Clientset
- type ClientSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBatchClient ¶
func NewBatchClient(t *testing.T) *batchv1client.BatchV1Client
func NewClientConfigForTest ¶
NewClientConfigForTest returns a REST config configured to connect to the api server
func NewConfigClient ¶
func NewConfigClient(t *testing.T) *configversionedclientv1alpha1.ConfigV1alpha1Client
func NewCoreClient ¶
func NewCoreClient(t *testing.T) *corev1client.CoreV1Client
func NewOperatorClient ¶
func NewOperatorClient(t *testing.T) *operatorversionedclient.Clientset
Types ¶
type ClientSet ¶
type ClientSet struct { corev1client.CoreV1Interface appsv1client.AppsV1Interface clientconfigv1.ConfigV1Interface clientapiextensionsv1beta1.ApiextensionsV1beta1Interface }
func NewClientSet ¶
NewClientSet returns a *ClientBuilder with the given kubeconfig.
Click to show internal directories.
Click to hide internal directories.