Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Clientset ¶
type Clientset struct { clientcorev1.CoreV1Interface clientappsv1.AppsV1Interface clientconfigv1.ConfigV1Interface operatorclientv1.OperatorV1Interface }
Clientset is a set of Kubernetes clients.
func MustNewClientset ¶
func MustNewClientset(t *testing.T, kubeconfig *restclient.Config) *Clientset
MustNewClientset is like NewClienset but aborts the test if clienset cannot be constructed.
func NewClientset ¶
func NewClientset(kubeconfig *restclient.Config) (clientset *Clientset, err error)
NewClientset creates a set of Kubernetes clients. The default kubeconfig is used if not provided.
Click to show internal directories.
Click to hide internal directories.