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

wait

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TOKENSTATE_CREATING = "creating"
	TOKENSTATE_ACTIVE   = "active"
	TOKENSTATE_DELETING = "deleting"
	TOKENSTATE_INACTIVE = "inactive"
)

Variables

This section is empty.

Functions

func CreateModelServingWaitHandler

func CreateModelServingWaitHandler(ctx context.Context, a modelserving.DefaultAPI, region, projectId, tokenId string) *wait.AsyncActionHandler[modelserving.GetTokenResponse]

func DeleteModelServingWaitHandler

func DeleteModelServingWaitHandler(ctx context.Context, a modelserving.DefaultAPI, region, projectId, tokenId string) *wait.AsyncActionHandler[modelserving.GetTokenResponse]

func UpdateModelServingWaitHandler

func UpdateModelServingWaitHandler(ctx context.Context, a modelserving.DefaultAPI, region, projectId, tokenId string) *wait.AsyncActionHandler[modelserving.GetTokenResponse]

UpdateModelServingWaitHandler will wait for the model serving auth token to be updated. Eventually it will have a different implementation, but for now it's the same as the create handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL