wait

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBucketWaitHandler

func CreateBucketWaitHandler(ctx context.Context, a APIClientBucketInterface, projectId, region, bucketName string) *wait.AsyncActionHandler[objectstorage.GetBucketResponse]

CreateBucketWaitHandler will wait for bucket creation Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead

func DeleteBucketWaitHandler

func DeleteBucketWaitHandler(ctx context.Context, a APIClientBucketInterface, projectId, region, bucketName string) *wait.AsyncActionHandler[struct{}]

DeleteBucketWaitHandler will wait for bucket deletion Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead

Types

type APIClientBucketInterface

type APIClientBucketInterface interface {
	GetBucketExecute(ctx context.Context, projectId string, region, bucketName string) (*objectstorage.GetBucketResponse, error)
}

Interface needed for tests Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL