Documentation ¶
Index ¶
- type Mapper
- func (m *Mapper) MapFromArtifact(artifact *openapi.Artifact, modelVersionId *string) (*proto.Artifact, error)
- func (m *Mapper) MapFromDocArtifact(docArtifact *openapi.DocArtifact, modelVersionId *string) (*proto.Artifact, error)
- func (m *Mapper) MapFromInferenceService(inferenceService *openapi.InferenceService, servingEnvironmentId string) (*proto.Context, error)
- func (m *Mapper) MapFromModelArtifact(modelArtifact *openapi.ModelArtifact, modelVersionId *string) (*proto.Artifact, error)
- func (m *Mapper) MapFromModelArtifacts(modelArtifacts []openapi.ModelArtifact, modelVersionId *string) ([]*proto.Artifact, error)
- func (m *Mapper) MapFromModelVersion(modelVersion *openapi.ModelVersion, registeredModelId string, ...) (*proto.Context, error)
- func (m *Mapper) MapFromRegisteredModel(registeredModel *openapi.RegisteredModel) (*proto.Context, error)
- func (m *Mapper) MapFromServeModel(serveModel *openapi.ServeModel, inferenceServiceId string) (*proto.Execution, error)
- func (m *Mapper) MapFromServingEnvironment(servingEnvironment *openapi.ServingEnvironment) (*proto.Context, error)
- func (m *Mapper) MapToArtifact(art *proto.Artifact) (*openapi.Artifact, error)
- func (m *Mapper) MapToDocArtifact(art *proto.Artifact) (*openapi.DocArtifact, error)
- func (m *Mapper) MapToInferenceService(ctx *proto.Context) (*openapi.InferenceService, error)
- func (m *Mapper) MapToModelArtifact(art *proto.Artifact) (*openapi.ModelArtifact, error)
- func (m *Mapper) MapToModelVersion(ctx *proto.Context) (*openapi.ModelVersion, error)
- func (m *Mapper) MapToRegisteredModel(ctx *proto.Context) (*openapi.RegisteredModel, error)
- func (m *Mapper) MapToServeModel(ex *proto.Execution) (*openapi.ServeModel, error)
- func (m *Mapper) MapToServingEnvironment(ctx *proto.Context) (*openapi.ServingEnvironment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mapper ¶
type Mapper struct { OpenAPIConverter converter.OpenAPIToMLMDConverter MLMDConverter converter.MLMDToOpenAPIConverter MLMDTypes map[string]int64 }
func (*Mapper) MapFromArtifact ¶
func (*Mapper) MapFromDocArtifact ¶
func (*Mapper) MapFromInferenceService ¶
func (*Mapper) MapFromModelArtifact ¶
func (*Mapper) MapFromModelArtifacts ¶
func (*Mapper) MapFromModelVersion ¶
func (*Mapper) MapFromRegisteredModel ¶
func (*Mapper) MapFromServeModel ¶
func (*Mapper) MapFromServingEnvironment ¶
func (*Mapper) MapToArtifact ¶
func (*Mapper) MapToDocArtifact ¶
func (*Mapper) MapToInferenceService ¶
func (*Mapper) MapToModelArtifact ¶
func (*Mapper) MapToModelVersion ¶
func (*Mapper) MapToRegisteredModel ¶
func (*Mapper) MapToServeModel ¶
func (*Mapper) MapToServingEnvironment ¶
Click to show internal directories.
Click to hide internal directories.