Documentation
¶
Index ¶
- Variables
- func ExecPod(t *testing.T, f *framework.Framework, namespace string, pod *corev1.Pod, ...) (string, string, error)
- func ExecPodFromName(t *testing.T, f *framework.Framework, namespace string, podName string, ...) (string, string, error)
- func HelperInitCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) *api.CassandraCluster
- func HelperInitOperator(t *testing.T) (*framework.TestCtx, *framework.Framework)
- func WaitForStatefulset(t *testing.T, kubeclient kubernetes.Interface, namespace, name string, ...) error
- func WaitForStatusDone(t *testing.T, f *framework.Framework, namespace, name string, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RetryInterval = time.Second * 10
Timeout = time.Second * 300
CleanupRetryInterval = time.Second * 5
CleanupTimeout = time.Second * 20
)
Functions ¶
func ExecPod ¶
func ExecPod(t *testing.T, f *framework.Framework, namespace string, pod *corev1.Pod, cmd []string) (string, string,
error)
func ExecPodFromName ¶
func ExecPodFromName(t *testing.T, f *framework.Framework, namespace string, podName string, cmd string) (string,
string,
error)
func HelperInitCluster ¶
func HelperInitCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, name, namespace string) *api.CassandraCluster
HelperInitCluster goal is to create objects from the testdata/file.yaml pointed by name. for now we can create Secret or CassandraCluster, we may add more objects in futur if needed
func HelperInitOperator ¶
func HelperInitOperator(t *testing.T) (*framework.TestCtx, *framework.Framework)
func WaitForStatefulset ¶
func WaitForStatefulset(t *testing.T, kubeclient kubernetes.Interface, namespace, name string, replicas int,
retryInterval, timeout time.Duration) error
func WaitForStatusDone ¶
func WaitForStatusDone(t *testing.T, f *framework.Framework, namespace, name string,
retryInterval, timeout time.Duration) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.