Documentation ¶
Index ¶
- Variables
- func CreateCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*api.ZookeeperCluster, error)
- func DeleteCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func DeletePods(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func GetCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*api.ZookeeperCluster, error)
- func NewClusterWithEmptyDir(namespace string) *api.ZookeeperCluster
- func NewClusterWithVersion(namespace, version string) *api.ZookeeperCluster
- func NewDefaultCluster(namespace string) *api.ZookeeperCluster
- func UpdateCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForClusterToBecomeReady(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForClusterToTerminate(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForClusterToUpgrade(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CreateCluster ¶
func CreateCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *api.ZookeeperCluster) (*api.ZookeeperCluster, error)
CreateCluster creates a ZookeeperCluster CR with the desired spec
func DeleteCluster ¶
func DeleteCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *api.ZookeeperCluster) error
DeleteCluster deletes the ZookeeperCluster CR specified by cluster spec
func DeletePods ¶
func GetCluster ¶
func GetCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *api.ZookeeperCluster) (*api.ZookeeperCluster, error)
GetCluster returns the latest ZookeeperCluster CR
func NewClusterWithEmptyDir ¶ added in v0.2.9
func NewClusterWithEmptyDir(namespace string) *api.ZookeeperCluster
func NewClusterWithVersion ¶
func NewClusterWithVersion(namespace, version string) *api.ZookeeperCluster
func NewDefaultCluster ¶
func NewDefaultCluster(namespace string) *api.ZookeeperCluster
NewDefaultCluster returns a cluster with an empty spec, which will be filled with default values
func UpdateCluster ¶
func UpdateCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *api.ZookeeperCluster) error
UpdateCluster updates the ZookeeperCluster CR
func WaitForClusterToBecomeReady ¶
func WaitForClusterToBecomeReady(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *api.ZookeeperCluster, size int) error
WaitForClusterToBecomeReady will wait until all cluster pods are ready
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.