wait

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 1

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: StateHealthy is deprecated and will be removed after 14th November 2025. Use [ske.CLUSTERSTATUSSTATE_HEALTHY] instead.
	StateHealthy = "STATE_HEALTHY"
	// Deprecated: StateHibernated is deprecated and will be removed after 14th November 2025. Use [ske.CLUSTERSTATUSSTATE_HIBERNATED] instead.
	StateHibernated = "STATE_HIBERNATED"
	StateFailed     = "STATE_FAILED"
	// Deprecated: StateDeleting is deprecated and will be removed after 14th November 2025. Use [ske.CLUSTERSTATUSSTATE_DELETING] instead.
	StateDeleting = "STATE_DELETING"
	// Deprecated: StateCreated is deprecated and will be removed after 14th November 2025.
	StateCreated = "STATE_CREATED"
	// Deprecated: StateUnhealthy is deprecated and will be removed after 14th November 2025. Use [ske.CLUSTERSTATUSSTATE_UNHEALTHY] instead.
	StateUnhealthy = "STATE_UNHEALTHY"
	// Deprecated: StateReconciling is deprecated and will be removed after 14th November 2025. Use [ske.CLUSTERSTATUSSTATE_RECONCILING] instead.
	StateReconciling = "STATE_RECONCILING"
	// Deprecated: CredentialsRotationStatePreparing is deprecated and will be removed after 14th November 2025. Use [ske.CREDENTIALSROTATIONSTATEPHASE_PREPARING] instead.
	CredentialsRotationStatePreparing = "PREPARING"
	// Deprecated: CredentialsRotationStatePrepared is deprecated and will be removed after 14th November 2025. Use [ske.CREDENTIALSROTATIONSTATEPHASE_PREPARED] instead.
	CredentialsRotationStatePrepared = "PREPARED"
	// Deprecated: CredentialsRotationStateCompleting is deprecated and will be removed after 14th November 2025. Use [ske.CREDENTIALSROTATIONSTATEPHASE_COMPLETING] instead.
	CredentialsRotationStateCompleting = "COMPLETING"
	// Deprecated: CredentialsRotationStateCompleted is deprecated and will be removed after 14th November 2025. Use [ske.CREDENTIALSROTATIONSTATEPHASE_COMPLETED] instead.
	CredentialsRotationStateCompleted = "COMPLETED"
	// Deprecated: InvalidArgusInstanceErrorCode is deprecated and will be removed after 14th November 2025. Use [ske.RUNTIMEERRORCODE_OBSERVABILITY_INSTANCE_NOT_FOUND] instead.
	InvalidArgusInstanceErrorCode = "SKE_ARGUS_INSTANCE_NOT_FOUND"
)

Variables

This section is empty.

Functions

func CompleteCredentialsRotationWaitHandler added in v0.11.0

func CompleteCredentialsRotationWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]

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

func CreateOrUpdateClusterWaitHandler

func CreateOrUpdateClusterWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, name string) *wait.AsyncActionHandler[ske.Cluster]

CreateOrUpdateClusterWaitHandler will wait for cluster creation or update Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead

func DeleteClusterWaitHandler

func DeleteClusterWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, name string) *wait.AsyncActionHandler[ske.ListClustersResponse]

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

func RotateCredentialsWaitHandler

func RotateCredentialsWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]

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

func StartCredentialsRotationWaitHandler added in v0.11.0

func StartCredentialsRotationWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]

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

func TriggerClusterHibernationWaitHandler deprecated added in v1.3.0

func TriggerClusterHibernationWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]

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

func TriggerClusterMaintenanceWaitHandler deprecated added in v1.3.0

func TriggerClusterMaintenanceWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]

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

func TriggerClusterReconciliationWaitHandler deprecated added in v1.3.0

func TriggerClusterReconciliationWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]

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

func TriggerClusterWakeupWaitHandler deprecated added in v1.3.0

func TriggerClusterWakeupWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]

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

Types

type APIClientClusterInterface deprecated

type APIClientClusterInterface interface {
	GetClusterExecute(ctx context.Context, projectId, region, name string) (*ske.Cluster, error)
	ListClustersExecute(ctx context.Context, projectId, region string) (*ske.ListClustersResponse, error)
}

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