Documentation
¶
Index ¶
- Constants
- Variables
- func CreateOrUpdateInstanceByNameWaitHandler(ctx context.Context, a edge.DefaultAPI, ...) *wait.AsyncActionHandler[edge.Instance]
- func CreateOrUpdateInstanceWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string) *wait.AsyncActionHandler[edge.Instance]
- func DeleteInstanceByNameWaitHandler(ctx context.Context, a edge.DefaultAPI, ...) *wait.AsyncActionHandler[edge.Instance]
- func DeleteInstanceWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string) *wait.AsyncActionHandler[edge.Instance]
- func KubeconfigByInstanceNameWaitHandler(ctx context.Context, a edge.DefaultAPI, ...) *wait.AsyncActionHandler[edge.Kubeconfig]
- func KubeconfigWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string, ...) *wait.AsyncActionHandler[edge.Kubeconfig]
- func TokenByInstanceNameWaitHandler(ctx context.Context, a edge.DefaultAPI, ...) *wait.AsyncActionHandler[edge.Token]
- func TokenWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string, ...) *wait.AsyncActionHandler[edge.Token]
Constants ¶
const ( INSTANCESTATUS_ERROR = "error" INSTANCESTATUS_RECONCILING = "reconciling" INSTANCESTATUS_ACTIVE = "active" INSTANCESTATUS_DELETING = "deleting" )
Variables ¶
Functions ¶
func CreateOrUpdateInstanceByNameWaitHandler ¶
func CreateOrUpdateInstanceByNameWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, displayName string) *wait.AsyncActionHandler[edge.Instance]
CreateOrUpdateInstanceByNameWaitHandler waits for instance creation or update by name to complete.
func CreateOrUpdateInstanceWaitHandler ¶
func CreateOrUpdateInstanceWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string) *wait.AsyncActionHandler[edge.Instance]
CreateOrUpdateInstanceWaitHandler waits for instance creation or update by ID to complete.
func DeleteInstanceByNameWaitHandler ¶
func DeleteInstanceByNameWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, displayName string) *wait.AsyncActionHandler[edge.Instance]
DeleteInstanceByNameWaitHandler waits for instance deletion by name.
func DeleteInstanceWaitHandler ¶
func DeleteInstanceWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string) *wait.AsyncActionHandler[edge.Instance]
DeleteInstanceWaitHandler waits for instance deletion by ID.
func KubeconfigByInstanceNameWaitHandler ¶
func KubeconfigByInstanceNameWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, displayName string, expirationSeconds *int64) *wait.AsyncActionHandler[edge.Kubeconfig]
KubeconfigByInstanceNameWaitHandler waits the instance to become ready before retrieving the kubeconfig by instance displayName.
func KubeconfigWaitHandler ¶
func KubeconfigWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string, expirationSeconds *int64) *wait.AsyncActionHandler[edge.Kubeconfig]
KubeconfigWaitHandler waits the instance to become ready before retrieving the kubeconfig by instance ID.
func TokenByInstanceNameWaitHandler ¶
func TokenByInstanceNameWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, displayName string, expirationSeconds *int64) *wait.AsyncActionHandler[edge.Token]
TokenByInstanceNameWaitHandler waits for the instance to become ready before retrieving the service token by instance displayName.
func TokenWaitHandler ¶
func TokenWaitHandler(ctx context.Context, a edge.DefaultAPI, projectId, regionId, instanceId string, expirationSeconds *int64) *wait.AsyncActionHandler[edge.Token]
TokenWaitHandler waits for the instance to become ready before retrieving the service token by instance ID.
Types ¶
This section is empty.