Documentation ¶
Index ¶
Constants ¶
View Source
const ( GetURL = "/batch/service/:id" ListURL = "/batch/service" PostURL = "/batch/service" PutURL = "/batch/service" DeleteURL = "/batch/service/:id" )
Variables ¶
This section is empty.
Functions ¶
func SetupRoutes ¶
Types ¶
type Service ¶
type Service interface { Create(ctx context.Context, bis *batch.InferenceService) (err error) Update(ctx context.Context, id string, bis *batch.InferenceService) (err error) Delete(ctx context.Context, id string) (err error) Get(ctx context.Context, id string) (res batch.InferenceService, err error) List(ctx context.Context, options ...filter.ListOption) (res []batch.InferenceService, err error) }
Click to show internal directories.
Click to hide internal directories.