Documentation
¶
Index ¶
- func CreateModelServingWaitHandler(ctx context.Context, a APIClientInterface, region, projectId, tokenId string) *wait.AsyncActionHandler[modelserving.GetTokenResponse]
- func DeleteModelServingWaitHandler(ctx context.Context, a APIClientInterface, region, projectId, tokenId string) *wait.AsyncActionHandler[modelserving.GetTokenResponse]
- func UpdateModelServingWaitHandler(ctx context.Context, a APIClientInterface, region, projectId, tokenId string) *wait.AsyncActionHandler[modelserving.GetTokenResponse]
- type APIClientInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateModelServingWaitHandler ¶
func CreateModelServingWaitHandler(ctx context.Context, a APIClientInterface, region, projectId, tokenId string) *wait.AsyncActionHandler[modelserving.GetTokenResponse]
func DeleteModelServingWaitHandler ¶
func DeleteModelServingWaitHandler(ctx context.Context, a APIClientInterface, region, projectId, tokenId string) *wait.AsyncActionHandler[modelserving.GetTokenResponse]
func UpdateModelServingWaitHandler ¶
func UpdateModelServingWaitHandler(ctx context.Context, a APIClientInterface, 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 ¶
type APIClientInterface ¶
type APIClientInterface interface {
GetTokenExecute(ctx context.Context, region, projectId, tokenId string) (*modelserving.GetTokenResponse, error)
}
Click to show internal directories.
Click to hide internal directories.