Documentation
¶
Index ¶
- Constants
- func CreateProjectWaitHandler(ctx context.Context, a APIClientInterface, containerId string) *wait.AsyncActionHandler[resourcemanager.GetProjectResponse]
- func DeleteProjectWaitHandler(ctx context.Context, a APIClientInterface, containerId string) *wait.AsyncActionHandler[struct{}]
- type APIClientInterface
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
Click to show internal directories.
Click to hide internal directories.