Documentation ¶
Index ¶
- func CreateNamespace(clientset *kubernetes.Clientset, namespace string) error
- func CreateTestNamespace(clientset *kubernetes.Clientset, namespace string)
- func DeleteTestNamespace(clientset *kubernetes.Clientset, namespace string)
- func IsOCP(config *rest.Config) (bool, error)
- func SetPullSecret(clientset *kubernetes.Clientset, serviceAccount string, namespace string)
- func WaitForDeploymentReady(clientset *kubernetes.Clientset, timeout time.Duration, namespace string, ...)
- func WaitForObjectDeleted(name string, apiCall func() (interface{}, error))
- func WaitForOperatorDeploymentReady(clientset *kubernetes.Clientset, namespace string, ...)
- func WaitForOperatorDeploymentRemoved(clientset *kubernetes.Clientset, namespace string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNamespace ¶
func CreateNamespace(clientset *kubernetes.Clientset, namespace string) error
func CreateTestNamespace ¶
func CreateTestNamespace(clientset *kubernetes.Clientset, namespace string)
CreateTestNamespace creates one namespace with the given name
func DeleteTestNamespace ¶
func DeleteTestNamespace(clientset *kubernetes.Clientset, namespace string)
DeleteTestNamespace removes one namespace and waits until it's deleted
func SetPullSecret ¶
func SetPullSecret(clientset *kubernetes.Clientset, serviceAccount string, namespace string)
func WaitForDeploymentReady ¶
func WaitForObjectDeleted ¶
func WaitForOperatorDeploymentReady ¶
func WaitForOperatorDeploymentReady(clientset *kubernetes.Clientset, namespace string, operatorDeploymentName string)
func WaitForOperatorDeploymentRemoved ¶
func WaitForOperatorDeploymentRemoved(clientset *kubernetes.Clientset, namespace string, operatorDeploymentName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.