wait

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Deprecated: ServiceStateEnabled is deprecated and will be removed after 14th November 2025. Use [serviceenablement.SERVICESTATUSSTATE_ENABLED] instead.
	ServiceStateEnabled = "ENABLED"
	// Deprecated: ServiceStateEnabling is deprecated and will be removed after 14th November 2025. Use [serviceenablement.SERVICESTATUSSTATE_ENABLING] instead.
	ServiceStateEnabling = "ENABLING"
	// Deprecated: ServiceStateDisabled is deprecated and will be removed after 14th November 2025. Use [serviceenablement.SERVICESTATUSSTATE_DISABLED] instead.
	ServiceStateDisabled = "DISABLED"
	// Deprecated: ServiceStateDisabling is deprecated and will be removed after 14th November 2025. Use [serviceenablement.SERVICESTATUSSTATE_DISABLING] instead.
	ServiceStateDisabling = "DISABLING"
)

Variables

This section is empty.

Functions

func DisableServiceWaitHandler

func DisableServiceWaitHandler(ctx context.Context, a APIClientInstanceInterface, region, projectId, serviceId string) *wait.AsyncActionHandler[serviceenablement.ServiceStatus]

func EnableServiceWaitHandler

func EnableServiceWaitHandler(ctx context.Context, a APIClientInstanceInterface, region, projectId, serviceId string) *wait.AsyncActionHandler[serviceenablement.ServiceStatus]

Types

type APIClientInstanceInterface

type APIClientInstanceInterface interface {
	GetServiceStatusRegionalExecute(ctx context.Context, region, projectId, serviceId string) (*serviceenablement.ServiceStatus, error)
}

Interface needed for tests

Jump to

Keyboard shortcuts

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