Help us shape the future of Go! Take the 2026 Go Developer Survey

wait

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 5 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

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 deprecated

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

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

func EnableServiceWaitHandler deprecated

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

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

Types

type APIClientInstanceInterface deprecated

type APIClientInstanceInterface interface {
	GetServiceStatusRegionalExecute(ctx context.Context, region, projectId, serviceId string) (*serviceenablement.ServiceStatus, 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