Documentation
¶
Index ¶
- Constants
- func CompleteCredentialsRotationWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.Cluster]
- func CreateOrUpdateClusterWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.Cluster]
- func DeleteClusterWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.ListClustersResponse]
- func RotateCredentialsWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.Cluster]
- func StartCredentialsRotationWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.Cluster]
- func TriggerClusterHibernationWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.Cluster]
- func TriggerClusterMaintenanceWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.Cluster]
- func TriggerClusterReconciliationWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.Cluster]
- func TriggerClusterWakeupWaitHandler(ctx context.Context, a APIClientClusterInterface, ...) *wait.AsyncActionHandler[ske.Cluster]
- type APIClientClusterInterface
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
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
func DeleteClusterWaitHandler ¶
func DeleteClusterWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, name string) *wait.AsyncActionHandler[ske.ListClustersResponse]
DeleteClusterWaitHandler will wait for cluster deletion
func RotateCredentialsWaitHandler ¶
func RotateCredentialsWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]
RotateCredentialsWaitHandler will wait for credentials rotation
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
func TriggerClusterHibernationWaitHandler ¶ added in v1.3.0
func TriggerClusterHibernationWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]
func TriggerClusterMaintenanceWaitHandler ¶ added in v1.3.0
func TriggerClusterMaintenanceWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]
func TriggerClusterReconciliationWaitHandler ¶ added in v1.3.0
func TriggerClusterReconciliationWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]
func TriggerClusterWakeupWaitHandler ¶ added in v1.3.0
func TriggerClusterWakeupWaitHandler(ctx context.Context, a APIClientClusterInterface, projectId, region, clusterName string) *wait.AsyncActionHandler[ske.Cluster]
Types ¶
Click to show internal directories.
Click to hide internal directories.