Documentation ¶
Index ¶
- func CreateBucketWaitHandler(ctx context.Context, a APIClientBucketInterface, projectId, bucketName string) *wait.AsyncActionHandler[objectstorage.GetBucketResponse]
- func DeleteBucketWaitHandler(ctx context.Context, a APIClientBucketInterface, projectId, bucketName string) *wait.AsyncActionHandler[struct{}]
- type APIClientBucketInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBucketWaitHandler ¶
func CreateBucketWaitHandler(ctx context.Context, a APIClientBucketInterface, projectId, bucketName string) *wait.AsyncActionHandler[objectstorage.GetBucketResponse]
CreateBucketWaitHandler will wait for bucket creation
func DeleteBucketWaitHandler ¶
func DeleteBucketWaitHandler(ctx context.Context, a APIClientBucketInterface, projectId, bucketName string) *wait.AsyncActionHandler[struct{}]
DeleteBucketWaitHandler will wait for bucket deletion
Types ¶
type APIClientBucketInterface ¶
type APIClientBucketInterface interface {
GetBucketExecute(ctx context.Context, projectId string, bucketName string) (*objectstorage.GetBucketResponse, error)
}
Interface needed for tests
Click to show internal directories.
Click to hide internal directories.