Documentation ¶
Index ¶
- Variables
- func CheckConfigMapUpdated(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func CheckExternalAccesss(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func CheckServiceExists(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func CheckStsExists(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func CreateBKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*bkapi.BookkeeperCluster, error)
- func CreatePravegaCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*api.PravegaCluster, error)
- func CreatePravegaClusterForExternalAccess(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*api.PravegaCluster, error)
- func CreatePravegaClusterWithTls(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*api.PravegaCluster, error)
- func CreatePravegaClusterWithTlsAuth(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*api.PravegaCluster, error)
- func CreateZKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*zkapi.ZookeeperCluster, error)
- func DeleteBKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func DeletePods(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func DeletePravegaCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func DeleteZKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func GetBKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*bkapi.BookkeeperCluster, error)
- func GetDeployment(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*appsv1.Deployment, error)
- func GetPravegaCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*api.PravegaCluster, error)
- func GetSts(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, stsName string) (*appsv1.StatefulSet, error)
- func GetZKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) (*zkapi.ZookeeperCluster, error)
- func InitialSetup(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, namespace string) error
- func NewClusterWithVersion(namespace, version string) *api.PravegaCluster
- func NewDefaultCluster(namespace string) *api.PravegaCluster
- func NewTestWriteReadJob(namespace string, controllerUri string) *batchv1.Job
- func NewTier2(namespace string) *corev1.PersistentVolumeClaim
- func RestartTier2(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, namespace string) error
- func UpdatePravegaCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func UpdatePravegaClusterRollback(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForBKClusterToTerminate(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForBookkeeperClusterToBecomeReady(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForCMPravegaClusterToUpgrade(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForPravegaClusterToBecomeReady(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForPravegaClusterToFailUpgrade(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForPravegaClusterToRollback(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForPravegaClusterToTerminate(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForPravegaClusterToUpgrade(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForZKClusterToTerminate(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WaitForZookeeperClusterToBecomeReady(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
- func WriteAndReadData(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, ...) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CheckConfigMapUpdated ¶ added in v0.5.3
func CheckExternalAccesss ¶ added in v0.5.3
func CheckExternalAccesss(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, pravega *api.PravegaCluster) error
CheckExternalAccesss Checks if External Access is enabled or not
func CheckServiceExists ¶ added in v0.5.3
func CheckStsExists ¶ added in v0.5.3
func CreateBKCluster ¶ added in v0.5.2
func CreateBKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, b *bkapi.BookkeeperCluster) (*bkapi.BookkeeperCluster, error)
CreateBKCluster creates a BookkeeperCluster CR with the desired spec
func CreatePravegaCluster ¶ added in v0.5.2
func CreatePravegaCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) (*api.PravegaCluster, error)
CreatePravegaCluster creates a PravegaCluster CR with the desired spec
func CreatePravegaClusterForExternalAccess ¶ added in v0.5.3
func CreatePravegaClusterForExternalAccess(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) (*api.PravegaCluster, error)
CreatePravegaClusterForExternalAccess creates a PravegaCluster CR with the desired spec for ExternalAccess
func CreatePravegaClusterWithTls ¶ added in v0.5.3
func CreatePravegaClusterWithTls(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) (*api.PravegaCluster, error)
CreatePravegaClusterWithTls creates a PravegaCluster CR with the desired spec for tls
func CreatePravegaClusterWithTlsAuth ¶ added in v0.5.3
func CreatePravegaClusterWithTlsAuth(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) (*api.PravegaCluster, error)
CreatePravegaClusterWithTlsAuth creates a PravegaCluster CR with the desired spec for both Auth and Tls
func CreateZKCluster ¶ added in v0.5.2
func CreateZKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *zkapi.ZookeeperCluster) (*zkapi.ZookeeperCluster, error)
CreateZKCluster creates a ZookeeperCluster CR with the desired spec
func DeleteBKCluster ¶ added in v0.5.2
func DeleteBKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, b *bkapi.BookkeeperCluster) error
DeleteBKCluster deletes the BookkeeperCluster CR specified by cluster spec
func DeletePods ¶ added in v0.5.3
func DeletePravegaCluster ¶ added in v0.5.2
func DeletePravegaCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) error
DeletePravegaCluster deletes the PravegaCluster CR specified by cluster spec
func DeleteZKCluster ¶ added in v0.5.2
func DeleteZKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *zkapi.ZookeeperCluster) error
DeleteZKCluster deletes the ZookeeperCluster CR specified by cluster spec
func GetBKCluster ¶ added in v0.5.2
func GetBKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, b *bkapi.BookkeeperCluster) (*bkapi.BookkeeperCluster, error)
GetBKCluster returns the latest BookkeeperCluster CR
func GetDeployment ¶ added in v0.5.4
func GetDeployment(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, deployName string) (*appsv1.Deployment, error)
GetDeployment returns the deployment
func GetPravegaCluster ¶ added in v0.5.2
func GetPravegaCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) (*api.PravegaCluster, error)
GetPravegaCluster returns the latest PravegaCluster CR
func GetSts ¶ added in v0.5.4
func GetSts(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, stsName string) (*appsv1.StatefulSet, error)
GetSts returns the sts
func GetZKCluster ¶ added in v0.5.2
func GetZKCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *zkapi.ZookeeperCluster) (*zkapi.ZookeeperCluster, error)
GetZKCluster returns the latest ZookeeperCluster CR
func InitialSetup ¶ added in v0.5.2
func NewClusterWithVersion ¶
func NewClusterWithVersion(namespace, version string) *api.PravegaCluster
func NewDefaultCluster ¶
func NewDefaultCluster(namespace string) *api.PravegaCluster
NewDefaultCluster returns a cluster with an empty spec, which will be filled with default values
func NewTestWriteReadJob ¶
NewTestWriteReadJob returns a Job that can test pravega cluster by running a sample
func NewTier2 ¶
func NewTier2(namespace string) *corev1.PersistentVolumeClaim
func RestartTier2 ¶
func UpdatePravegaCluster ¶ added in v0.5.2
func UpdatePravegaCluster(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) error
UpdatePravegaCluster updates the PravegaCluster CR
func UpdatePravegaClusterRollback ¶ added in v0.5.3
func UpdatePravegaClusterRollback(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) error
UpdatePravegaClusterRollback updates the PravegaCluster CR for Rollback
func WaitForBKClusterToTerminate ¶ added in v0.5.2
func WaitForBKClusterToTerminate(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, b *bkapi.BookkeeperCluster) error
WaitForBKClusterToTerminate will wait until all Bookkeeper cluster pods are terminated
func WaitForBookkeeperClusterToBecomeReady ¶ added in v0.5.2
func WaitForBookkeeperClusterToBecomeReady(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, b *bkapi.BookkeeperCluster, size int) error
WaitForBooClusterToBecomeReady will wait until all Bookkeeper cluster pods are ready
func WaitForCMPravegaClusterToUpgrade ¶ added in v0.5.2
func WaitForPravegaClusterToBecomeReady ¶ added in v0.5.2
func WaitForPravegaClusterToBecomeReady(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster, size int) error
WaitForPravegaClusterToBecomeReady will wait until all cluster pods are ready
func WaitForPravegaClusterToFailUpgrade ¶ added in v0.5.3
func WaitForPravegaClusterToFailUpgrade(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster, targetVersion string) error
WaitForPravegaClusterToFailUpgrade will wait till Upgrade Fails
func WaitForPravegaClusterToRollback ¶ added in v0.5.3
func WaitForPravegaClusterToRollback(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster, targetVersion string) error
WaitForPravegaClusterToRollback will wait until all pods have completed Rollback
func WaitForPravegaClusterToTerminate ¶ added in v0.5.2
func WaitForPravegaClusterToTerminate(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster) error
WaitForPravegaClusterToTerminate will wait until all cluster pods are terminated
func WaitForPravegaClusterToUpgrade ¶ added in v0.5.2
func WaitForPravegaClusterToUpgrade(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, p *api.PravegaCluster, targetVersion string) error
WaitForPravegaClusterToUpgrade will wait until all pods are upgraded
func WaitForZKClusterToTerminate ¶ added in v0.5.2
func WaitForZKClusterToTerminate(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, z *zkapi.ZookeeperCluster) error
WaitForZKClusterToTerminate will wait until all zookeeper cluster pods are terminated
Types ¶
This section is empty.