Documentation ¶
Index ¶
- Variables
- func CreateNamespace(name string) error
- func DeleteAllBackupsBlocking(namespace string, retryInterval, timeout time.Duration) error
- func DeleteNamespace(name string) error
- func DeleteStatefulSet(namespace, name string) error
- func Init()
- func KustomizeAndApply(namespace, testDir string)
- func NewMedusaClient() (*medusa.Client, error)
- func NewUserServiceClient() (*user.ServiceClient, error)
- func WaitForAllBackupsToBeDeleted(namespace string, retryInterval, timeout time.Duration) error
- func WaitForBackupToFinish(nsName types.NamespacedName, predicate BackupPredicate, ...) error
- func WaitForStatefulSetReady(nsName types.NamespacedName, retryInterval, timeout time.Duration) error
- func WithDateSuffix(s string) string
- type BackupPredicate
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Client client.Client
)
Functions ¶
func CreateNamespace ¶
func DeleteNamespace ¶
func DeleteStatefulSet ¶
func KustomizeAndApply ¶
func KustomizeAndApply(namespace, testDir string)
func NewMedusaClient ¶
func NewUserServiceClient ¶
func NewUserServiceClient() (*user.ServiceClient, error)
func WaitForBackupToFinish ¶
func WaitForBackupToFinish(nsName types.NamespacedName, predicate BackupPredicate, retryInterval, timeout time.Duration) error
func WaitForStatefulSetReady ¶
func WaitForStatefulSetReady(nsName types.NamespacedName, retryInterval, timeout time.Duration) error
func WithDateSuffix ¶
Returns s with a date suffix of -yyMMddHHmmss
Types ¶
type BackupPredicate ¶
type BackupPredicate func(backup *api.CassandraBackup) (bool, error)
func NumberOfNodesFinished ¶
func NumberOfNodesFinished(num int) BackupPredicate
Click to show internal directories.
Click to hide internal directories.