Documentation ¶
Index ¶
- func CreateClientset(kubeconfig string) (*kubernetes.Clientset, error)
- func CreatePod(clientset kubernetes.Interface, namespace string, image string, name string) (*v1.Pod, error)
- func CreateRole(clientset kubernetes.Interface, namespace string) error
- func CreateRoleBinding(clientset kubernetes.Interface, namespace string) error
- func CreateService(clientset kubernetes.Interface, namespace string, name string, port int32, ...) (*v1.Service, error)
- func CreateTestNamespace(clientset kubernetes.Interface, prefix string) (string, error)
- func DeletePod(clientset kubernetes.Interface, namespace string, name string) error
- func DeleteService(clientset kubernetes.Interface, namespace string, name string) error
- func DeleteTestNamespace(clientset kubernetes.Interface, namespace string) error
- func WaitForSecretExist(clientset kubernetes.Interface, namespace string, secretName string, ...) (*v1.Secret, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClientset ¶
func CreateClientset(kubeconfig string) (*kubernetes.Clientset, error)
func CreateRole ¶
func CreateRole(clientset kubernetes.Interface, namespace string) error
func CreateRoleBinding ¶
func CreateRoleBinding(clientset kubernetes.Interface, namespace string) error
func CreateService ¶
func CreateTestNamespace ¶
func CreateTestNamespace(clientset kubernetes.Interface, prefix string) (string, error)
func DeletePod ¶
func DeletePod(clientset kubernetes.Interface, namespace string, name string) error
func DeleteService ¶
func DeleteService(clientset kubernetes.Interface, namespace string, name string) error
func DeleteTestNamespace ¶
func DeleteTestNamespace(clientset kubernetes.Interface, namespace string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.