Documentation
¶
Index ¶
- Variables
- func AssertArtifactConstraints(obj model.Artifact) error
- func AssertArtifactCreateConstraints(obj model.ArtifactCreate) error
- func AssertArtifactCreateRequired(obj model.ArtifactCreate) error
- func AssertArtifactListConstraints(obj model.ArtifactList) error
- func AssertArtifactListRequired(obj model.ArtifactList) error
- func AssertArtifactRequired(obj model.Artifact) error
- func AssertArtifactStateConstraints(obj model.ArtifactState) error
- func AssertArtifactStateRequired(obj model.ArtifactState) error
- func AssertArtifactTypeQueryParamConstraints(obj model.ArtifactTypeQueryParam) error
- func AssertArtifactTypeQueryParamRequired(obj model.ArtifactTypeQueryParam) error
- func AssertArtifactUpdateConstraints(obj model.ArtifactUpdate) error
- func AssertArtifactUpdateRequired(obj model.ArtifactUpdate) error
- func AssertBaseArtifactConstraints(obj model.BaseArtifact) error
- func AssertBaseArtifactRequired(obj model.BaseArtifact) error
- func AssertBaseModelConstraints(obj model.BaseModel) error
- func AssertBaseModelRequired(obj model.BaseModel) error
- func AssertBaseResourceConstraints(obj model.BaseResource) error
- func AssertBaseResourceCreateConstraints(obj model.BaseResourceCreate) error
- func AssertBaseResourceCreateRequired(obj model.BaseResourceCreate) error
- func AssertBaseResourceDatesConstraints(obj model.BaseResourceDates) error
- func AssertBaseResourceDatesRequired(obj model.BaseResourceDates) error
- func AssertBaseResourceListConstraints(obj model.BaseResourceList) error
- func AssertBaseResourceListRequired(obj model.BaseResourceList) error
- func AssertBaseResourceRequired(obj model.BaseResource) error
- func AssertBaseResourceUpdateConstraints(obj model.BaseResourceUpdate) error
- func AssertBaseResourceUpdateRequired(obj model.BaseResourceUpdate) error
- func AssertDataSetConstraints(obj model.DataSet) error
- func AssertDataSetCreateConstraints(obj model.DataSetCreate) error
- func AssertDataSetCreateRequired(obj model.DataSetCreate) error
- func AssertDataSetRequired(obj model.DataSet) error
- func AssertDataSetUpdateConstraints(obj model.DataSetUpdate) error
- func AssertDataSetUpdateRequired(obj model.DataSetUpdate) error
- func AssertDocArtifactConstraints(obj model.DocArtifact) error
- func AssertDocArtifactCreateConstraints(obj model.DocArtifactCreate) error
- func AssertDocArtifactCreateRequired(obj model.DocArtifactCreate) error
- func AssertDocArtifactRequired(obj model.DocArtifact) error
- func AssertDocArtifactUpdateConstraints(obj model.DocArtifactUpdate) error
- func AssertDocArtifactUpdateRequired(obj model.DocArtifactUpdate) error
- func AssertErrorConstraints(obj model.Error) error
- func AssertErrorRequired(obj model.Error) error
- func AssertExecutionStateConstraints(obj model.ExecutionState) error
- func AssertExecutionStateRequired(obj model.ExecutionState) error
- func AssertExperimentConstraints(obj model.Experiment) error
- func AssertExperimentCreateConstraints(obj model.ExperimentCreate) error
- func AssertExperimentCreateRequired(obj model.ExperimentCreate) error
- func AssertExperimentListConstraints(obj model.ExperimentList) error
- func AssertExperimentListRequired(obj model.ExperimentList) error
- func AssertExperimentRequired(obj model.Experiment) error
- func AssertExperimentRunConstraints(obj model.ExperimentRun) error
- func AssertExperimentRunCreateConstraints(obj model.ExperimentRunCreate) error
- func AssertExperimentRunCreateRequired(obj model.ExperimentRunCreate) error
- func AssertExperimentRunListConstraints(obj model.ExperimentRunList) error
- func AssertExperimentRunListRequired(obj model.ExperimentRunList) error
- func AssertExperimentRunRequired(obj model.ExperimentRun) error
- func AssertExperimentRunStateConstraints(obj model.ExperimentRunState) error
- func AssertExperimentRunStateRequired(obj model.ExperimentRunState) error
- func AssertExperimentRunStatusConstraints(obj model.ExperimentRunStatus) error
- func AssertExperimentRunStatusRequired(obj model.ExperimentRunStatus) error
- func AssertExperimentRunUpdateConstraints(obj model.ExperimentRunUpdate) error
- func AssertExperimentRunUpdateRequired(obj model.ExperimentRunUpdate) error
- func AssertExperimentStateConstraints(obj model.ExperimentState) error
- func AssertExperimentStateRequired(obj model.ExperimentState) error
- func AssertExperimentUpdateConstraints(obj model.ExperimentUpdate) error
- func AssertExperimentUpdateRequired(obj model.ExperimentUpdate) error
- func AssertInferenceServiceConstraints(obj model.InferenceService) error
- func AssertInferenceServiceCreateConstraints(obj model.InferenceServiceCreate) error
- func AssertInferenceServiceCreateRequired(obj model.InferenceServiceCreate) error
- func AssertInferenceServiceListConstraints(obj model.InferenceServiceList) error
- func AssertInferenceServiceListRequired(obj model.InferenceServiceList) error
- func AssertInferenceServiceRequired(obj model.InferenceService) error
- func AssertInferenceServiceStateConstraints(obj model.InferenceServiceState) error
- func AssertInferenceServiceStateRequired(obj model.InferenceServiceState) error
- func AssertInferenceServiceUpdateConstraints(obj model.InferenceServiceUpdate) error
- func AssertInferenceServiceUpdateRequired(obj model.InferenceServiceUpdate) error
- func AssertMetadataBoolValueConstraints(obj model.MetadataBoolValue) error
- func AssertMetadataBoolValueRequired(obj model.MetadataBoolValue) error
- func AssertMetadataDoubleValueConstraints(obj model.MetadataDoubleValue) error
- func AssertMetadataDoubleValueRequired(obj model.MetadataDoubleValue) error
- func AssertMetadataIntValueConstraints(obj model.MetadataIntValue) error
- func AssertMetadataIntValueRequired(obj model.MetadataIntValue) error
- func AssertMetadataProtoValueConstraints(obj model.MetadataProtoValue) error
- func AssertMetadataProtoValueRequired(obj model.MetadataProtoValue) error
- func AssertMetadataStringValueConstraints(obj model.MetadataStringValue) error
- func AssertMetadataStringValueRequired(obj model.MetadataStringValue) error
- func AssertMetadataStructValueConstraints(obj model.MetadataStructValue) error
- func AssertMetadataStructValueRequired(obj model.MetadataStructValue) error
- func AssertMetadataValueConstraints(obj model.MetadataValue) error
- func AssertMetadataValueRequired(obj model.MetadataValue) error
- func AssertMetricConstraints(obj model.Metric) error
- func AssertMetricCreateConstraints(obj model.MetricCreate) error
- func AssertMetricCreateRequired(obj model.MetricCreate) error
- func AssertMetricListConstraints(obj model.MetricList) error
- func AssertMetricListRequired(obj model.MetricList) error
- func AssertMetricRequired(obj model.Metric) error
- func AssertMetricUpdateConstraints(obj model.MetricUpdate) error
- func AssertMetricUpdateRequired(obj model.MetricUpdate) error
- func AssertModelArtifactConstraints(obj model.ModelArtifact) error
- func AssertModelArtifactCreateConstraints(obj model.ModelArtifactCreate) error
- func AssertModelArtifactCreateRequired(obj model.ModelArtifactCreate) error
- func AssertModelArtifactListConstraints(obj model.ModelArtifactList) error
- func AssertModelArtifactListRequired(obj model.ModelArtifactList) error
- func AssertModelArtifactRequired(obj model.ModelArtifact) error
- func AssertModelArtifactUpdateConstraints(obj model.ModelArtifactUpdate) error
- func AssertModelArtifactUpdateRequired(obj model.ModelArtifactUpdate) error
- func AssertModelVersionConstraints(obj model.ModelVersion) error
- func AssertModelVersionCreateConstraints(obj model.ModelVersionCreate) error
- func AssertModelVersionCreateRequired(obj model.ModelVersionCreate) error
- func AssertModelVersionListConstraints(obj model.ModelVersionList) error
- func AssertModelVersionListRequired(obj model.ModelVersionList) error
- func AssertModelVersionRequired(obj model.ModelVersion) error
- func AssertModelVersionStateConstraints(obj model.ModelVersionState) error
- func AssertModelVersionStateRequired(obj model.ModelVersionState) error
- func AssertModelVersionUpdateConstraints(obj model.ModelVersionUpdate) error
- func AssertModelVersionUpdateRequired(obj model.ModelVersionUpdate) error
- func AssertOrderByFieldConstraints(obj model.OrderByField) error
- func AssertOrderByFieldRequired(obj model.OrderByField) error
- func AssertParameterConstraints(obj model.Parameter) error
- func AssertParameterCreateConstraints(obj model.ParameterCreate) error
- func AssertParameterCreateRequired(obj model.ParameterCreate) error
- func AssertParameterRequired(obj model.Parameter) error
- func AssertParameterTypeConstraints(obj model.ParameterType) error
- func AssertParameterTypeRequired(obj model.ParameterType) error
- func AssertParameterUpdateConstraints(obj model.ParameterUpdate) error
- func AssertParameterUpdateRequired(obj model.ParameterUpdate) error
- func AssertRecurseInterfaceRequired[T any](obj interface{}, callback func(T) error) error
- func AssertRecurseValueRequired[T any](value reflect.Value, callback func(T) error) error
- func AssertRegisteredModelConstraints(obj model.RegisteredModel) error
- func AssertRegisteredModelCreateConstraints(obj model.RegisteredModelCreate) error
- func AssertRegisteredModelCreateRequired(obj model.RegisteredModelCreate) error
- func AssertRegisteredModelListConstraints(obj model.RegisteredModelList) error
- func AssertRegisteredModelListRequired(obj model.RegisteredModelList) error
- func AssertRegisteredModelRequired(obj model.RegisteredModel) error
- func AssertRegisteredModelStateConstraints(obj model.RegisteredModelState) error
- func AssertRegisteredModelStateRequired(obj model.RegisteredModelState) error
- func AssertRegisteredModelUpdateConstraints(obj model.RegisteredModelUpdate) error
- func AssertRegisteredModelUpdateRequired(obj model.RegisteredModelUpdate) error
- func AssertServeModelConstraints(obj model.ServeModel) error
- func AssertServeModelCreateConstraints(obj model.ServeModelCreate) error
- func AssertServeModelCreateRequired(obj model.ServeModelCreate) error
- func AssertServeModelListConstraints(obj model.ServeModelList) error
- func AssertServeModelListRequired(obj model.ServeModelList) error
- func AssertServeModelRequired(obj model.ServeModel) error
- func AssertServeModelUpdateConstraints(obj model.ServeModelUpdate) error
- func AssertServeModelUpdateRequired(obj model.ServeModelUpdate) error
- func AssertServingEnvironmentConstraints(obj model.ServingEnvironment) error
- func AssertServingEnvironmentCreateConstraints(obj model.ServingEnvironmentCreate) error
- func AssertServingEnvironmentCreateRequired(obj model.ServingEnvironmentCreate) error
- func AssertServingEnvironmentListConstraints(obj model.ServingEnvironmentList) error
- func AssertServingEnvironmentListRequired(obj model.ServingEnvironmentList) error
- func AssertServingEnvironmentRequired(obj model.ServingEnvironment) error
- func AssertServingEnvironmentUpdateConstraints(obj model.ServingEnvironmentUpdate) error
- func AssertServingEnvironmentUpdateRequired(obj model.ServingEnvironmentUpdate) error
- func AssertSortOrderConstraints(obj model.SortOrder) error
- func AssertSortOrderRequired(obj model.SortOrder) error
- func DefaultErrorHandler(w http.ResponseWriter, _ *http.Request, err error, result *ImplResponse)
- func EncodeJSONResponse(i interface{}, status *int, w http.ResponseWriter) error
- func IsZeroValue(val interface{}) bool
- func Logger(inner http.Handler) http.Handler
- func NewRouter(routers ...Router) chi.Router
- func ReadFormFileToTempFile(r *http.Request, key string) (*os.File, error)
- func ReadFormFilesToTempFiles(r *http.Request, key string) ([]*os.File, error)
- type Constraint
- type ErrorHandler
- type ImplResponse
- type ModelRegistryServiceAPIController
- func (c *ModelRegistryServiceAPIController) CreateArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateEnvironmentInferenceService(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateExperiment(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateExperimentExperimentRun(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateExperimentRun(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateInferenceService(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateInferenceServiceServe(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateModelArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateModelVersion(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateRegisteredModel(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateRegisteredModelVersion(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) CreateServingEnvironment(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) FindArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) FindExperiment(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) FindExperimentRun(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) FindInferenceService(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) FindModelArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) FindModelVersion(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) FindRegisteredModel(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) FindServingEnvironment(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetArtifacts(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetEnvironmentInferenceServices(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetExperiment(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetExperimentExperimentRuns(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetExperimentRun(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetExperimentRunArtifacts(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetExperimentRunMetricHistory(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetExperimentRuns(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetExperimentRunsMetricHistory(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetExperiments(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetInferenceService(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetInferenceServiceModel(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetInferenceServiceServes(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetInferenceServiceVersion(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetInferenceServices(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetModelArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetModelArtifacts(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetModelVersion(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetModelVersionArtifacts(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetModelVersions(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetRegisteredModel(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetRegisteredModelVersions(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetRegisteredModels(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetServingEnvironment(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) GetServingEnvironments(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) OrderedRoutes() []Route
- func (c *ModelRegistryServiceAPIController) Routes() Routes
- func (c *ModelRegistryServiceAPIController) UpdateArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpdateExperiment(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpdateExperimentRun(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpdateInferenceService(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpdateModelArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpdateModelVersion(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpdateRegisteredModel(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpdateServingEnvironment(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpsertExperimentRunArtifact(w http.ResponseWriter, r *http.Request)
- func (c *ModelRegistryServiceAPIController) UpsertModelVersionArtifact(w http.ResponseWriter, r *http.Request)
- type ModelRegistryServiceAPIOption
- type ModelRegistryServiceAPIRouter
- type ModelRegistryServiceAPIService
- func (s *ModelRegistryServiceAPIService) CreateArtifact(ctx context.Context, artifactCreate model.ArtifactCreate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateEnvironmentInferenceService(ctx context.Context, servingenvironmentId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateExperiment(ctx context.Context, experimentCreate model.ExperimentCreate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateExperimentExperimentRun(ctx context.Context, experimentId string, experimentRun model.ExperimentRun) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateExperimentRun(ctx context.Context, experimentRunCreate model.ExperimentRunCreate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateInferenceService(ctx context.Context, inferenceServiceCreate model.InferenceServiceCreate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateInferenceServiceServe(ctx context.Context, inferenceserviceId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateModelArtifact(ctx context.Context, modelArtifactCreate model.ModelArtifactCreate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateModelVersion(ctx context.Context, modelVersionCreate model.ModelVersionCreate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateRegisteredModel(ctx context.Context, registeredModelCreate model.RegisteredModelCreate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateRegisteredModelVersion(ctx context.Context, registeredmodelId string, modelVersion model.ModelVersion) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) CreateServingEnvironment(ctx context.Context, servingEnvironmentCreate model.ServingEnvironmentCreate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) FindArtifact(ctx context.Context, name string, externalId string, parentResourceId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) FindExperiment(ctx context.Context, name string, externalId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) FindExperimentRun(ctx context.Context, name string, externalId string, parentResourceId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) FindInferenceService(ctx context.Context, name string, externalId string, parentResourceId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) FindModelArtifact(ctx context.Context, name string, externalId string, parentResourceId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) FindModelVersion(ctx context.Context, name string, externalId string, registeredModelId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) FindRegisteredModel(ctx context.Context, name string, externalID string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) FindServingEnvironment(ctx context.Context, name string, externalID string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetArtifact(ctx context.Context, artifactId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetArtifacts(ctx context.Context, filterQuery string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetEnvironmentInferenceServices(ctx context.Context, servingenvironmentId string, filterQuery string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetExperiment(ctx context.Context, experimentId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetExperimentExperimentRuns(ctx context.Context, experimentId string, name string, externalId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetExperimentRun(ctx context.Context, experimentrunId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetExperimentRunArtifacts(ctx context.Context, experimentrunId string, filterQuery string, name string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetExperimentRunMetricHistory(ctx context.Context, experimentrunId string, filterQuery string, name string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetExperimentRuns(ctx context.Context, filterQuery string, pageSize string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetExperimentRunsMetricHistory(ctx context.Context, filterQuery string, name string, stepIds string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetExperiments(ctx context.Context, filterQuery string, pageSize string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetInferenceService(ctx context.Context, inferenceserviceId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetInferenceServiceModel(ctx context.Context, inferenceserviceId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetInferenceServiceServes(ctx context.Context, inferenceserviceId string, filterQuery string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetInferenceServiceVersion(ctx context.Context, inferenceserviceId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetInferenceServices(ctx context.Context, filterQuery string, pageSize string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetModelArtifact(ctx context.Context, modelartifactId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetModelArtifacts(ctx context.Context, filterQuery string, pageSize string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetModelVersion(ctx context.Context, modelversionId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetModelVersionArtifacts(ctx context.Context, modelversionId string, filterQuery string, name string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetModelVersions(ctx context.Context, filterQuery string, pageSize string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetRegisteredModel(ctx context.Context, registeredmodelId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetRegisteredModelVersions(ctx context.Context, registeredmodelId string, name string, externalID string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetRegisteredModels(ctx context.Context, filterQuery string, pageSize string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetServingEnvironment(ctx context.Context, servingenvironmentId string) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) GetServingEnvironments(ctx context.Context, filterQuery string, pageSize string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpdateArtifact(ctx context.Context, artifactId string, artifactUpdate model.ArtifactUpdate) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpdateExperiment(ctx context.Context, experimentId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpdateExperimentRun(ctx context.Context, experimentrunId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpdateInferenceService(ctx context.Context, inferenceserviceId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpdateModelArtifact(ctx context.Context, modelartifactId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpdateModelVersion(ctx context.Context, modelversionId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpdateRegisteredModel(ctx context.Context, registeredmodelId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpdateServingEnvironment(ctx context.Context, servingenvironmentId string, ...) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpsertExperimentRunArtifact(ctx context.Context, experimentrunId string, artifact model.Artifact) (ImplResponse, error)
- func (s *ModelRegistryServiceAPIService) UpsertModelVersionArtifact(ctx context.Context, modelversionId string, artifact model.Artifact) (ImplResponse, error)
- type ModelRegistryServiceAPIServicer
- type Number
- type Operation
- type ParseString
- type ParsingError
- type RequiredError
- type Route
- type Router
- type Routes
Constants ¶
This section is empty.
Variables ¶
var ErrTypeAssertionError = errors.New("unable to assert type")
ErrTypeAssertionError is thrown when type an interface does not match the asserted type
Functions ¶
func AssertArtifactConstraints ¶
AssertArtifactConstraints checks if the values respects the defined constraints
func AssertArtifactCreateConstraints ¶
func AssertArtifactCreateConstraints(obj model.ArtifactCreate) error
AssertArtifactCreateConstraints checks if the values respects the defined constraints
func AssertArtifactCreateRequired ¶
func AssertArtifactCreateRequired(obj model.ArtifactCreate) error
AssertArtifactCreateRequired checks if the required fields are not zero-ed
func AssertArtifactListConstraints ¶
func AssertArtifactListConstraints(obj model.ArtifactList) error
AssertArtifactListConstraints checks if the values respects the defined constraints
func AssertArtifactListRequired ¶
func AssertArtifactListRequired(obj model.ArtifactList) error
AssertArtifactListRequired checks if the required fields are not zero-ed
func AssertArtifactRequired ¶
AssertArtifactRequired checks if the required fields are not zero-ed
func AssertArtifactStateConstraints ¶
func AssertArtifactStateConstraints(obj model.ArtifactState) error
AssertArtifactStateConstraints checks if the values respects the defined constraints
func AssertArtifactStateRequired ¶
func AssertArtifactStateRequired(obj model.ArtifactState) error
AssertArtifactStateRequired checks if the required fields are not zero-ed
func AssertArtifactTypeQueryParamConstraints ¶ added in v0.3.0
func AssertArtifactTypeQueryParamConstraints(obj model.ArtifactTypeQueryParam) error
AssertArtifactTypeQueryParamConstraints checks if the values respects the defined constraints
func AssertArtifactTypeQueryParamRequired ¶ added in v0.3.0
func AssertArtifactTypeQueryParamRequired(obj model.ArtifactTypeQueryParam) error
AssertArtifactTypeQueryParamRequired checks if the required fields are not zero-ed
func AssertArtifactUpdateConstraints ¶
func AssertArtifactUpdateConstraints(obj model.ArtifactUpdate) error
AssertArtifactUpdateConstraints checks if the values respects the defined constraints
func AssertArtifactUpdateRequired ¶
func AssertArtifactUpdateRequired(obj model.ArtifactUpdate) error
AssertArtifactUpdateRequired checks if the required fields are not zero-ed
func AssertBaseArtifactConstraints ¶
func AssertBaseArtifactConstraints(obj model.BaseArtifact) error
AssertBaseArtifactConstraints checks if the values respects the defined constraints
func AssertBaseArtifactRequired ¶
func AssertBaseArtifactRequired(obj model.BaseArtifact) error
AssertBaseArtifactRequired checks if the required fields are not zero-ed
func AssertBaseModelConstraints ¶ added in v0.2.19
AssertBaseModelConstraints checks if the values respects the defined constraints
func AssertBaseModelRequired ¶ added in v0.2.19
AssertBaseModelRequired checks if the required fields are not zero-ed
func AssertBaseResourceConstraints ¶
func AssertBaseResourceConstraints(obj model.BaseResource) error
AssertBaseResourceConstraints checks if the values respects the defined constraints
func AssertBaseResourceCreateConstraints ¶
func AssertBaseResourceCreateConstraints(obj model.BaseResourceCreate) error
AssertBaseResourceCreateConstraints checks if the values respects the defined constraints
func AssertBaseResourceCreateRequired ¶
func AssertBaseResourceCreateRequired(obj model.BaseResourceCreate) error
AssertBaseResourceCreateRequired checks if the required fields are not zero-ed
func AssertBaseResourceDatesConstraints ¶ added in v0.2.19
func AssertBaseResourceDatesConstraints(obj model.BaseResourceDates) error
AssertBaseResourceDatesConstraints checks if the values respects the defined constraints
func AssertBaseResourceDatesRequired ¶ added in v0.2.19
func AssertBaseResourceDatesRequired(obj model.BaseResourceDates) error
AssertBaseResourceDatesRequired checks if the required fields are not zero-ed
func AssertBaseResourceListConstraints ¶
func AssertBaseResourceListConstraints(obj model.BaseResourceList) error
AssertBaseResourceListConstraints checks if the values respects the defined constraints
func AssertBaseResourceListRequired ¶
func AssertBaseResourceListRequired(obj model.BaseResourceList) error
AssertBaseResourceListRequired checks if the required fields are not zero-ed
func AssertBaseResourceRequired ¶
func AssertBaseResourceRequired(obj model.BaseResource) error
AssertBaseResourceRequired checks if the required fields are not zero-ed
func AssertBaseResourceUpdateConstraints ¶
func AssertBaseResourceUpdateConstraints(obj model.BaseResourceUpdate) error
AssertBaseResourceUpdateConstraints checks if the values respects the defined constraints
func AssertBaseResourceUpdateRequired ¶
func AssertBaseResourceUpdateRequired(obj model.BaseResourceUpdate) error
AssertBaseResourceUpdateRequired checks if the required fields are not zero-ed
func AssertDataSetConstraints ¶ added in v0.3.0
AssertDataSetConstraints checks if the values respects the defined constraints
func AssertDataSetCreateConstraints ¶ added in v0.3.0
func AssertDataSetCreateConstraints(obj model.DataSetCreate) error
AssertDataSetCreateConstraints checks if the values respects the defined constraints
func AssertDataSetCreateRequired ¶ added in v0.3.0
func AssertDataSetCreateRequired(obj model.DataSetCreate) error
AssertDataSetCreateRequired checks if the required fields are not zero-ed
func AssertDataSetRequired ¶ added in v0.3.0
AssertDataSetRequired checks if the required fields are not zero-ed
func AssertDataSetUpdateConstraints ¶ added in v0.3.0
func AssertDataSetUpdateConstraints(obj model.DataSetUpdate) error
AssertDataSetUpdateConstraints checks if the values respects the defined constraints
func AssertDataSetUpdateRequired ¶ added in v0.3.0
func AssertDataSetUpdateRequired(obj model.DataSetUpdate) error
AssertDataSetUpdateRequired checks if the required fields are not zero-ed
func AssertDocArtifactConstraints ¶
func AssertDocArtifactConstraints(obj model.DocArtifact) error
AssertDocArtifactConstraints checks if the values respects the defined constraints
func AssertDocArtifactCreateConstraints ¶
func AssertDocArtifactCreateConstraints(obj model.DocArtifactCreate) error
AssertDocArtifactCreateConstraints checks if the values respects the defined constraints
func AssertDocArtifactCreateRequired ¶
func AssertDocArtifactCreateRequired(obj model.DocArtifactCreate) error
AssertDocArtifactCreateRequired checks if the required fields are not zero-ed
func AssertDocArtifactRequired ¶
func AssertDocArtifactRequired(obj model.DocArtifact) error
AssertDocArtifactRequired checks if the required fields are not zero-ed
func AssertDocArtifactUpdateConstraints ¶
func AssertDocArtifactUpdateConstraints(obj model.DocArtifactUpdate) error
AssertDocArtifactUpdateConstraints checks if the values respects the defined constraints
func AssertDocArtifactUpdateRequired ¶
func AssertDocArtifactUpdateRequired(obj model.DocArtifactUpdate) error
AssertDocArtifactUpdateRequired checks if the required fields are not zero-ed
func AssertErrorConstraints ¶
AssertErrorConstraints checks if the values respects the defined constraints
func AssertErrorRequired ¶
AssertErrorRequired checks if the required fields are not zero-ed
func AssertExecutionStateConstraints ¶
func AssertExecutionStateConstraints(obj model.ExecutionState) error
AssertExecutionStateConstraints checks if the values respects the defined constraints
func AssertExecutionStateRequired ¶
func AssertExecutionStateRequired(obj model.ExecutionState) error
AssertExecutionStateRequired checks if the required fields are not zero-ed
func AssertExperimentConstraints ¶ added in v0.3.0
func AssertExperimentConstraints(obj model.Experiment) error
AssertExperimentConstraints checks if the values respects the defined constraints
func AssertExperimentCreateConstraints ¶ added in v0.3.0
func AssertExperimentCreateConstraints(obj model.ExperimentCreate) error
AssertExperimentCreateConstraints checks if the values respects the defined constraints
func AssertExperimentCreateRequired ¶ added in v0.3.0
func AssertExperimentCreateRequired(obj model.ExperimentCreate) error
AssertExperimentCreateRequired checks if the required fields are not zero-ed
func AssertExperimentListConstraints ¶ added in v0.3.0
func AssertExperimentListConstraints(obj model.ExperimentList) error
AssertExperimentListConstraints checks if the values respects the defined constraints
func AssertExperimentListRequired ¶ added in v0.3.0
func AssertExperimentListRequired(obj model.ExperimentList) error
AssertExperimentListRequired checks if the required fields are not zero-ed
func AssertExperimentRequired ¶ added in v0.3.0
func AssertExperimentRequired(obj model.Experiment) error
AssertExperimentRequired checks if the required fields are not zero-ed
func AssertExperimentRunConstraints ¶ added in v0.3.0
func AssertExperimentRunConstraints(obj model.ExperimentRun) error
AssertExperimentRunConstraints checks if the values respects the defined constraints
func AssertExperimentRunCreateConstraints ¶ added in v0.3.0
func AssertExperimentRunCreateConstraints(obj model.ExperimentRunCreate) error
AssertExperimentRunCreateConstraints checks if the values respects the defined constraints
func AssertExperimentRunCreateRequired ¶ added in v0.3.0
func AssertExperimentRunCreateRequired(obj model.ExperimentRunCreate) error
AssertExperimentRunCreateRequired checks if the required fields are not zero-ed
func AssertExperimentRunListConstraints ¶ added in v0.3.0
func AssertExperimentRunListConstraints(obj model.ExperimentRunList) error
AssertExperimentRunListConstraints checks if the values respects the defined constraints
func AssertExperimentRunListRequired ¶ added in v0.3.0
func AssertExperimentRunListRequired(obj model.ExperimentRunList) error
AssertExperimentRunListRequired checks if the required fields are not zero-ed
func AssertExperimentRunRequired ¶ added in v0.3.0
func AssertExperimentRunRequired(obj model.ExperimentRun) error
AssertExperimentRunRequired checks if the required fields are not zero-ed
func AssertExperimentRunStateConstraints ¶ added in v0.3.0
func AssertExperimentRunStateConstraints(obj model.ExperimentRunState) error
AssertExperimentRunStateConstraints checks if the values respects the defined constraints
func AssertExperimentRunStateRequired ¶ added in v0.3.0
func AssertExperimentRunStateRequired(obj model.ExperimentRunState) error
AssertExperimentRunStateRequired checks if the required fields are not zero-ed
func AssertExperimentRunStatusConstraints ¶ added in v0.3.0
func AssertExperimentRunStatusConstraints(obj model.ExperimentRunStatus) error
AssertExperimentRunStatusConstraints checks if the values respects the defined constraints
func AssertExperimentRunStatusRequired ¶ added in v0.3.0
func AssertExperimentRunStatusRequired(obj model.ExperimentRunStatus) error
AssertExperimentRunStatusRequired checks if the required fields are not zero-ed
func AssertExperimentRunUpdateConstraints ¶ added in v0.3.0
func AssertExperimentRunUpdateConstraints(obj model.ExperimentRunUpdate) error
AssertExperimentRunUpdateConstraints checks if the values respects the defined constraints
func AssertExperimentRunUpdateRequired ¶ added in v0.3.0
func AssertExperimentRunUpdateRequired(obj model.ExperimentRunUpdate) error
AssertExperimentRunUpdateRequired checks if the required fields are not zero-ed
func AssertExperimentStateConstraints ¶ added in v0.3.0
func AssertExperimentStateConstraints(obj model.ExperimentState) error
AssertExperimentStateConstraints checks if the values respects the defined constraints
func AssertExperimentStateRequired ¶ added in v0.3.0
func AssertExperimentStateRequired(obj model.ExperimentState) error
AssertExperimentStateRequired checks if the required fields are not zero-ed
func AssertExperimentUpdateConstraints ¶ added in v0.3.0
func AssertExperimentUpdateConstraints(obj model.ExperimentUpdate) error
AssertExperimentUpdateConstraints checks if the values respects the defined constraints
func AssertExperimentUpdateRequired ¶ added in v0.3.0
func AssertExperimentUpdateRequired(obj model.ExperimentUpdate) error
AssertExperimentUpdateRequired checks if the required fields are not zero-ed
func AssertInferenceServiceConstraints ¶
func AssertInferenceServiceConstraints(obj model.InferenceService) error
AssertInferenceServiceConstraints checks if the values respects the defined constraints
func AssertInferenceServiceCreateConstraints ¶
func AssertInferenceServiceCreateConstraints(obj model.InferenceServiceCreate) error
AssertInferenceServiceCreateConstraints checks if the values respects the defined constraints
func AssertInferenceServiceCreateRequired ¶
func AssertInferenceServiceCreateRequired(obj model.InferenceServiceCreate) error
AssertInferenceServiceCreateRequired checks if the required fields are not zero-ed
func AssertInferenceServiceListConstraints ¶
func AssertInferenceServiceListConstraints(obj model.InferenceServiceList) error
AssertInferenceServiceListConstraints checks if the values respects the defined constraints
func AssertInferenceServiceListRequired ¶
func AssertInferenceServiceListRequired(obj model.InferenceServiceList) error
AssertInferenceServiceListRequired checks if the required fields are not zero-ed
func AssertInferenceServiceRequired ¶
func AssertInferenceServiceRequired(obj model.InferenceService) error
AssertInferenceServiceRequired checks if the required fields are not zero-ed
func AssertInferenceServiceStateConstraints ¶
func AssertInferenceServiceStateConstraints(obj model.InferenceServiceState) error
AssertInferenceServiceStateConstraints checks if the values respects the defined constraints
func AssertInferenceServiceStateRequired ¶
func AssertInferenceServiceStateRequired(obj model.InferenceServiceState) error
AssertInferenceServiceStateRequired checks if the required fields are not zero-ed
func AssertInferenceServiceUpdateConstraints ¶
func AssertInferenceServiceUpdateConstraints(obj model.InferenceServiceUpdate) error
AssertInferenceServiceUpdateConstraints checks if the values respects the defined constraints
func AssertInferenceServiceUpdateRequired ¶
func AssertInferenceServiceUpdateRequired(obj model.InferenceServiceUpdate) error
AssertInferenceServiceUpdateRequired checks if the required fields are not zero-ed
func AssertMetadataBoolValueConstraints ¶
func AssertMetadataBoolValueConstraints(obj model.MetadataBoolValue) error
AssertMetadataBoolValueConstraints checks if the values respects the defined constraints
func AssertMetadataBoolValueRequired ¶
func AssertMetadataBoolValueRequired(obj model.MetadataBoolValue) error
AssertMetadataBoolValueRequired checks if the required fields are not zero-ed
func AssertMetadataDoubleValueConstraints ¶
func AssertMetadataDoubleValueConstraints(obj model.MetadataDoubleValue) error
AssertMetadataDoubleValueConstraints checks if the values respects the defined constraints
func AssertMetadataDoubleValueRequired ¶
func AssertMetadataDoubleValueRequired(obj model.MetadataDoubleValue) error
AssertMetadataDoubleValueRequired checks if the required fields are not zero-ed
func AssertMetadataIntValueConstraints ¶
func AssertMetadataIntValueConstraints(obj model.MetadataIntValue) error
AssertMetadataIntValueConstraints checks if the values respects the defined constraints
func AssertMetadataIntValueRequired ¶
func AssertMetadataIntValueRequired(obj model.MetadataIntValue) error
AssertMetadataIntValueRequired checks if the required fields are not zero-ed
func AssertMetadataProtoValueConstraints ¶
func AssertMetadataProtoValueConstraints(obj model.MetadataProtoValue) error
AssertMetadataProtoValueConstraints checks if the values respects the defined constraints
func AssertMetadataProtoValueRequired ¶
func AssertMetadataProtoValueRequired(obj model.MetadataProtoValue) error
AssertMetadataProtoValueRequired checks if the required fields are not zero-ed
func AssertMetadataStringValueConstraints ¶
func AssertMetadataStringValueConstraints(obj model.MetadataStringValue) error
AssertMetadataStringValueConstraints checks if the values respects the defined constraints
func AssertMetadataStringValueRequired ¶
func AssertMetadataStringValueRequired(obj model.MetadataStringValue) error
AssertMetadataStringValueRequired checks if the required fields are not zero-ed
func AssertMetadataStructValueConstraints ¶
func AssertMetadataStructValueConstraints(obj model.MetadataStructValue) error
AssertMetadataStructValueConstraints checks if the values respects the defined constraints
func AssertMetadataStructValueRequired ¶
func AssertMetadataStructValueRequired(obj model.MetadataStructValue) error
AssertMetadataStructValueRequired checks if the required fields are not zero-ed
func AssertMetadataValueConstraints ¶
func AssertMetadataValueConstraints(obj model.MetadataValue) error
AssertMetadataValueConstraints checks if the values respects the defined constraints
func AssertMetadataValueRequired ¶
func AssertMetadataValueRequired(obj model.MetadataValue) error
AssertMetadataValueRequired checks if the required fields are not zero-ed
func AssertMetricConstraints ¶ added in v0.3.0
AssertMetricConstraints checks if the values respects the defined constraints
func AssertMetricCreateConstraints ¶ added in v0.3.0
func AssertMetricCreateConstraints(obj model.MetricCreate) error
AssertMetricCreateConstraints checks if the values respects the defined constraints
func AssertMetricCreateRequired ¶ added in v0.3.0
func AssertMetricCreateRequired(obj model.MetricCreate) error
AssertMetricCreateRequired checks if the required fields are not zero-ed
func AssertMetricListConstraints ¶ added in v0.3.0
func AssertMetricListConstraints(obj model.MetricList) error
AssertMetricListConstraints checks if the values respects the defined constraints
func AssertMetricListRequired ¶ added in v0.3.0
func AssertMetricListRequired(obj model.MetricList) error
AssertMetricListRequired checks if the required fields are not zero-ed
func AssertMetricRequired ¶ added in v0.3.0
AssertMetricRequired checks if the required fields are not zero-ed
func AssertMetricUpdateConstraints ¶ added in v0.3.0
func AssertMetricUpdateConstraints(obj model.MetricUpdate) error
AssertMetricUpdateConstraints checks if the values respects the defined constraints
func AssertMetricUpdateRequired ¶ added in v0.3.0
func AssertMetricUpdateRequired(obj model.MetricUpdate) error
AssertMetricUpdateRequired checks if the required fields are not zero-ed
func AssertModelArtifactConstraints ¶
func AssertModelArtifactConstraints(obj model.ModelArtifact) error
AssertModelArtifactConstraints checks if the values respects the defined constraints
func AssertModelArtifactCreateConstraints ¶
func AssertModelArtifactCreateConstraints(obj model.ModelArtifactCreate) error
AssertModelArtifactCreateConstraints checks if the values respects the defined constraints
func AssertModelArtifactCreateRequired ¶
func AssertModelArtifactCreateRequired(obj model.ModelArtifactCreate) error
AssertModelArtifactCreateRequired checks if the required fields are not zero-ed
func AssertModelArtifactListConstraints ¶
func AssertModelArtifactListConstraints(obj model.ModelArtifactList) error
AssertModelArtifactListConstraints checks if the values respects the defined constraints
func AssertModelArtifactListRequired ¶
func AssertModelArtifactListRequired(obj model.ModelArtifactList) error
AssertModelArtifactListRequired checks if the required fields are not zero-ed
func AssertModelArtifactRequired ¶
func AssertModelArtifactRequired(obj model.ModelArtifact) error
AssertModelArtifactRequired checks if the required fields are not zero-ed
func AssertModelArtifactUpdateConstraints ¶
func AssertModelArtifactUpdateConstraints(obj model.ModelArtifactUpdate) error
AssertModelArtifactUpdateConstraints checks if the values respects the defined constraints
func AssertModelArtifactUpdateRequired ¶
func AssertModelArtifactUpdateRequired(obj model.ModelArtifactUpdate) error
AssertModelArtifactUpdateRequired checks if the required fields are not zero-ed
func AssertModelVersionConstraints ¶
func AssertModelVersionConstraints(obj model.ModelVersion) error
AssertModelVersionConstraints checks if the values respects the defined constraints
func AssertModelVersionCreateConstraints ¶
func AssertModelVersionCreateConstraints(obj model.ModelVersionCreate) error
AssertModelVersionCreateConstraints checks if the values respects the defined constraints
func AssertModelVersionCreateRequired ¶
func AssertModelVersionCreateRequired(obj model.ModelVersionCreate) error
AssertModelVersionCreateRequired checks if the required fields are not zero-ed
func AssertModelVersionListConstraints ¶
func AssertModelVersionListConstraints(obj model.ModelVersionList) error
AssertModelVersionListConstraints checks if the values respects the defined constraints
func AssertModelVersionListRequired ¶
func AssertModelVersionListRequired(obj model.ModelVersionList) error
AssertModelVersionListRequired checks if the required fields are not zero-ed
func AssertModelVersionRequired ¶
func AssertModelVersionRequired(obj model.ModelVersion) error
AssertModelVersionRequired checks if the required fields are not zero-ed
func AssertModelVersionStateConstraints ¶
func AssertModelVersionStateConstraints(obj model.ModelVersionState) error
AssertModelVersionStateConstraints checks if the values respects the defined constraints
func AssertModelVersionStateRequired ¶
func AssertModelVersionStateRequired(obj model.ModelVersionState) error
AssertModelVersionStateRequired checks if the required fields are not zero-ed
func AssertModelVersionUpdateConstraints ¶
func AssertModelVersionUpdateConstraints(obj model.ModelVersionUpdate) error
AssertModelVersionUpdateConstraints checks if the values respects the defined constraints
func AssertModelVersionUpdateRequired ¶
func AssertModelVersionUpdateRequired(obj model.ModelVersionUpdate) error
AssertModelVersionUpdateRequired checks if the required fields are not zero-ed
func AssertOrderByFieldConstraints ¶
func AssertOrderByFieldConstraints(obj model.OrderByField) error
AssertOrderByFieldConstraints checks if the values respects the defined constraints
func AssertOrderByFieldRequired ¶
func AssertOrderByFieldRequired(obj model.OrderByField) error
AssertOrderByFieldRequired checks if the required fields are not zero-ed
func AssertParameterConstraints ¶ added in v0.3.0
AssertParameterConstraints checks if the values respects the defined constraints
func AssertParameterCreateConstraints ¶ added in v0.3.0
func AssertParameterCreateConstraints(obj model.ParameterCreate) error
AssertParameterCreateConstraints checks if the values respects the defined constraints
func AssertParameterCreateRequired ¶ added in v0.3.0
func AssertParameterCreateRequired(obj model.ParameterCreate) error
AssertParameterCreateRequired checks if the required fields are not zero-ed
func AssertParameterRequired ¶ added in v0.3.0
AssertParameterRequired checks if the required fields are not zero-ed
func AssertParameterTypeConstraints ¶ added in v0.3.0
func AssertParameterTypeConstraints(obj model.ParameterType) error
AssertParameterTypeConstraints checks if the values respects the defined constraints
func AssertParameterTypeRequired ¶ added in v0.3.0
func AssertParameterTypeRequired(obj model.ParameterType) error
AssertParameterTypeRequired checks if the required fields are not zero-ed
func AssertParameterUpdateConstraints ¶ added in v0.3.0
func AssertParameterUpdateConstraints(obj model.ParameterUpdate) error
AssertParameterUpdateConstraints checks if the values respects the defined constraints
func AssertParameterUpdateRequired ¶ added in v0.3.0
func AssertParameterUpdateRequired(obj model.ParameterUpdate) error
AssertParameterUpdateRequired checks if the required fields are not zero-ed
func AssertRecurseInterfaceRequired ¶
AssertRecurseInterfaceRequired recursively checks each struct in a slice against the callback. This method traverse nested slices in a preorder fashion.
func AssertRecurseValueRequired ¶
AssertRecurseValueRequired checks each struct in the nested slice against the callback. This method traverse nested slices in a preorder fashion. ErrTypeAssertionError is thrown if the underlying struct does not match type T.
func AssertRegisteredModelConstraints ¶
func AssertRegisteredModelConstraints(obj model.RegisteredModel) error
AssertRegisteredModelConstraints checks if the values respects the defined constraints
func AssertRegisteredModelCreateConstraints ¶
func AssertRegisteredModelCreateConstraints(obj model.RegisteredModelCreate) error
AssertRegisteredModelCreateConstraints checks if the values respects the defined constraints
func AssertRegisteredModelCreateRequired ¶
func AssertRegisteredModelCreateRequired(obj model.RegisteredModelCreate) error
AssertRegisteredModelCreateRequired checks if the required fields are not zero-ed
func AssertRegisteredModelListConstraints ¶
func AssertRegisteredModelListConstraints(obj model.RegisteredModelList) error
AssertRegisteredModelListConstraints checks if the values respects the defined constraints
func AssertRegisteredModelListRequired ¶
func AssertRegisteredModelListRequired(obj model.RegisteredModelList) error
AssertRegisteredModelListRequired checks if the required fields are not zero-ed
func AssertRegisteredModelRequired ¶
func AssertRegisteredModelRequired(obj model.RegisteredModel) error
AssertRegisteredModelRequired checks if the required fields are not zero-ed
func AssertRegisteredModelStateConstraints ¶
func AssertRegisteredModelStateConstraints(obj model.RegisteredModelState) error
AssertRegisteredModelStateConstraints checks if the values respects the defined constraints
func AssertRegisteredModelStateRequired ¶
func AssertRegisteredModelStateRequired(obj model.RegisteredModelState) error
AssertRegisteredModelStateRequired checks if the required fields are not zero-ed
func AssertRegisteredModelUpdateConstraints ¶
func AssertRegisteredModelUpdateConstraints(obj model.RegisteredModelUpdate) error
AssertRegisteredModelUpdateConstraints checks if the values respects the defined constraints
func AssertRegisteredModelUpdateRequired ¶
func AssertRegisteredModelUpdateRequired(obj model.RegisteredModelUpdate) error
AssertRegisteredModelUpdateRequired checks if the required fields are not zero-ed
func AssertServeModelConstraints ¶
func AssertServeModelConstraints(obj model.ServeModel) error
AssertServeModelConstraints checks if the values respects the defined constraints
func AssertServeModelCreateConstraints ¶
func AssertServeModelCreateConstraints(obj model.ServeModelCreate) error
AssertServeModelCreateConstraints checks if the values respects the defined constraints
func AssertServeModelCreateRequired ¶
func AssertServeModelCreateRequired(obj model.ServeModelCreate) error
AssertServeModelCreateRequired checks if the required fields are not zero-ed
func AssertServeModelListConstraints ¶
func AssertServeModelListConstraints(obj model.ServeModelList) error
AssertServeModelListConstraints checks if the values respects the defined constraints
func AssertServeModelListRequired ¶
func AssertServeModelListRequired(obj model.ServeModelList) error
AssertServeModelListRequired checks if the required fields are not zero-ed
func AssertServeModelRequired ¶
func AssertServeModelRequired(obj model.ServeModel) error
AssertServeModelRequired checks if the required fields are not zero-ed
func AssertServeModelUpdateConstraints ¶
func AssertServeModelUpdateConstraints(obj model.ServeModelUpdate) error
AssertServeModelUpdateConstraints checks if the values respects the defined constraints
func AssertServeModelUpdateRequired ¶
func AssertServeModelUpdateRequired(obj model.ServeModelUpdate) error
AssertServeModelUpdateRequired checks if the required fields are not zero-ed
func AssertServingEnvironmentConstraints ¶
func AssertServingEnvironmentConstraints(obj model.ServingEnvironment) error
AssertServingEnvironmentConstraints checks if the values respects the defined constraints
func AssertServingEnvironmentCreateConstraints ¶
func AssertServingEnvironmentCreateConstraints(obj model.ServingEnvironmentCreate) error
AssertServingEnvironmentCreateConstraints checks if the values respects the defined constraints
func AssertServingEnvironmentCreateRequired ¶
func AssertServingEnvironmentCreateRequired(obj model.ServingEnvironmentCreate) error
AssertServingEnvironmentCreateRequired checks if the required fields are not zero-ed
func AssertServingEnvironmentListConstraints ¶
func AssertServingEnvironmentListConstraints(obj model.ServingEnvironmentList) error
AssertServingEnvironmentListConstraints checks if the values respects the defined constraints
func AssertServingEnvironmentListRequired ¶
func AssertServingEnvironmentListRequired(obj model.ServingEnvironmentList) error
AssertServingEnvironmentListRequired checks if the required fields are not zero-ed
func AssertServingEnvironmentRequired ¶
func AssertServingEnvironmentRequired(obj model.ServingEnvironment) error
AssertServingEnvironmentRequired checks if the required fields are not zero-ed
func AssertServingEnvironmentUpdateConstraints ¶
func AssertServingEnvironmentUpdateConstraints(obj model.ServingEnvironmentUpdate) error
AssertServingEnvironmentUpdateConstraints checks if the values respects the defined constraints
func AssertServingEnvironmentUpdateRequired ¶
func AssertServingEnvironmentUpdateRequired(obj model.ServingEnvironmentUpdate) error
AssertServingEnvironmentUpdateRequired checks if the required fields are not zero-ed
func AssertSortOrderConstraints ¶
AssertSortOrderConstraints checks if the values respects the defined constraints
func AssertSortOrderRequired ¶
AssertSortOrderRequired checks if the required fields are not zero-ed
func DefaultErrorHandler ¶
func DefaultErrorHandler(w http.ResponseWriter, _ *http.Request, err error, result *ImplResponse)
DefaultErrorHandler defines the default logic on how to handle errors from the controller. Any errors from parsing request params will return a StatusBadRequest. Otherwise, the error code originating from the servicer will be used.
func EncodeJSONResponse ¶
func EncodeJSONResponse(i interface{}, status *int, w http.ResponseWriter) error
EncodeJSONResponse uses the json encoder to write an interface to the http response with an optional status code
func IsZeroValue ¶
func IsZeroValue(val interface{}) bool
IsZeroValue checks if the val is the zero-ed value.
func NewRouter ¶
func NewRouter(routers ...Router) chi.Router
NewRouter creates a new router for any number of api routers
func ReadFormFileToTempFile ¶
ReadFormFileToTempFile reads file data from a request form and writes it to a temporary file
Types ¶
type Constraint ¶
func WithMaximum ¶
func WithMaximum[T Number](expected T) Constraint[T]
func WithMinimum ¶
func WithMinimum[T Number](expected T) Constraint[T]
type ErrorHandler ¶
type ErrorHandler func(w http.ResponseWriter, r *http.Request, err error, result *ImplResponse)
ErrorHandler defines the required method for handling error. You may implement it and inject this into a controller if you would like errors to be handled differently from the DefaultErrorHandler
type ImplResponse ¶
type ImplResponse struct {
Code int
Body interface{}
}
ImplResponse defines an implementation response with error code and the associated body
func ErrorResponse ¶
func ErrorResponse(code int, err error) ImplResponse
func Response ¶
func Response(code int, body interface{}) ImplResponse
Response return a ImplResponse struct filled
type ModelRegistryServiceAPIController ¶
type ModelRegistryServiceAPIController struct {
// contains filtered or unexported fields
}
ModelRegistryServiceAPIController binds http requests to an api service and writes the service results to the http response
func NewModelRegistryServiceAPIController ¶
func NewModelRegistryServiceAPIController(s ModelRegistryServiceAPIServicer, opts ...ModelRegistryServiceAPIOption) *ModelRegistryServiceAPIController
NewModelRegistryServiceAPIController creates a default api controller
func (*ModelRegistryServiceAPIController) CreateArtifact ¶
func (c *ModelRegistryServiceAPIController) CreateArtifact(w http.ResponseWriter, r *http.Request)
CreateArtifact - Create an Artifact
func (*ModelRegistryServiceAPIController) CreateEnvironmentInferenceService ¶
func (c *ModelRegistryServiceAPIController) CreateEnvironmentInferenceService(w http.ResponseWriter, r *http.Request)
CreateEnvironmentInferenceService - Create a InferenceService in ServingEnvironment
func (*ModelRegistryServiceAPIController) CreateExperiment ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) CreateExperiment(w http.ResponseWriter, r *http.Request)
CreateExperiment - Create an Experiment
func (*ModelRegistryServiceAPIController) CreateExperimentExperimentRun ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) CreateExperimentExperimentRun(w http.ResponseWriter, r *http.Request)
CreateExperimentExperimentRun - Create an ExperimentRun in Experiment
func (*ModelRegistryServiceAPIController) CreateExperimentRun ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) CreateExperimentRun(w http.ResponseWriter, r *http.Request)
CreateExperimentRun - Create an ExperimentRun
func (*ModelRegistryServiceAPIController) CreateInferenceService ¶
func (c *ModelRegistryServiceAPIController) CreateInferenceService(w http.ResponseWriter, r *http.Request)
CreateInferenceService - Create a InferenceService
func (*ModelRegistryServiceAPIController) CreateInferenceServiceServe ¶
func (c *ModelRegistryServiceAPIController) CreateInferenceServiceServe(w http.ResponseWriter, r *http.Request)
CreateInferenceServiceServe - Create a ServeModel action in a InferenceService
func (*ModelRegistryServiceAPIController) CreateModelArtifact ¶
func (c *ModelRegistryServiceAPIController) CreateModelArtifact(w http.ResponseWriter, r *http.Request)
CreateModelArtifact - Create a ModelArtifact
func (*ModelRegistryServiceAPIController) CreateModelVersion ¶
func (c *ModelRegistryServiceAPIController) CreateModelVersion(w http.ResponseWriter, r *http.Request)
CreateModelVersion - Create a ModelVersion
func (*ModelRegistryServiceAPIController) CreateRegisteredModel ¶
func (c *ModelRegistryServiceAPIController) CreateRegisteredModel(w http.ResponseWriter, r *http.Request)
CreateRegisteredModel - Create a RegisteredModel
func (*ModelRegistryServiceAPIController) CreateRegisteredModelVersion ¶
func (c *ModelRegistryServiceAPIController) CreateRegisteredModelVersion(w http.ResponseWriter, r *http.Request)
CreateRegisteredModelVersion - Create a ModelVersion in RegisteredModel
func (*ModelRegistryServiceAPIController) CreateServingEnvironment ¶
func (c *ModelRegistryServiceAPIController) CreateServingEnvironment(w http.ResponseWriter, r *http.Request)
CreateServingEnvironment - Create a ServingEnvironment
func (*ModelRegistryServiceAPIController) FindArtifact ¶
func (c *ModelRegistryServiceAPIController) FindArtifact(w http.ResponseWriter, r *http.Request)
FindArtifact - Get an Artifact that matches search parameters.
func (*ModelRegistryServiceAPIController) FindExperiment ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) FindExperiment(w http.ResponseWriter, r *http.Request)
FindExperiment - Get an Experiment that matches search parameters.
func (*ModelRegistryServiceAPIController) FindExperimentRun ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) FindExperimentRun(w http.ResponseWriter, r *http.Request)
FindExperimentRun - Get an ExperimentRun that matches search parameters.
func (*ModelRegistryServiceAPIController) FindInferenceService ¶
func (c *ModelRegistryServiceAPIController) FindInferenceService(w http.ResponseWriter, r *http.Request)
FindInferenceService - Get an InferenceServices that matches search parameters.
func (*ModelRegistryServiceAPIController) FindModelArtifact ¶
func (c *ModelRegistryServiceAPIController) FindModelArtifact(w http.ResponseWriter, r *http.Request)
FindModelArtifact - Get a ModelArtifact that matches search parameters.
func (*ModelRegistryServiceAPIController) FindModelVersion ¶
func (c *ModelRegistryServiceAPIController) FindModelVersion(w http.ResponseWriter, r *http.Request)
FindModelVersion - Get a ModelVersion that matches search parameters.
func (*ModelRegistryServiceAPIController) FindRegisteredModel ¶
func (c *ModelRegistryServiceAPIController) FindRegisteredModel(w http.ResponseWriter, r *http.Request)
FindRegisteredModel - Get a RegisteredModel that matches search parameters.
func (*ModelRegistryServiceAPIController) FindServingEnvironment ¶
func (c *ModelRegistryServiceAPIController) FindServingEnvironment(w http.ResponseWriter, r *http.Request)
FindServingEnvironment - Find ServingEnvironment
func (*ModelRegistryServiceAPIController) GetArtifact ¶
func (c *ModelRegistryServiceAPIController) GetArtifact(w http.ResponseWriter, r *http.Request)
GetArtifact - Get an Artifact
func (*ModelRegistryServiceAPIController) GetArtifacts ¶
func (c *ModelRegistryServiceAPIController) GetArtifacts(w http.ResponseWriter, r *http.Request)
GetArtifacts - List All Artifacts
func (*ModelRegistryServiceAPIController) GetEnvironmentInferenceServices ¶
func (c *ModelRegistryServiceAPIController) GetEnvironmentInferenceServices(w http.ResponseWriter, r *http.Request)
GetEnvironmentInferenceServices - List All ServingEnvironment's InferenceServices
func (*ModelRegistryServiceAPIController) GetExperiment ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) GetExperiment(w http.ResponseWriter, r *http.Request)
GetExperiment - Get an Experiment
func (*ModelRegistryServiceAPIController) GetExperimentExperimentRuns ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) GetExperimentExperimentRuns(w http.ResponseWriter, r *http.Request)
GetExperimentExperimentRuns - List All Experiment's ExperimentRuns
func (*ModelRegistryServiceAPIController) GetExperimentRun ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) GetExperimentRun(w http.ResponseWriter, r *http.Request)
GetExperimentRun - Get an ExperimentRun
func (*ModelRegistryServiceAPIController) GetExperimentRunArtifacts ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) GetExperimentRunArtifacts(w http.ResponseWriter, r *http.Request)
GetExperimentRunArtifacts - List all artifacts associated with the `ExperimentRun`
func (*ModelRegistryServiceAPIController) GetExperimentRunMetricHistory ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) GetExperimentRunMetricHistory(w http.ResponseWriter, r *http.Request)
GetExperimentRunMetricHistory - Get metric history for an ExperimentRun
func (*ModelRegistryServiceAPIController) GetExperimentRuns ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) GetExperimentRuns(w http.ResponseWriter, r *http.Request)
GetExperimentRuns - List All ExperimentRuns
func (*ModelRegistryServiceAPIController) GetExperimentRunsMetricHistory ¶ added in v0.3.1
func (c *ModelRegistryServiceAPIController) GetExperimentRunsMetricHistory(w http.ResponseWriter, r *http.Request)
GetExperimentRunsMetricHistory - Get metric history for multiple ExperimentRuns
func (*ModelRegistryServiceAPIController) GetExperiments ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) GetExperiments(w http.ResponseWriter, r *http.Request)
GetExperiments - List All Experiments
func (*ModelRegistryServiceAPIController) GetInferenceService ¶
func (c *ModelRegistryServiceAPIController) GetInferenceService(w http.ResponseWriter, r *http.Request)
GetInferenceService - Get a InferenceService
func (*ModelRegistryServiceAPIController) GetInferenceServiceModel ¶
func (c *ModelRegistryServiceAPIController) GetInferenceServiceModel(w http.ResponseWriter, r *http.Request)
GetInferenceServiceModel - Get InferenceService's RegisteredModel
func (*ModelRegistryServiceAPIController) GetInferenceServiceServes ¶
func (c *ModelRegistryServiceAPIController) GetInferenceServiceServes(w http.ResponseWriter, r *http.Request)
GetInferenceServiceServes - List All InferenceService's ServeModel actions
func (*ModelRegistryServiceAPIController) GetInferenceServiceVersion ¶
func (c *ModelRegistryServiceAPIController) GetInferenceServiceVersion(w http.ResponseWriter, r *http.Request)
GetInferenceServiceVersion - Get InferenceService's ModelVersion
func (*ModelRegistryServiceAPIController) GetInferenceServices ¶
func (c *ModelRegistryServiceAPIController) GetInferenceServices(w http.ResponseWriter, r *http.Request)
GetInferenceServices - List All InferenceServices
func (*ModelRegistryServiceAPIController) GetModelArtifact ¶
func (c *ModelRegistryServiceAPIController) GetModelArtifact(w http.ResponseWriter, r *http.Request)
GetModelArtifact - Get a ModelArtifact
func (*ModelRegistryServiceAPIController) GetModelArtifacts ¶
func (c *ModelRegistryServiceAPIController) GetModelArtifacts(w http.ResponseWriter, r *http.Request)
GetModelArtifacts - List All ModelArtifacts
func (*ModelRegistryServiceAPIController) GetModelVersion ¶
func (c *ModelRegistryServiceAPIController) GetModelVersion(w http.ResponseWriter, r *http.Request)
GetModelVersion - Get a ModelVersion
func (*ModelRegistryServiceAPIController) GetModelVersionArtifacts ¶
func (c *ModelRegistryServiceAPIController) GetModelVersionArtifacts(w http.ResponseWriter, r *http.Request)
GetModelVersionArtifacts - List all artifacts associated with the `ModelVersion`
func (*ModelRegistryServiceAPIController) GetModelVersions ¶
func (c *ModelRegistryServiceAPIController) GetModelVersions(w http.ResponseWriter, r *http.Request)
GetModelVersions - List All ModelVersions
func (*ModelRegistryServiceAPIController) GetRegisteredModel ¶
func (c *ModelRegistryServiceAPIController) GetRegisteredModel(w http.ResponseWriter, r *http.Request)
GetRegisteredModel - Get a RegisteredModel
func (*ModelRegistryServiceAPIController) GetRegisteredModelVersions ¶
func (c *ModelRegistryServiceAPIController) GetRegisteredModelVersions(w http.ResponseWriter, r *http.Request)
GetRegisteredModelVersions - List All RegisteredModel's ModelVersions
func (*ModelRegistryServiceAPIController) GetRegisteredModels ¶
func (c *ModelRegistryServiceAPIController) GetRegisteredModels(w http.ResponseWriter, r *http.Request)
GetRegisteredModels - List All RegisteredModels
func (*ModelRegistryServiceAPIController) GetServingEnvironment ¶
func (c *ModelRegistryServiceAPIController) GetServingEnvironment(w http.ResponseWriter, r *http.Request)
GetServingEnvironment - Get a ServingEnvironment
func (*ModelRegistryServiceAPIController) GetServingEnvironments ¶
func (c *ModelRegistryServiceAPIController) GetServingEnvironments(w http.ResponseWriter, r *http.Request)
GetServingEnvironments - List All ServingEnvironments
func (*ModelRegistryServiceAPIController) OrderedRoutes ¶ added in v0.3.3
func (c *ModelRegistryServiceAPIController) OrderedRoutes() []Route
OrderedRoutes returns all the api routes in a deterministic order for the ModelRegistryServiceAPIController
func (*ModelRegistryServiceAPIController) Routes ¶
func (c *ModelRegistryServiceAPIController) Routes() Routes
Routes returns all the api routes for the ModelRegistryServiceAPIController
func (*ModelRegistryServiceAPIController) UpdateArtifact ¶
func (c *ModelRegistryServiceAPIController) UpdateArtifact(w http.ResponseWriter, r *http.Request)
UpdateArtifact - Update an Artifact
func (*ModelRegistryServiceAPIController) UpdateExperiment ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) UpdateExperiment(w http.ResponseWriter, r *http.Request)
UpdateExperiment - Update an Experiment
func (*ModelRegistryServiceAPIController) UpdateExperimentRun ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) UpdateExperimentRun(w http.ResponseWriter, r *http.Request)
UpdateExperimentRun - Update an ExperimentRun
func (*ModelRegistryServiceAPIController) UpdateInferenceService ¶
func (c *ModelRegistryServiceAPIController) UpdateInferenceService(w http.ResponseWriter, r *http.Request)
UpdateInferenceService - Update a InferenceService
func (*ModelRegistryServiceAPIController) UpdateModelArtifact ¶
func (c *ModelRegistryServiceAPIController) UpdateModelArtifact(w http.ResponseWriter, r *http.Request)
UpdateModelArtifact - Update a ModelArtifact
func (*ModelRegistryServiceAPIController) UpdateModelVersion ¶
func (c *ModelRegistryServiceAPIController) UpdateModelVersion(w http.ResponseWriter, r *http.Request)
UpdateModelVersion - Update a ModelVersion
func (*ModelRegistryServiceAPIController) UpdateRegisteredModel ¶
func (c *ModelRegistryServiceAPIController) UpdateRegisteredModel(w http.ResponseWriter, r *http.Request)
UpdateRegisteredModel - Update a RegisteredModel
func (*ModelRegistryServiceAPIController) UpdateServingEnvironment ¶
func (c *ModelRegistryServiceAPIController) UpdateServingEnvironment(w http.ResponseWriter, r *http.Request)
UpdateServingEnvironment - Update a ServingEnvironment
func (*ModelRegistryServiceAPIController) UpsertExperimentRunArtifact ¶ added in v0.3.0
func (c *ModelRegistryServiceAPIController) UpsertExperimentRunArtifact(w http.ResponseWriter, r *http.Request)
UpsertExperimentRunArtifact - Upsert an Artifact in an ExperimentRun
func (*ModelRegistryServiceAPIController) UpsertModelVersionArtifact ¶
func (c *ModelRegistryServiceAPIController) UpsertModelVersionArtifact(w http.ResponseWriter, r *http.Request)
UpsertModelVersionArtifact - Upsert an Artifact in a ModelVersion
type ModelRegistryServiceAPIOption ¶
type ModelRegistryServiceAPIOption func(*ModelRegistryServiceAPIController)
ModelRegistryServiceAPIOption for how the controller is set up.
func WithModelRegistryServiceAPIErrorHandler ¶
func WithModelRegistryServiceAPIErrorHandler(h ErrorHandler) ModelRegistryServiceAPIOption
WithModelRegistryServiceAPIErrorHandler inject ErrorHandler into controller
type ModelRegistryServiceAPIRouter ¶
type ModelRegistryServiceAPIRouter interface {
FindArtifact(http.ResponseWriter, *http.Request)
GetArtifacts(http.ResponseWriter, *http.Request)
CreateArtifact(http.ResponseWriter, *http.Request)
GetArtifact(http.ResponseWriter, *http.Request)
UpdateArtifact(http.ResponseWriter, *http.Request)
FindExperiment(http.ResponseWriter, *http.Request)
FindExperimentRun(http.ResponseWriter, *http.Request)
GetExperimentRuns(http.ResponseWriter, *http.Request)
CreateExperimentRun(http.ResponseWriter, *http.Request)
GetExperimentRunsMetricHistory(http.ResponseWriter, *http.Request)
GetExperimentRun(http.ResponseWriter, *http.Request)
UpdateExperimentRun(http.ResponseWriter, *http.Request)
GetExperimentRunArtifacts(http.ResponseWriter, *http.Request)
UpsertExperimentRunArtifact(http.ResponseWriter, *http.Request)
GetExperimentRunMetricHistory(http.ResponseWriter, *http.Request)
GetExperiments(http.ResponseWriter, *http.Request)
CreateExperiment(http.ResponseWriter, *http.Request)
GetExperiment(http.ResponseWriter, *http.Request)
UpdateExperiment(http.ResponseWriter, *http.Request)
GetExperimentExperimentRuns(http.ResponseWriter, *http.Request)
CreateExperimentExperimentRun(http.ResponseWriter, *http.Request)
FindInferenceService(http.ResponseWriter, *http.Request)
GetInferenceServices(http.ResponseWriter, *http.Request)
CreateInferenceService(http.ResponseWriter, *http.Request)
GetInferenceService(http.ResponseWriter, *http.Request)
UpdateInferenceService(http.ResponseWriter, *http.Request)
GetInferenceServiceModel(http.ResponseWriter, *http.Request)
GetInferenceServiceServes(http.ResponseWriter, *http.Request)
CreateInferenceServiceServe(http.ResponseWriter, *http.Request)
GetInferenceServiceVersion(http.ResponseWriter, *http.Request)
FindModelArtifact(http.ResponseWriter, *http.Request)
GetModelArtifacts(http.ResponseWriter, *http.Request)
CreateModelArtifact(http.ResponseWriter, *http.Request)
GetModelArtifact(http.ResponseWriter, *http.Request)
UpdateModelArtifact(http.ResponseWriter, *http.Request)
FindModelVersion(http.ResponseWriter, *http.Request)
GetModelVersions(http.ResponseWriter, *http.Request)
CreateModelVersion(http.ResponseWriter, *http.Request)
GetModelVersion(http.ResponseWriter, *http.Request)
UpdateModelVersion(http.ResponseWriter, *http.Request)
GetModelVersionArtifacts(http.ResponseWriter, *http.Request)
UpsertModelVersionArtifact(http.ResponseWriter, *http.Request)
FindRegisteredModel(http.ResponseWriter, *http.Request)
GetRegisteredModels(http.ResponseWriter, *http.Request)
CreateRegisteredModel(http.ResponseWriter, *http.Request)
GetRegisteredModel(http.ResponseWriter, *http.Request)
UpdateRegisteredModel(http.ResponseWriter, *http.Request)
GetRegisteredModelVersions(http.ResponseWriter, *http.Request)
CreateRegisteredModelVersion(http.ResponseWriter, *http.Request)
FindServingEnvironment(http.ResponseWriter, *http.Request)
GetServingEnvironments(http.ResponseWriter, *http.Request)
CreateServingEnvironment(http.ResponseWriter, *http.Request)
GetServingEnvironment(http.ResponseWriter, *http.Request)
UpdateServingEnvironment(http.ResponseWriter, *http.Request)
GetEnvironmentInferenceServices(http.ResponseWriter, *http.Request)
CreateEnvironmentInferenceService(http.ResponseWriter, *http.Request)
}
ModelRegistryServiceAPIRouter defines the required methods for binding the api requests to a responses for the ModelRegistryServiceAPI The ModelRegistryServiceAPIRouter implementation should parse necessary information from the http request, pass the data to a ModelRegistryServiceAPIServicer to perform the required actions, then write the service results to the http response.
type ModelRegistryServiceAPIService ¶
type ModelRegistryServiceAPIService struct {
// contains filtered or unexported fields
}
ModelRegistryServiceAPIService is a service that implements the logic for the ModelRegistryServiceAPIServicer This service should implement the business logic for every endpoint for the ModelRegistryServiceAPI s.coreApi. Include any external packages or services that will be required by this service.
func (*ModelRegistryServiceAPIService) CreateArtifact ¶
func (s *ModelRegistryServiceAPIService) CreateArtifact(ctx context.Context, artifactCreate model.ArtifactCreate) (ImplResponse, error)
CreateArtifact - Create an Artifact
func (*ModelRegistryServiceAPIService) CreateEnvironmentInferenceService ¶
func (s *ModelRegistryServiceAPIService) CreateEnvironmentInferenceService(ctx context.Context, servingenvironmentId string, inferenceServiceCreate model.InferenceServiceCreate) (ImplResponse, error)
CreateEnvironmentInferenceService - Create a InferenceService in ServingEnvironment
func (*ModelRegistryServiceAPIService) CreateExperiment ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) CreateExperiment(ctx context.Context, experimentCreate model.ExperimentCreate) (ImplResponse, error)
CreateExperiment - Create an Experiment
func (*ModelRegistryServiceAPIService) CreateExperimentExperimentRun ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) CreateExperimentExperimentRun(ctx context.Context, experimentId string, experimentRun model.ExperimentRun) (ImplResponse, error)
CreateExperimentExperimentRun - Create an ExperimentRun in Experiment
func (*ModelRegistryServiceAPIService) CreateExperimentRun ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) CreateExperimentRun(ctx context.Context, experimentRunCreate model.ExperimentRunCreate) (ImplResponse, error)
CreateExperimentRun - Create an ExperimentRun
func (*ModelRegistryServiceAPIService) CreateInferenceService ¶
func (s *ModelRegistryServiceAPIService) CreateInferenceService(ctx context.Context, inferenceServiceCreate model.InferenceServiceCreate) (ImplResponse, error)
CreateInferenceService - Create a InferenceService
func (*ModelRegistryServiceAPIService) CreateInferenceServiceServe ¶
func (s *ModelRegistryServiceAPIService) CreateInferenceServiceServe(ctx context.Context, inferenceserviceId string, serveModelCreate model.ServeModelCreate) (ImplResponse, error)
CreateInferenceServiceServe - Create a ServeModel action in a InferenceService
func (*ModelRegistryServiceAPIService) CreateModelArtifact ¶
func (s *ModelRegistryServiceAPIService) CreateModelArtifact(ctx context.Context, modelArtifactCreate model.ModelArtifactCreate) (ImplResponse, error)
CreateModelArtifact - Create a ModelArtifact
func (*ModelRegistryServiceAPIService) CreateModelVersion ¶
func (s *ModelRegistryServiceAPIService) CreateModelVersion(ctx context.Context, modelVersionCreate model.ModelVersionCreate) (ImplResponse, error)
CreateModelVersion - Create a ModelVersion
func (*ModelRegistryServiceAPIService) CreateRegisteredModel ¶
func (s *ModelRegistryServiceAPIService) CreateRegisteredModel(ctx context.Context, registeredModelCreate model.RegisteredModelCreate) (ImplResponse, error)
CreateRegisteredModel - Create a RegisteredModel
func (*ModelRegistryServiceAPIService) CreateRegisteredModelVersion ¶
func (s *ModelRegistryServiceAPIService) CreateRegisteredModelVersion(ctx context.Context, registeredmodelId string, modelVersion model.ModelVersion) (ImplResponse, error)
CreateRegisteredModelVersion - Create a ModelVersion in RegisteredModel
func (*ModelRegistryServiceAPIService) CreateServingEnvironment ¶
func (s *ModelRegistryServiceAPIService) CreateServingEnvironment(ctx context.Context, servingEnvironmentCreate model.ServingEnvironmentCreate) (ImplResponse, error)
CreateServingEnvironment - Create a ServingEnvironment
func (*ModelRegistryServiceAPIService) FindArtifact ¶
func (s *ModelRegistryServiceAPIService) FindArtifact(ctx context.Context, name string, externalId string, parentResourceId string) (ImplResponse, error)
FindArtifact - Get an Artifact that matches search parameters.
func (*ModelRegistryServiceAPIService) FindExperiment ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) FindExperiment(ctx context.Context, name string, externalId string) (ImplResponse, error)
FindExperiment - Get an Experiment that matches search parameters
func (*ModelRegistryServiceAPIService) FindExperimentRun ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) FindExperimentRun(ctx context.Context, name string, externalId string, parentResourceId string) (ImplResponse, error)
FindExperimentRun - Get an ExperimentRun that matches search parameters
func (*ModelRegistryServiceAPIService) FindInferenceService ¶
func (s *ModelRegistryServiceAPIService) FindInferenceService(ctx context.Context, name string, externalId string, parentResourceId string) (ImplResponse, error)
FindInferenceService - Get an InferenceServices that matches search parameters.
func (*ModelRegistryServiceAPIService) FindModelArtifact ¶
func (s *ModelRegistryServiceAPIService) FindModelArtifact(ctx context.Context, name string, externalId string, parentResourceId string) (ImplResponse, error)
FindModelArtifact - Get a ModelArtifact that matches search parameters.
func (*ModelRegistryServiceAPIService) FindModelVersion ¶
func (s *ModelRegistryServiceAPIService) FindModelVersion(ctx context.Context, name string, externalId string, registeredModelId string) (ImplResponse, error)
FindModelVersion - Get a ModelVersion that matches search parameters.
func (*ModelRegistryServiceAPIService) FindRegisteredModel ¶
func (s *ModelRegistryServiceAPIService) FindRegisteredModel(ctx context.Context, name string, externalID string) (ImplResponse, error)
FindRegisteredModel - Get a RegisteredModel that matches search parameters.
func (*ModelRegistryServiceAPIService) FindServingEnvironment ¶
func (s *ModelRegistryServiceAPIService) FindServingEnvironment(ctx context.Context, name string, externalID string) (ImplResponse, error)
FindServingEnvironment - Find ServingEnvironment
func (*ModelRegistryServiceAPIService) GetArtifact ¶
func (s *ModelRegistryServiceAPIService) GetArtifact(ctx context.Context, artifactId string) (ImplResponse, error)
GetArtifact - Get a Artifact
func (*ModelRegistryServiceAPIService) GetArtifacts ¶
func (s *ModelRegistryServiceAPIService) GetArtifacts(ctx context.Context, filterQuery string, artifactType model.ArtifactTypeQueryParam, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetArtifacts - List All Artifacts
func (*ModelRegistryServiceAPIService) GetEnvironmentInferenceServices ¶
func (s *ModelRegistryServiceAPIService) GetEnvironmentInferenceServices(ctx context.Context, servingenvironmentId string, filterQuery string, name string, externalID string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetEnvironmentInferenceServices - List All ServingEnvironment's InferenceServices
func (*ModelRegistryServiceAPIService) GetExperiment ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) GetExperiment(ctx context.Context, experimentId string) (ImplResponse, error)
GetExperiment - Get an Experiment
func (*ModelRegistryServiceAPIService) GetExperimentExperimentRuns ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) GetExperimentExperimentRuns(ctx context.Context, experimentId string, name string, externalId string, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetExperimentExperimentRuns - List All Experiment's ExperimentRuns
func (*ModelRegistryServiceAPIService) GetExperimentRun ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) GetExperimentRun(ctx context.Context, experimentrunId string) (ImplResponse, error)
GetExperimentRun - Get an ExperimentRun
func (*ModelRegistryServiceAPIService) GetExperimentRunArtifacts ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) GetExperimentRunArtifacts(ctx context.Context, experimentrunId string, filterQuery string, name string, externalId string, artifactType model.ArtifactTypeQueryParam, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetExperimentRunArtifacts - List all artifacts associated with the ExperimentRun
func (*ModelRegistryServiceAPIService) GetExperimentRunMetricHistory ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) GetExperimentRunMetricHistory(ctx context.Context, experimentrunId string, filterQuery string, name string, stepIds string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetExperimentRunMetricHistory - Get metric history for an ExperimentRun
func (*ModelRegistryServiceAPIService) GetExperimentRuns ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) GetExperimentRuns(ctx context.Context, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetExperimentRuns - List All ExperimentRuns
func (*ModelRegistryServiceAPIService) GetExperimentRunsMetricHistory ¶ added in v0.3.1
func (s *ModelRegistryServiceAPIService) GetExperimentRunsMetricHistory(ctx context.Context, filterQuery string, name string, stepIds string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetExperimentRunsMetricHistory - Get metric history for multiple ExperimentRuns
func (*ModelRegistryServiceAPIService) GetExperiments ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) GetExperiments(ctx context.Context, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetExperiments - List All Experiments
func (*ModelRegistryServiceAPIService) GetInferenceService ¶
func (s *ModelRegistryServiceAPIService) GetInferenceService(ctx context.Context, inferenceserviceId string) (ImplResponse, error)
GetInferenceService - Get a InferenceService
func (*ModelRegistryServiceAPIService) GetInferenceServiceModel ¶
func (s *ModelRegistryServiceAPIService) GetInferenceServiceModel(ctx context.Context, inferenceserviceId string) (ImplResponse, error)
GetInferenceServiceModel - Get InferenceService's RegisteredModel
func (*ModelRegistryServiceAPIService) GetInferenceServiceServes ¶
func (s *ModelRegistryServiceAPIService) GetInferenceServiceServes(ctx context.Context, inferenceserviceId string, filterQuery string, name string, externalID string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetInferenceServiceServes - List All InferenceService's ServeModel actions
func (*ModelRegistryServiceAPIService) GetInferenceServiceVersion ¶
func (s *ModelRegistryServiceAPIService) GetInferenceServiceVersion(ctx context.Context, inferenceserviceId string) (ImplResponse, error)
GetInferenceServiceVersion - Get InferenceService's ModelVersion
func (*ModelRegistryServiceAPIService) GetInferenceServices ¶
func (s *ModelRegistryServiceAPIService) GetInferenceServices(ctx context.Context, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetInferenceServices - List All InferenceServices
func (*ModelRegistryServiceAPIService) GetModelArtifact ¶
func (s *ModelRegistryServiceAPIService) GetModelArtifact(ctx context.Context, modelartifactId string) (ImplResponse, error)
GetModelArtifact - Get a ModelArtifact
func (*ModelRegistryServiceAPIService) GetModelArtifacts ¶
func (s *ModelRegistryServiceAPIService) GetModelArtifacts(ctx context.Context, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetModelArtifacts - List All ModelArtifacts
func (*ModelRegistryServiceAPIService) GetModelVersion ¶
func (s *ModelRegistryServiceAPIService) GetModelVersion(ctx context.Context, modelversionId string) (ImplResponse, error)
GetModelVersion - Get a ModelVersion
func (*ModelRegistryServiceAPIService) GetModelVersionArtifacts ¶
func (s *ModelRegistryServiceAPIService) GetModelVersionArtifacts(ctx context.Context, modelversionId string, filterQuery string, name string, externalID string, artifactType model.ArtifactTypeQueryParam, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetModelVersionArtifacts - List All ModelVersion's artifacts
func (*ModelRegistryServiceAPIService) GetModelVersions ¶
func (s *ModelRegistryServiceAPIService) GetModelVersions(ctx context.Context, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetModelVersions - List All ModelVersions
func (*ModelRegistryServiceAPIService) GetRegisteredModel ¶
func (s *ModelRegistryServiceAPIService) GetRegisteredModel(ctx context.Context, registeredmodelId string) (ImplResponse, error)
GetRegisteredModel - Get a RegisteredModel
func (*ModelRegistryServiceAPIService) GetRegisteredModelVersions ¶
func (s *ModelRegistryServiceAPIService) GetRegisteredModelVersions(ctx context.Context, registeredmodelId string, name string, externalID string, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetRegisteredModelVersions - List All RegisteredModel's ModelVersions
func (*ModelRegistryServiceAPIService) GetRegisteredModels ¶
func (s *ModelRegistryServiceAPIService) GetRegisteredModels(ctx context.Context, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetRegisteredModels - List All RegisteredModels
func (*ModelRegistryServiceAPIService) GetServingEnvironment ¶
func (s *ModelRegistryServiceAPIService) GetServingEnvironment(ctx context.Context, servingenvironmentId string) (ImplResponse, error)
GetServingEnvironment - Get a ServingEnvironment
func (*ModelRegistryServiceAPIService) GetServingEnvironments ¶
func (s *ModelRegistryServiceAPIService) GetServingEnvironments(ctx context.Context, filterQuery string, pageSize string, orderBy model.OrderByField, sortOrder model.SortOrder, nextPageToken string) (ImplResponse, error)
GetServingEnvironments - List All ServingEnvironments
func (*ModelRegistryServiceAPIService) UpdateArtifact ¶
func (s *ModelRegistryServiceAPIService) UpdateArtifact(ctx context.Context, artifactId string, artifactUpdate model.ArtifactUpdate) (ImplResponse, error)
UpdateArtifact - Update a Artifact
func (*ModelRegistryServiceAPIService) UpdateExperiment ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) UpdateExperiment(ctx context.Context, experimentId string, experimentUpdate model.ExperimentUpdate) (ImplResponse, error)
UpdateExperiment - Update an Experiment
func (*ModelRegistryServiceAPIService) UpdateExperimentRun ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) UpdateExperimentRun(ctx context.Context, experimentrunId string, experimentRunUpdate model.ExperimentRunUpdate) (ImplResponse, error)
UpdateExperimentRun - Update an ExperimentRun
func (*ModelRegistryServiceAPIService) UpdateInferenceService ¶
func (s *ModelRegistryServiceAPIService) UpdateInferenceService(ctx context.Context, inferenceserviceId string, inferenceServiceUpdate model.InferenceServiceUpdate) (ImplResponse, error)
UpdateInferenceService - Update a InferenceService
func (*ModelRegistryServiceAPIService) UpdateModelArtifact ¶
func (s *ModelRegistryServiceAPIService) UpdateModelArtifact(ctx context.Context, modelartifactId string, modelArtifactUpdate model.ModelArtifactUpdate) (ImplResponse, error)
UpdateModelArtifact - Update a ModelArtifact
func (*ModelRegistryServiceAPIService) UpdateModelVersion ¶
func (s *ModelRegistryServiceAPIService) UpdateModelVersion(ctx context.Context, modelversionId string, modelVersionUpdate model.ModelVersionUpdate) (ImplResponse, error)
UpdateModelVersion - Update a ModelVersion
func (*ModelRegistryServiceAPIService) UpdateRegisteredModel ¶
func (s *ModelRegistryServiceAPIService) UpdateRegisteredModel(ctx context.Context, registeredmodelId string, registeredModelUpdate model.RegisteredModelUpdate) (ImplResponse, error)
UpdateRegisteredModel - Update a RegisteredModel
func (*ModelRegistryServiceAPIService) UpdateServingEnvironment ¶
func (s *ModelRegistryServiceAPIService) UpdateServingEnvironment(ctx context.Context, servingenvironmentId string, servingEnvironmentUpdate model.ServingEnvironmentUpdate) (ImplResponse, error)
UpdateServingEnvironment - Update a ServingEnvironment
func (*ModelRegistryServiceAPIService) UpsertExperimentRunArtifact ¶ added in v0.3.0
func (s *ModelRegistryServiceAPIService) UpsertExperimentRunArtifact(ctx context.Context, experimentrunId string, artifact model.Artifact) (ImplResponse, error)
UpsertExperimentRunArtifact - Upsert an Artifact in an ExperimentRun
func (*ModelRegistryServiceAPIService) UpsertModelVersionArtifact ¶
func (s *ModelRegistryServiceAPIService) UpsertModelVersionArtifact(ctx context.Context, modelversionId string, artifact model.Artifact) (ImplResponse, error)
CreateModelVersionArtifact - Create an Artifact in a ModelVersion
type ModelRegistryServiceAPIServicer ¶
type ModelRegistryServiceAPIServicer interface {
FindArtifact(context.Context, string, string, string) (ImplResponse, error)
GetArtifacts(context.Context, string, model.ArtifactTypeQueryParam, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateArtifact(context.Context, model.ArtifactCreate) (ImplResponse, error)
GetArtifact(context.Context, string) (ImplResponse, error)
UpdateArtifact(context.Context, string, model.ArtifactUpdate) (ImplResponse, error)
FindExperiment(context.Context, string, string) (ImplResponse, error)
FindExperimentRun(context.Context, string, string, string) (ImplResponse, error)
GetExperimentRuns(context.Context, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateExperimentRun(context.Context, model.ExperimentRunCreate) (ImplResponse, error)
GetExperimentRunsMetricHistory(context.Context, string, string, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
GetExperimentRun(context.Context, string) (ImplResponse, error)
UpdateExperimentRun(context.Context, string, model.ExperimentRunUpdate) (ImplResponse, error)
GetExperimentRunArtifacts(context.Context, string, string, string, string, model.ArtifactTypeQueryParam, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
UpsertExperimentRunArtifact(context.Context, string, model.Artifact) (ImplResponse, error)
GetExperimentRunMetricHistory(context.Context, string, string, string, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
GetExperiments(context.Context, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateExperiment(context.Context, model.ExperimentCreate) (ImplResponse, error)
GetExperiment(context.Context, string) (ImplResponse, error)
UpdateExperiment(context.Context, string, model.ExperimentUpdate) (ImplResponse, error)
GetExperimentExperimentRuns(context.Context, string, string, string, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateExperimentExperimentRun(context.Context, string, model.ExperimentRun) (ImplResponse, error)
FindInferenceService(context.Context, string, string, string) (ImplResponse, error)
GetInferenceServices(context.Context, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateInferenceService(context.Context, model.InferenceServiceCreate) (ImplResponse, error)
GetInferenceService(context.Context, string) (ImplResponse, error)
UpdateInferenceService(context.Context, string, model.InferenceServiceUpdate) (ImplResponse, error)
GetInferenceServiceModel(context.Context, string) (ImplResponse, error)
GetInferenceServiceServes(context.Context, string, string, string, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateInferenceServiceServe(context.Context, string, model.ServeModelCreate) (ImplResponse, error)
GetInferenceServiceVersion(context.Context, string) (ImplResponse, error)
FindModelArtifact(context.Context, string, string, string) (ImplResponse, error)
GetModelArtifacts(context.Context, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateModelArtifact(context.Context, model.ModelArtifactCreate) (ImplResponse, error)
GetModelArtifact(context.Context, string) (ImplResponse, error)
UpdateModelArtifact(context.Context, string, model.ModelArtifactUpdate) (ImplResponse, error)
FindModelVersion(context.Context, string, string, string) (ImplResponse, error)
GetModelVersions(context.Context, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateModelVersion(context.Context, model.ModelVersionCreate) (ImplResponse, error)
GetModelVersion(context.Context, string) (ImplResponse, error)
UpdateModelVersion(context.Context, string, model.ModelVersionUpdate) (ImplResponse, error)
GetModelVersionArtifacts(context.Context, string, string, string, string, model.ArtifactTypeQueryParam, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
UpsertModelVersionArtifact(context.Context, string, model.Artifact) (ImplResponse, error)
FindRegisteredModel(context.Context, string, string) (ImplResponse, error)
GetRegisteredModels(context.Context, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateRegisteredModel(context.Context, model.RegisteredModelCreate) (ImplResponse, error)
GetRegisteredModel(context.Context, string) (ImplResponse, error)
UpdateRegisteredModel(context.Context, string, model.RegisteredModelUpdate) (ImplResponse, error)
GetRegisteredModelVersions(context.Context, string, string, string, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateRegisteredModelVersion(context.Context, string, model.ModelVersion) (ImplResponse, error)
FindServingEnvironment(context.Context, string, string) (ImplResponse, error)
GetServingEnvironments(context.Context, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateServingEnvironment(context.Context, model.ServingEnvironmentCreate) (ImplResponse, error)
GetServingEnvironment(context.Context, string) (ImplResponse, error)
UpdateServingEnvironment(context.Context, string, model.ServingEnvironmentUpdate) (ImplResponse, error)
GetEnvironmentInferenceServices(context.Context, string, string, string, string, string, model.OrderByField, model.SortOrder, string) (ImplResponse, error)
CreateEnvironmentInferenceService(context.Context, string, model.InferenceServiceCreate) (ImplResponse, error)
}
ModelRegistryServiceAPIServicer defines the api actions for the ModelRegistryServiceAPI service This interface intended to stay up to date with the openapi yaml used to generate it, while the service implementation can be ignored with the .openapi-generator-ignore file and updated with the logic required for the API.
func NewModelRegistryServiceAPIService ¶
func NewModelRegistryServiceAPIService(coreApi api.ModelRegistryApi) ModelRegistryServiceAPIServicer
NewModelRegistryServiceAPIService creates a default api service
type Operation ¶
func WithDefaultOrParse ¶
func WithDefaultOrParse[T Number | string | bool](def T, parse ParseString[T]) Operation[T]
func WithRequire ¶
func WithRequire[T Number | string | bool](parse ParseString[T]) Operation[T]
type ParsingError ¶
ParsingError indicates that an error has occurred when parsing request parameters
func (*ParsingError) Error ¶
func (e *ParsingError) Error() string
func (*ParsingError) Unwrap ¶
func (e *ParsingError) Unwrap() error
type RequiredError ¶
type RequiredError struct {
Field string
}
RequiredError indicates that an error has occurred when parsing request parameters
func (*RequiredError) Error ¶
func (e *RequiredError) Error() string
type Route ¶
type Route struct {
Name string
Method string
Pattern string
HandlerFunc http.HandlerFunc
}
A Route defines the parameters for an api endpoint