Documentation
¶
Index ¶
- Constants
- func CreateModelServingWaitHandler(ctx context.Context, a modelserving.DefaultAPI, ...) *wait.AsyncActionHandler[modelserving.GetTokenResponse]
- func DeleteModelServingWaitHandler(ctx context.Context, a modelserving.DefaultAPI, ...) *wait.AsyncActionHandler[modelserving.GetTokenResponse]
- func UpdateModelServingWaitHandler(ctx context.Context, a modelserving.DefaultAPI, ...) *wait.AsyncActionHandler[modelserving.GetTokenResponse]
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.
Click to show internal directories.
Click to hide internal directories.