wait

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Deprecated: ActiveState is deprecated and will be removed after 14th November 2025. Use [resourcemanager.LIFECYCLESTATE_ACTIVE] instead.
	ActiveState = resourcemanager.LifecycleState("ACTIVE")
	// Deprecated: CreatingState is deprecated and will be removed after 14th November 2025. Use [resourcemanager.LIFECYCLESTATE_CREATING] instead.
	CreatingState = resourcemanager.LifecycleState("CREATING")
)

Variables

This section is empty.

Functions

func CreateProjectWaitHandler

func CreateProjectWaitHandler(ctx context.Context, a APIClientInterface, containerId string) *wait.AsyncActionHandler[resourcemanager.GetProjectResponse]

CreateProjectWaitHandler will wait for project creation

func DeleteProjectWaitHandler

func DeleteProjectWaitHandler(ctx context.Context, a APIClientInterface, containerId string) *wait.AsyncActionHandler[struct{}]

DeleteProjectWaitHandler will wait for project deletion

Types

type APIClientInterface

type APIClientInterface interface {
	GetProjectExecute(ctx context.Context, containerId string) (*resourcemanager.GetProjectResponse, error)
}

Interfaces needed for tests

Jump to

Keyboard shortcuts

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