Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForDeletion ¶
WaitForDeletion waits for the backup object to be deleted from the API server.
func WaitForReadiness ¶
func WaitForReadiness(ctx context.Context, backup *v1beta3.Backup, timeoutMins time.Duration, c runtimeClient.Client, )
WaitForReadiness waits for the backup object status condition of type "Complete" to indicate true.
Types ¶
type Option ¶
Option represents a functional option for backup objects. To learn what a functional option is, read here: https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis
func MaxRetries ¶
func SetInstanceRef ¶
func SetInstanceRef(dsi runtimeClient.Object) Option
func SetNamespacedName ¶
func SetNamespacedName(dsi runtimeClient.Object) Option
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
func NewS3Client ¶
NewS3Client creates a S3Client by taking the existing backup configuration in the cluster being tested. As the location of this configuration is not a part of the public API this might break.
Click to show internal directories.
Click to hide internal directories.