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

wait

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 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: CreateSuccess is deprecated and will be removed after 14th November 2025. Use [dns.ZONESTATE_CREATE_SUCCEEDED] or [dns.RECORDSETSTATE_CREATE_SUCCEEDED] instead.
	CreateSuccess = "CREATE_SUCCEEDED"
	// Deprecated: CreateFail is deprecated and will be removed after 14th November 2025. Use [dns.ZONESTATE_CREATE_FAILED] or [dns.RECORDSETSTATE_CREATE_FAILED] instead.
	CreateFail = "CREATE_FAILED"
	// Deprecated: UpdateSuccess is deprecated and will be removed after 14th November 2025. Use [dns.ZONESTATE_UPDATE_SUCCEEDED] or [dns.RECORDSETSTATE_UPDATE_SUCCEEDED] instead.
	UpdateSuccess = "UPDATE_SUCCEEDED"
	// Deprecated: UpdateSuccess is deprecated and will be removed after 14th November 2025. Use [dns.ZONESTATE_UPDATE_FAILED] or [dns.RECORDSETSTATE_UPDATE_FAILED] instead.
	UpdateFail = "UPDATE_FAILED"
	// Deprecated: UpdateSuccess is deprecated and will be removed after 14th November 2025. Use [dns.ZONESTATE_DELETE_SUCCEEDED] or [dns.RECORDSETSTATE_DELETE_SUCCEEDED] instead.
	DeleteSuccess = "DELETE_SUCCEEDED"
	// Deprecated: UpdateSuccess is deprecated and will be removed after 14th November 2025. Use [dns.ZONESTATE_DELETE_FAILED] or [dns.RECORDSETSTATE_DELETE_FAILED] instead.
	DeleteFail = "DELETE_FAILED"
)

Variables

This section is empty.

Functions

func CreateRecordSetWaitHandler deprecated

func CreateRecordSetWaitHandler(ctx context.Context, a APIClientInterface, projectId, instanceId, rrSetId string) *wait.AsyncActionHandler[dns.RecordSetResponse]

CreateRecordWaitHandler will wait for recordset creation

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

func CreateZoneWaitHandler deprecated

func CreateZoneWaitHandler(ctx context.Context, a APIClientInterface, projectId, instanceId string) *wait.AsyncActionHandler[dns.ZoneResponse]

CreateZoneWaitHandler will wait for zone creation

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

func DeleteRecordSetWaitHandler deprecated

func DeleteRecordSetWaitHandler(ctx context.Context, a APIClientInterface, projectId, instanceId, rrSetId string) *wait.AsyncActionHandler[dns.RecordSetResponse]

DeleteRecordWaitHandler will wait for deletion returned interface is nil or *RecordSetResponse

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

func DeleteZoneWaitHandler deprecated

func DeleteZoneWaitHandler(ctx context.Context, a APIClientInterface, projectId, instanceId string) *wait.AsyncActionHandler[dns.ZoneResponse]

DeleteZoneWaitHandler will wait for zone deletion returned interface is nil or *ZoneResponseZone

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

func PartialUpdateRecordSetWaitHandler deprecated

func PartialUpdateRecordSetWaitHandler(ctx context.Context, a APIClientInterface, projectId, instanceId, rrSetId string) *wait.AsyncActionHandler[dns.RecordSetResponse]

UpdateRecordWaitHandler will wait for recordset update

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

func PartialUpdateZoneWaitHandler deprecated

func PartialUpdateZoneWaitHandler(ctx context.Context, a APIClientInterface, projectId, instanceId string) *wait.AsyncActionHandler[dns.ZoneResponse]

PartialUpdateZoneWaitHandler will wait for zone update

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

Types

type APIClientInterface deprecated

type APIClientInterface interface {
	GetZoneExecute(ctx context.Context, projectId, zoneId string) (*dns.ZoneResponse, error)
	GetRecordSetExecute(ctx context.Context, projectId, zoneId, rrSetId string) (*dns.RecordSetResponse, error)
}

Interfaces 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