Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterModelServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterModelServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelServiceClient) error
- func RegisterModelServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterModelServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelServiceServer) error
- func RegisterModelServiceServer(s grpc.ServiceRegistrar, srv ModelServiceServer)
- type AbortModelRequest
- func (*AbortModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AbortModelRequest) GetName() string
- func (x *AbortModelRequest) GetNamespace() string
- func (*AbortModelRequest) ProtoMessage()
- func (x *AbortModelRequest) ProtoReflect() protoreflect.Message
- func (x *AbortModelRequest) Reset()
- func (x *AbortModelRequest) String() string
- type AbortModelResponse
- type CompareModelsRequest
- func (*CompareModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompareModelsRequest) GetNames() []string
- func (x *CompareModelsRequest) GetNamespace() string
- func (*CompareModelsRequest) ProtoMessage()
- func (x *CompareModelsRequest) ProtoReflect() protoreflect.Message
- func (x *CompareModelsRequest) Reset()
- func (x *CompareModelsRequest) String() string
- type CompareModelsResponse
- func (*CompareModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompareModelsResponse) GetNames() []string
- func (x *CompareModelsResponse) GetNamespace() string
- func (x *CompareModelsResponse) GetProfiles() []*v1.ModelProfile
- func (*CompareModelsResponse) ProtoMessage()
- func (x *CompareModelsResponse) ProtoReflect() protoreflect.Message
- func (x *CompareModelsResponse) Reset()
- func (x *CompareModelsResponse) String() string
- type CompileModelRequest
- func (*CompileModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompileModelRequest) GetCompiler() string
- func (x *CompileModelRequest) GetName() string
- func (x *CompileModelRequest) GetNamespace() string
- func (x *CompileModelRequest) GetTarget() string
- func (*CompileModelRequest) ProtoMessage()
- func (x *CompileModelRequest) ProtoReflect() protoreflect.Message
- func (x *CompileModelRequest) Reset()
- func (x *CompileModelRequest) String() string
- type CompileModelResponse
- func (*CompileModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompileModelResponse) GetNames() string
- func (x *CompileModelResponse) GetNamespace() string
- func (*CompileModelResponse) ProtoMessage()
- func (x *CompileModelResponse) ProtoReflect() protoreflect.Message
- func (x *CompileModelResponse) Reset()
- func (x *CompileModelResponse) String() string
- type CreateModelProfileRequest
- func (*CreateModelProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelProfileRequest) GetName() string
- func (x *CreateModelProfileRequest) GetNamespace() string
- func (*CreateModelProfileRequest) ProtoMessage()
- func (x *CreateModelProfileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModelProfileRequest) Reset()
- func (x *CreateModelProfileRequest) String() string
- type CreateModelProfileResponse
- func (*CreateModelProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelProfileResponse) GetUri() string
- func (*CreateModelProfileResponse) ProtoMessage()
- func (x *CreateModelProfileResponse) ProtoReflect() protoreflect.Message
- func (x *CreateModelProfileResponse) Reset()
- func (x *CreateModelProfileResponse) String() string
- type CreateModelRequest
- func (*CreateModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelRequest) GetModel() *v1alpha1.Model
- func (*CreateModelRequest) ProtoMessage()
- func (x *CreateModelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModelRequest) Reset()
- func (x *CreateModelRequest) String() string
- type CreateModelResponse
- type DeleteModelRequest
- func (*DeleteModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteModelRequest) GetName() string
- func (x *DeleteModelRequest) GetNamespace() string
- func (*DeleteModelRequest) ProtoMessage()
- func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteModelRequest) Reset()
- func (x *DeleteModelRequest) String() string
- type DeleteModelResponse
- type DeployModelRequest
- func (*DeployModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployModelRequest) GetName() string
- func (x *DeployModelRequest) GetNamespace() string
- func (x *DeployModelRequest) GetPredictor() string
- func (x *DeployModelRequest) GetReplicas() int32
- func (x *DeployModelRequest) GetRole() string
- func (x *DeployModelRequest) GetTraffic() int32
- func (*DeployModelRequest) ProtoMessage()
- func (x *DeployModelRequest) ProtoReflect() protoreflect.Message
- func (x *DeployModelRequest) Reset()
- func (x *DeployModelRequest) String() string
- type DeployModelResponse
- type DownloadModelRequest
- func (*DownloadModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadModelRequest) GetGroup() string
- func (x *DownloadModelRequest) GetName() string
- func (x *DownloadModelRequest) GetNamespace() string
- func (*DownloadModelRequest) ProtoMessage()
- func (x *DownloadModelRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadModelRequest) Reset()
- func (x *DownloadModelRequest) String() string
- type DownloadModelResponse
- func (*DownloadModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadModelResponse) GetRaw() []byte
- func (*DownloadModelResponse) ProtoMessage()
- func (x *DownloadModelResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadModelResponse) Reset()
- func (x *DownloadModelResponse) String() string
- type FlagModelRequest
- func (*FlagModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FlagModelRequest) GetName() string
- func (x *FlagModelRequest) GetNamespace() string
- func (*FlagModelRequest) ProtoMessage()
- func (x *FlagModelRequest) ProtoReflect() protoreflect.Message
- func (x *FlagModelRequest) Reset()
- func (x *FlagModelRequest) String() string
- type FlagModelResponse
- type GetMisclassRequest
- func (*GetMisclassRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMisclassRequest) GetName() string
- func (x *GetMisclassRequest) GetNamespace() string
- func (*GetMisclassRequest) ProtoMessage()
- func (x *GetMisclassRequest) ProtoReflect() protoreflect.Message
- func (x *GetMisclassRequest) Reset()
- func (x *GetMisclassRequest) String() string
- type GetMisclassResponse
- func (*GetMisclassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMisclassResponse) GetTable() *v1.TableView
- func (*GetMisclassResponse) ProtoMessage()
- func (x *GetMisclassResponse) ProtoReflect() protoreflect.Message
- func (x *GetMisclassResponse) Reset()
- func (x *GetMisclassResponse) String() string
- type GetModelLogsRequest
- func (*GetModelLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelLogsRequest) GetName() string
- func (x *GetModelLogsRequest) GetNamespace() string
- func (*GetModelLogsRequest) ProtoMessage()
- func (x *GetModelLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelLogsRequest) Reset()
- func (x *GetModelLogsRequest) String() string
- type GetModelLogsResponse
- func (*GetModelLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelLogsResponse) GetLogs() map[string]string
- func (*GetModelLogsResponse) ProtoMessage()
- func (x *GetModelLogsResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelLogsResponse) Reset()
- func (x *GetModelLogsResponse) String() string
- type GetModelProfileRequest
- func (*GetModelProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelProfileRequest) GetGroup() string
- func (x *GetModelProfileRequest) GetName() string
- func (x *GetModelProfileRequest) GetNamespace() string
- func (x *GetModelProfileRequest) GetUri() string
- func (*GetModelProfileRequest) ProtoMessage()
- func (x *GetModelProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelProfileRequest) Reset()
- func (x *GetModelProfileRequest) String() string
- type GetModelProfileResponse
- func (*GetModelProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelProfileResponse) GetProfile() *v1.ModelProfile
- func (*GetModelProfileResponse) ProtoMessage()
- func (x *GetModelProfileResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelProfileResponse) Reset()
- func (x *GetModelProfileResponse) String() string
- type GetModelRequest
- func (*GetModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelRequest) GetName() string
- func (x *GetModelRequest) GetNamespace() string
- func (*GetModelRequest) ProtoMessage()
- func (x *GetModelRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelRequest) Reset()
- func (x *GetModelRequest) String() string
- type GetModelResponse
- func (*GetModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelResponse) GetModel() *v1alpha1.Model
- func (x *GetModelResponse) GetYaml() string
- func (*GetModelResponse) ProtoMessage()
- func (x *GetModelResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelResponse) Reset()
- func (x *GetModelResponse) String() string
- type ListModelProfileRequest
- func (*ListModelProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelProfileRequest) GetName() string
- func (x *ListModelProfileRequest) GetNamespace() string
- func (*ListModelProfileRequest) ProtoMessage()
- func (x *ListModelProfileRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelProfileRequest) Reset()
- func (x *ListModelProfileRequest) String() string
- type ListModelsRequest
- func (*ListModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelsRequest) GetLabels() map[string]string
- func (x *ListModelsRequest) GetNamespace() string
- func (x *ListModelsRequest) GetOrderBy() string
- func (x *ListModelsRequest) GetPageSize() int32
- func (x *ListModelsRequest) GetPageToken() string
- func (*ListModelsRequest) ProtoMessage()
- func (x *ListModelsRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelsRequest) Reset()
- func (x *ListModelsRequest) String() string
- type ListModelsResponse
- func (*ListModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelsResponse) GetModels() *v1alpha1.ModelList
- func (*ListModelsResponse) ProtoMessage()
- func (x *ListModelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListModelsResponse) Reset()
- func (x *ListModelsResponse) String() string
- type ModelServiceClient
- type ModelServiceServer
- type PauseModelRequest
- func (*PauseModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PauseModelRequest) GetName() string
- func (x *PauseModelRequest) GetNamespace() string
- func (*PauseModelRequest) ProtoMessage()
- func (x *PauseModelRequest) ProtoReflect() protoreflect.Message
- func (x *PauseModelRequest) Reset()
- func (x *PauseModelRequest) String() string
- type PauseModelResponse
- type PublishModelRequest
- func (*PublishModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishModelRequest) GetName() string
- func (x *PublishModelRequest) GetNamespace() string
- func (*PublishModelRequest) ProtoMessage()
- func (x *PublishModelRequest) ProtoReflect() protoreflect.Message
- func (x *PublishModelRequest) Reset()
- func (x *PublishModelRequest) String() string
- type PublishModelResponse
- func (*PublishModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublishModelResponse) GetModelTarHash() string
- func (*PublishModelResponse) ProtoMessage()
- func (x *PublishModelResponse) ProtoReflect() protoreflect.Message
- func (x *PublishModelResponse) Reset()
- func (x *PublishModelResponse) String() string
- type ResumeModelRequest
- func (*ResumeModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeModelRequest) GetName() string
- func (x *ResumeModelRequest) GetNamespace() string
- func (*ResumeModelRequest) ProtoMessage()
- func (x *ResumeModelRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeModelRequest) Reset()
- func (x *ResumeModelRequest) String() string
- type ResumeModelResponse
- type TestModelRequest
- func (*TestModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestModelRequest) GetName() string
- func (x *TestModelRequest) GetNamespace() string
- func (*TestModelRequest) ProtoMessage()
- func (x *TestModelRequest) ProtoReflect() protoreflect.Message
- func (x *TestModelRequest) Reset()
- func (x *TestModelRequest) String() string
- type TestModelResponse
- type UnimplementedModelServiceServer
- func (UnimplementedModelServiceServer) AbortModel(context.Context, *AbortModelRequest) (*AbortModelResponse, error)
- func (UnimplementedModelServiceServer) CompareModels(context.Context, *CompareModelsRequest) (*CompareModelsResponse, error)
- func (UnimplementedModelServiceServer) CompileModel(context.Context, *CompileModelRequest) (*CompileModelResponse, error)
- func (UnimplementedModelServiceServer) CreateModel(context.Context, *CreateModelRequest) (*CreateModelResponse, error)
- func (UnimplementedModelServiceServer) CreateModelProfile(context.Context, *CreateModelProfileRequest) (*CreateModelProfileResponse, error)
- func (UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error)
- func (UnimplementedModelServiceServer) DeployModel(context.Context, *DeployModelRequest) (*DeployModelResponse, error)
- func (UnimplementedModelServiceServer) DownloadModel(context.Context, *DownloadModelRequest) (*DownloadModelResponse, error)
- func (UnimplementedModelServiceServer) FlagModel(context.Context, *FlagModelRequest) (*FlagModelResponse, error)
- func (UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*GetModelResponse, error)
- func (UnimplementedModelServiceServer) GetModelLogs(context.Context, *GetModelLogsRequest) (*GetModelLogsResponse, error)
- func (UnimplementedModelServiceServer) GetModelMisclass(context.Context, *GetMisclassRequest) (*GetMisclassResponse, error)
- func (UnimplementedModelServiceServer) GetModelProfile(context.Context, *GetModelProfileRequest) (*GetModelProfileResponse, error)
- func (UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
- func (UnimplementedModelServiceServer) PauseModel(context.Context, *PauseModelRequest) (*PauseModelResponse, error)
- func (UnimplementedModelServiceServer) PublishModel(context.Context, *PublishModelRequest) (*PublishModelResponse, error)
- func (UnimplementedModelServiceServer) ResumeModel(context.Context, *ResumeModelRequest) (*ResumeModelResponse, error)
- func (UnimplementedModelServiceServer) TestModel(context.Context, *TestModelRequest) (*TestModelResponse, error)
- func (UnimplementedModelServiceServer) UpdateModel(context.Context, *UpdateModelRequest) (*UpdateModelResponse, error)
- type UnsafeModelServiceServer
- type UpdateModelRequest
- func (*UpdateModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModelRequest) GetModel() *v1alpha1.Model
- func (*UpdateModelRequest) ProtoMessage()
- func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateModelRequest) Reset()
- func (x *UpdateModelRequest) String() string
- type UpdateModelResponse
- type UpdateModelResult
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_model_v1_model_proto protoreflect.FileDescriptor
var ModelService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.model.v1.ModelService", HandlerType: (*ModelServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListModels", Handler: _ModelService_ListModels_Handler, }, { MethodName: "CreateModel", Handler: _ModelService_CreateModel_Handler, }, { MethodName: "GetModel", Handler: _ModelService_GetModel_Handler, }, { MethodName: "UpdateModel", Handler: _ModelService_UpdateModel_Handler, }, { MethodName: "DeleteModel", Handler: _ModelService_DeleteModel_Handler, }, { MethodName: "DeployModel", Handler: _ModelService_DeployModel_Handler, }, { MethodName: "PublishModel", Handler: _ModelService_PublishModel_Handler, }, { MethodName: "CreateModelProfile", Handler: _ModelService_CreateModelProfile_Handler, }, { MethodName: "GetModelProfile", Handler: _ModelService_GetModelProfile_Handler, }, { MethodName: "GetModelMisclass", Handler: _ModelService_GetModelMisclass_Handler, }, { MethodName: "GetModelLogs", Handler: _ModelService_GetModelLogs_Handler, }, { MethodName: "AbortModel", Handler: _ModelService_AbortModel_Handler, }, { MethodName: "PauseModel", Handler: _ModelService_PauseModel_Handler, }, { MethodName: "ResumeModel", Handler: _ModelService_ResumeModel_Handler, }, { MethodName: "CompareModels", Handler: _ModelService_CompareModels_Handler, }, { MethodName: "CompileModel", Handler: _ModelService_CompileModel_Handler, }, { MethodName: "DownloadModel", Handler: _ModelService_DownloadModel_Handler, }, { MethodName: "FlagModel", Handler: _ModelService_FlagModel_Handler, }, { MethodName: "TestModel", Handler: _ModelService_TestModel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/metaprov/modelaapi/services/model/v1/model.proto", }
ModelService_ServiceDesc is the grpc.ServiceDesc for ModelService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterModelServiceHandler ¶ added in v0.4.687
func RegisterModelServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterModelServiceHandler registers the http handlers for service ModelService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterModelServiceHandlerClient ¶ added in v0.4.687
func RegisterModelServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelServiceClient) error
RegisterModelServiceHandlerClient registers the http handlers for service ModelService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ModelServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ModelServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ModelServiceClient" to call the correct interceptors.
func RegisterModelServiceHandlerFromEndpoint ¶ added in v0.4.687
func RegisterModelServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterModelServiceHandlerFromEndpoint is same as RegisterModelServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterModelServiceHandlerServer ¶ added in v0.4.687
func RegisterModelServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelServiceServer) error
RegisterModelServiceHandlerServer registers the http handlers for service ModelService to "mux". UnaryRPC :call ModelServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterModelServiceHandlerFromEndpoint instead.
func RegisterModelServiceServer ¶
func RegisterModelServiceServer(s grpc.ServiceRegistrar, srv ModelServiceServer)
Types ¶
type AbortModelRequest ¶
type AbortModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AbortModelRequest) Descriptor
deprecated
func (*AbortModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use AbortModelRequest.ProtoReflect.Descriptor instead.
func (*AbortModelRequest) GetName ¶
func (x *AbortModelRequest) GetName() string
func (*AbortModelRequest) GetNamespace ¶
func (x *AbortModelRequest) GetNamespace() string
func (*AbortModelRequest) ProtoMessage ¶
func (*AbortModelRequest) ProtoMessage()
func (*AbortModelRequest) ProtoReflect ¶
func (x *AbortModelRequest) ProtoReflect() protoreflect.Message
func (*AbortModelRequest) Reset ¶
func (x *AbortModelRequest) Reset()
func (*AbortModelRequest) String ¶
func (x *AbortModelRequest) String() string
type AbortModelResponse ¶
type AbortModelResponse struct {
// contains filtered or unexported fields
}
func (*AbortModelResponse) Descriptor
deprecated
func (*AbortModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use AbortModelResponse.ProtoReflect.Descriptor instead.
func (*AbortModelResponse) ProtoMessage ¶
func (*AbortModelResponse) ProtoMessage()
func (*AbortModelResponse) ProtoReflect ¶
func (x *AbortModelResponse) ProtoReflect() protoreflect.Message
func (*AbortModelResponse) Reset ¶
func (x *AbortModelResponse) Reset()
func (*AbortModelResponse) String ¶
func (x *AbortModelResponse) String() string
type CompareModelsRequest ¶
type CompareModelsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*CompareModelsRequest) Descriptor
deprecated
func (*CompareModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompareModelsRequest.ProtoReflect.Descriptor instead.
func (*CompareModelsRequest) GetNames ¶
func (x *CompareModelsRequest) GetNames() []string
func (*CompareModelsRequest) GetNamespace ¶
func (x *CompareModelsRequest) GetNamespace() string
func (*CompareModelsRequest) ProtoMessage ¶
func (*CompareModelsRequest) ProtoMessage()
func (*CompareModelsRequest) ProtoReflect ¶
func (x *CompareModelsRequest) ProtoReflect() protoreflect.Message
func (*CompareModelsRequest) Reset ¶
func (x *CompareModelsRequest) Reset()
func (*CompareModelsRequest) String ¶
func (x *CompareModelsRequest) String() string
type CompareModelsResponse ¶
type CompareModelsResponse struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` Profiles []*v1.ModelProfile `protobuf:"bytes,3,rep,name=profiles,proto3" json:"profiles,omitempty"` // contains filtered or unexported fields }
func (*CompareModelsResponse) Descriptor
deprecated
func (*CompareModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompareModelsResponse.ProtoReflect.Descriptor instead.
func (*CompareModelsResponse) GetNames ¶
func (x *CompareModelsResponse) GetNames() []string
func (*CompareModelsResponse) GetNamespace ¶
func (x *CompareModelsResponse) GetNamespace() string
func (*CompareModelsResponse) GetProfiles ¶
func (x *CompareModelsResponse) GetProfiles() []*v1.ModelProfile
func (*CompareModelsResponse) ProtoMessage ¶
func (*CompareModelsResponse) ProtoMessage()
func (*CompareModelsResponse) ProtoReflect ¶
func (x *CompareModelsResponse) ProtoReflect() protoreflect.Message
func (*CompareModelsResponse) Reset ¶
func (x *CompareModelsResponse) Reset()
func (*CompareModelsResponse) String ¶
func (x *CompareModelsResponse) String() string
type CompileModelRequest ¶
type CompileModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Compiler string `protobuf:"bytes,4,opt,name=compiler,proto3" json:"compiler,omitempty"` // contains filtered or unexported fields }
func (*CompileModelRequest) Descriptor
deprecated
func (*CompileModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompileModelRequest.ProtoReflect.Descriptor instead.
func (*CompileModelRequest) GetCompiler ¶
func (x *CompileModelRequest) GetCompiler() string
func (*CompileModelRequest) GetName ¶
func (x *CompileModelRequest) GetName() string
func (*CompileModelRequest) GetNamespace ¶
func (x *CompileModelRequest) GetNamespace() string
func (*CompileModelRequest) GetTarget ¶
func (x *CompileModelRequest) GetTarget() string
func (*CompileModelRequest) ProtoMessage ¶
func (*CompileModelRequest) ProtoMessage()
func (*CompileModelRequest) ProtoReflect ¶
func (x *CompileModelRequest) ProtoReflect() protoreflect.Message
func (*CompileModelRequest) Reset ¶
func (x *CompileModelRequest) Reset()
func (*CompileModelRequest) String ¶
func (x *CompileModelRequest) String() string
type CompileModelResponse ¶
type CompileModelResponse struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Names string `protobuf:"bytes,2,opt,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*CompileModelResponse) Descriptor
deprecated
func (*CompileModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompileModelResponse.ProtoReflect.Descriptor instead.
func (*CompileModelResponse) GetNames ¶
func (x *CompileModelResponse) GetNames() string
func (*CompileModelResponse) GetNamespace ¶
func (x *CompileModelResponse) GetNamespace() string
func (*CompileModelResponse) ProtoMessage ¶
func (*CompileModelResponse) ProtoMessage()
func (*CompileModelResponse) ProtoReflect ¶
func (x *CompileModelResponse) ProtoReflect() protoreflect.Message
func (*CompileModelResponse) Reset ¶
func (x *CompileModelResponse) Reset()
func (*CompileModelResponse) String ¶
func (x *CompileModelResponse) String() string
type CreateModelProfileRequest ¶
type CreateModelProfileRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateModelProfileRequest) Descriptor
deprecated
func (*CreateModelProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateModelProfileRequest) GetName ¶
func (x *CreateModelProfileRequest) GetName() string
func (*CreateModelProfileRequest) GetNamespace ¶
func (x *CreateModelProfileRequest) GetNamespace() string
func (*CreateModelProfileRequest) ProtoMessage ¶
func (*CreateModelProfileRequest) ProtoMessage()
func (*CreateModelProfileRequest) ProtoReflect ¶
func (x *CreateModelProfileRequest) ProtoReflect() protoreflect.Message
func (*CreateModelProfileRequest) Reset ¶
func (x *CreateModelProfileRequest) Reset()
func (*CreateModelProfileRequest) String ¶
func (x *CreateModelProfileRequest) String() string
type CreateModelProfileResponse ¶
type CreateModelProfileResponse struct { Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
func (*CreateModelProfileResponse) Descriptor
deprecated
func (*CreateModelProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelProfileResponse.ProtoReflect.Descriptor instead.
func (*CreateModelProfileResponse) GetUri ¶
func (x *CreateModelProfileResponse) GetUri() string
func (*CreateModelProfileResponse) ProtoMessage ¶
func (*CreateModelProfileResponse) ProtoMessage()
func (*CreateModelProfileResponse) ProtoReflect ¶
func (x *CreateModelProfileResponse) ProtoReflect() protoreflect.Message
func (*CreateModelProfileResponse) Reset ¶
func (x *CreateModelProfileResponse) Reset()
func (*CreateModelProfileResponse) String ¶
func (x *CreateModelProfileResponse) String() string
type CreateModelRequest ¶
type CreateModelRequest struct { Model *v1alpha1.Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
func (*CreateModelRequest) Descriptor
deprecated
func (*CreateModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelRequest.ProtoReflect.Descriptor instead.
func (*CreateModelRequest) GetModel ¶ added in v0.4.475
func (x *CreateModelRequest) GetModel() *v1alpha1.Model
func (*CreateModelRequest) ProtoMessage ¶
func (*CreateModelRequest) ProtoMessage()
func (*CreateModelRequest) ProtoReflect ¶
func (x *CreateModelRequest) ProtoReflect() protoreflect.Message
func (*CreateModelRequest) Reset ¶
func (x *CreateModelRequest) Reset()
func (*CreateModelRequest) String ¶
func (x *CreateModelRequest) String() string
type CreateModelResponse ¶
type CreateModelResponse struct {
// contains filtered or unexported fields
}
func (*CreateModelResponse) Descriptor
deprecated
func (*CreateModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelResponse.ProtoReflect.Descriptor instead.
func (*CreateModelResponse) ProtoMessage ¶
func (*CreateModelResponse) ProtoMessage()
func (*CreateModelResponse) ProtoReflect ¶
func (x *CreateModelResponse) ProtoReflect() protoreflect.Message
func (*CreateModelResponse) Reset ¶
func (x *CreateModelResponse) Reset()
func (*CreateModelResponse) String ¶
func (x *CreateModelResponse) String() string
type DeleteModelRequest ¶
type DeleteModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteModelRequest) Descriptor
deprecated
func (*DeleteModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.
func (*DeleteModelRequest) GetName ¶
func (x *DeleteModelRequest) GetName() string
func (*DeleteModelRequest) GetNamespace ¶
func (x *DeleteModelRequest) GetNamespace() string
func (*DeleteModelRequest) ProtoMessage ¶
func (*DeleteModelRequest) ProtoMessage()
func (*DeleteModelRequest) ProtoReflect ¶
func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message
func (*DeleteModelRequest) Reset ¶
func (x *DeleteModelRequest) Reset()
func (*DeleteModelRequest) String ¶
func (x *DeleteModelRequest) String() string
type DeleteModelResponse ¶
type DeleteModelResponse struct {
// contains filtered or unexported fields
}
func (*DeleteModelResponse) Descriptor
deprecated
func (*DeleteModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelResponse.ProtoReflect.Descriptor instead.
func (*DeleteModelResponse) ProtoMessage ¶
func (*DeleteModelResponse) ProtoMessage()
func (*DeleteModelResponse) ProtoReflect ¶
func (x *DeleteModelResponse) ProtoReflect() protoreflect.Message
func (*DeleteModelResponse) Reset ¶
func (x *DeleteModelResponse) Reset()
func (*DeleteModelResponse) String ¶
func (x *DeleteModelResponse) String() string
type DeployModelRequest ¶
type DeployModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Predictor string `protobuf:"bytes,3,opt,name=predictor,proto3" json:"predictor,omitempty"` Replicas int32 `protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"` Traffic int32 `protobuf:"varint,5,opt,name=traffic,proto3" json:"traffic,omitempty"` // canary traffic Role string `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*DeployModelRequest) Descriptor
deprecated
func (*DeployModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployModelRequest.ProtoReflect.Descriptor instead.
func (*DeployModelRequest) GetName ¶
func (x *DeployModelRequest) GetName() string
func (*DeployModelRequest) GetNamespace ¶
func (x *DeployModelRequest) GetNamespace() string
func (*DeployModelRequest) GetPredictor ¶
func (x *DeployModelRequest) GetPredictor() string
func (*DeployModelRequest) GetReplicas ¶
func (x *DeployModelRequest) GetReplicas() int32
func (*DeployModelRequest) GetRole ¶
func (x *DeployModelRequest) GetRole() string
func (*DeployModelRequest) GetTraffic ¶
func (x *DeployModelRequest) GetTraffic() int32
func (*DeployModelRequest) ProtoMessage ¶
func (*DeployModelRequest) ProtoMessage()
func (*DeployModelRequest) ProtoReflect ¶
func (x *DeployModelRequest) ProtoReflect() protoreflect.Message
func (*DeployModelRequest) Reset ¶
func (x *DeployModelRequest) Reset()
func (*DeployModelRequest) String ¶
func (x *DeployModelRequest) String() string
type DeployModelResponse ¶
type DeployModelResponse struct {
// contains filtered or unexported fields
}
func (*DeployModelResponse) Descriptor
deprecated
func (*DeployModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployModelResponse.ProtoReflect.Descriptor instead.
func (*DeployModelResponse) ProtoMessage ¶
func (*DeployModelResponse) ProtoMessage()
func (*DeployModelResponse) ProtoReflect ¶
func (x *DeployModelResponse) ProtoReflect() protoreflect.Message
func (*DeployModelResponse) Reset ¶
func (x *DeployModelResponse) Reset()
func (*DeployModelResponse) String ¶
func (x *DeployModelResponse) String() string
type DownloadModelRequest ¶
type DownloadModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` // if not null // contains filtered or unexported fields }
func (*DownloadModelRequest) Descriptor
deprecated
func (*DownloadModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadModelRequest.ProtoReflect.Descriptor instead.
func (*DownloadModelRequest) GetGroup ¶ added in v0.5.220
func (x *DownloadModelRequest) GetGroup() string
func (*DownloadModelRequest) GetName ¶
func (x *DownloadModelRequest) GetName() string
func (*DownloadModelRequest) GetNamespace ¶
func (x *DownloadModelRequest) GetNamespace() string
func (*DownloadModelRequest) ProtoMessage ¶
func (*DownloadModelRequest) ProtoMessage()
func (*DownloadModelRequest) ProtoReflect ¶
func (x *DownloadModelRequest) ProtoReflect() protoreflect.Message
func (*DownloadModelRequest) Reset ¶
func (x *DownloadModelRequest) Reset()
func (*DownloadModelRequest) String ¶
func (x *DownloadModelRequest) String() string
type DownloadModelResponse ¶
type DownloadModelResponse struct { Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // contains filtered or unexported fields }
Answer the report in base 64
func (*DownloadModelResponse) Descriptor
deprecated
func (*DownloadModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadModelResponse.ProtoReflect.Descriptor instead.
func (*DownloadModelResponse) GetRaw ¶
func (x *DownloadModelResponse) GetRaw() []byte
func (*DownloadModelResponse) ProtoMessage ¶
func (*DownloadModelResponse) ProtoMessage()
func (*DownloadModelResponse) ProtoReflect ¶
func (x *DownloadModelResponse) ProtoReflect() protoreflect.Message
func (*DownloadModelResponse) Reset ¶
func (x *DownloadModelResponse) Reset()
func (*DownloadModelResponse) String ¶
func (x *DownloadModelResponse) String() string
type FlagModelRequest ¶
type FlagModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Flag model
func (*FlagModelRequest) Descriptor
deprecated
func (*FlagModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use FlagModelRequest.ProtoReflect.Descriptor instead.
func (*FlagModelRequest) GetName ¶
func (x *FlagModelRequest) GetName() string
func (*FlagModelRequest) GetNamespace ¶
func (x *FlagModelRequest) GetNamespace() string
func (*FlagModelRequest) ProtoMessage ¶
func (*FlagModelRequest) ProtoMessage()
func (*FlagModelRequest) ProtoReflect ¶
func (x *FlagModelRequest) ProtoReflect() protoreflect.Message
func (*FlagModelRequest) Reset ¶
func (x *FlagModelRequest) Reset()
func (*FlagModelRequest) String ¶
func (x *FlagModelRequest) String() string
type FlagModelResponse ¶
type FlagModelResponse struct {
// contains filtered or unexported fields
}
Answer the report in base 64
func (*FlagModelResponse) Descriptor
deprecated
func (*FlagModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use FlagModelResponse.ProtoReflect.Descriptor instead.
func (*FlagModelResponse) ProtoMessage ¶
func (*FlagModelResponse) ProtoMessage()
func (*FlagModelResponse) ProtoReflect ¶
func (x *FlagModelResponse) ProtoReflect() protoreflect.Message
func (*FlagModelResponse) Reset ¶
func (x *FlagModelResponse) Reset()
func (*FlagModelResponse) String ¶
func (x *FlagModelResponse) String() string
type GetMisclassRequest ¶
type GetMisclassRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetMisclassRequest) Descriptor
deprecated
func (*GetMisclassRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMisclassRequest.ProtoReflect.Descriptor instead.
func (*GetMisclassRequest) GetName ¶
func (x *GetMisclassRequest) GetName() string
func (*GetMisclassRequest) GetNamespace ¶
func (x *GetMisclassRequest) GetNamespace() string
func (*GetMisclassRequest) ProtoMessage ¶
func (*GetMisclassRequest) ProtoMessage()
func (*GetMisclassRequest) ProtoReflect ¶
func (x *GetMisclassRequest) ProtoReflect() protoreflect.Message
func (*GetMisclassRequest) Reset ¶
func (x *GetMisclassRequest) Reset()
func (*GetMisclassRequest) String ¶
func (x *GetMisclassRequest) String() string
type GetMisclassResponse ¶
type GetMisclassResponse struct { Table *v1.TableView `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` // contains filtered or unexported fields }
func (*GetMisclassResponse) Descriptor
deprecated
func (*GetMisclassResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMisclassResponse.ProtoReflect.Descriptor instead.
func (*GetMisclassResponse) GetTable ¶
func (x *GetMisclassResponse) GetTable() *v1.TableView
func (*GetMisclassResponse) ProtoMessage ¶
func (*GetMisclassResponse) ProtoMessage()
func (*GetMisclassResponse) ProtoReflect ¶
func (x *GetMisclassResponse) ProtoReflect() protoreflect.Message
func (*GetMisclassResponse) Reset ¶
func (x *GetMisclassResponse) Reset()
func (*GetMisclassResponse) String ¶
func (x *GetMisclassResponse) String() string
type GetModelLogsRequest ¶
type GetModelLogsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetModelLogsRequest) Descriptor
deprecated
func (*GetModelLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelLogsRequest.ProtoReflect.Descriptor instead.
func (*GetModelLogsRequest) GetName ¶
func (x *GetModelLogsRequest) GetName() string
func (*GetModelLogsRequest) GetNamespace ¶
func (x *GetModelLogsRequest) GetNamespace() string
func (*GetModelLogsRequest) ProtoMessage ¶
func (*GetModelLogsRequest) ProtoMessage()
func (*GetModelLogsRequest) ProtoReflect ¶
func (x *GetModelLogsRequest) ProtoReflect() protoreflect.Message
func (*GetModelLogsRequest) Reset ¶
func (x *GetModelLogsRequest) Reset()
func (*GetModelLogsRequest) String ¶
func (x *GetModelLogsRequest) String() string
type GetModelLogsResponse ¶
type GetModelLogsResponse struct { Logs map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetModelLogsResponse) Descriptor
deprecated
func (*GetModelLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelLogsResponse.ProtoReflect.Descriptor instead.
func (*GetModelLogsResponse) GetLogs ¶
func (x *GetModelLogsResponse) GetLogs() map[string]string
func (*GetModelLogsResponse) ProtoMessage ¶
func (*GetModelLogsResponse) ProtoMessage()
func (*GetModelLogsResponse) ProtoReflect ¶
func (x *GetModelLogsResponse) ProtoReflect() protoreflect.Message
func (*GetModelLogsResponse) Reset ¶
func (x *GetModelLogsResponse) Reset()
func (*GetModelLogsResponse) String ¶
func (x *GetModelLogsResponse) String() string
type GetModelProfileRequest ¶
type GetModelProfileRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"` // if not null this is a group model // contains filtered or unexported fields }
func (*GetModelProfileRequest) Descriptor
deprecated
func (*GetModelProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelProfileRequest.ProtoReflect.Descriptor instead.
func (*GetModelProfileRequest) GetGroup ¶ added in v0.5.220
func (x *GetModelProfileRequest) GetGroup() string
func (*GetModelProfileRequest) GetName ¶
func (x *GetModelProfileRequest) GetName() string
func (*GetModelProfileRequest) GetNamespace ¶
func (x *GetModelProfileRequest) GetNamespace() string
func (*GetModelProfileRequest) GetUri ¶
func (x *GetModelProfileRequest) GetUri() string
func (*GetModelProfileRequest) ProtoMessage ¶
func (*GetModelProfileRequest) ProtoMessage()
func (*GetModelProfileRequest) ProtoReflect ¶
func (x *GetModelProfileRequest) ProtoReflect() protoreflect.Message
func (*GetModelProfileRequest) Reset ¶
func (x *GetModelProfileRequest) Reset()
func (*GetModelProfileRequest) String ¶
func (x *GetModelProfileRequest) String() string
type GetModelProfileResponse ¶
type GetModelProfileResponse struct { Profile *v1.ModelProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*GetModelProfileResponse) Descriptor
deprecated
func (*GetModelProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelProfileResponse.ProtoReflect.Descriptor instead.
func (*GetModelProfileResponse) GetProfile ¶
func (x *GetModelProfileResponse) GetProfile() *v1.ModelProfile
func (*GetModelProfileResponse) ProtoMessage ¶
func (*GetModelProfileResponse) ProtoMessage()
func (*GetModelProfileResponse) ProtoReflect ¶
func (x *GetModelProfileResponse) ProtoReflect() protoreflect.Message
func (*GetModelProfileResponse) Reset ¶
func (x *GetModelProfileResponse) Reset()
func (*GetModelProfileResponse) String ¶
func (x *GetModelProfileResponse) String() string
type GetModelRequest ¶
type GetModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetModelRequest) Descriptor
deprecated
func (*GetModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.
func (*GetModelRequest) GetName ¶
func (x *GetModelRequest) GetName() string
func (*GetModelRequest) GetNamespace ¶
func (x *GetModelRequest) GetNamespace() string
func (*GetModelRequest) ProtoMessage ¶
func (*GetModelRequest) ProtoMessage()
func (*GetModelRequest) ProtoReflect ¶
func (x *GetModelRequest) ProtoReflect() protoreflect.Message
func (*GetModelRequest) Reset ¶
func (x *GetModelRequest) Reset()
func (*GetModelRequest) String ¶
func (x *GetModelRequest) String() string
type GetModelResponse ¶
type GetModelResponse struct { Model *v1alpha1.Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetModelResponse) Descriptor
deprecated
func (*GetModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelResponse.ProtoReflect.Descriptor instead.
func (*GetModelResponse) GetModel ¶ added in v0.4.475
func (x *GetModelResponse) GetModel() *v1alpha1.Model
func (*GetModelResponse) GetYaml ¶
func (x *GetModelResponse) GetYaml() string
func (*GetModelResponse) ProtoMessage ¶
func (*GetModelResponse) ProtoMessage()
func (*GetModelResponse) ProtoReflect ¶
func (x *GetModelResponse) ProtoReflect() protoreflect.Message
func (*GetModelResponse) Reset ¶
func (x *GetModelResponse) Reset()
func (*GetModelResponse) String ¶
func (x *GetModelResponse) String() string
type ListModelProfileRequest ¶
type ListModelProfileRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListModelProfileRequest) Descriptor
deprecated
func (*ListModelProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelProfileRequest.ProtoReflect.Descriptor instead.
func (*ListModelProfileRequest) GetName ¶
func (x *ListModelProfileRequest) GetName() string
func (*ListModelProfileRequest) GetNamespace ¶
func (x *ListModelProfileRequest) GetNamespace() string
func (*ListModelProfileRequest) ProtoMessage ¶
func (*ListModelProfileRequest) ProtoMessage()
func (*ListModelProfileRequest) ProtoReflect ¶
func (x *ListModelProfileRequest) ProtoReflect() protoreflect.Message
func (*ListModelProfileRequest) Reset ¶
func (x *ListModelProfileRequest) Reset()
func (*ListModelProfileRequest) String ¶
func (x *ListModelProfileRequest) String() string
type ListModelsRequest ¶
type ListModelsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListModelsRequest) Descriptor
deprecated
func (*ListModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.
func (*ListModelsRequest) GetLabels ¶
func (x *ListModelsRequest) GetLabels() map[string]string
func (*ListModelsRequest) GetNamespace ¶
func (x *ListModelsRequest) GetNamespace() string
func (*ListModelsRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListModelsRequest) GetOrderBy() string
func (*ListModelsRequest) GetPageSize ¶ added in v0.4.414
func (x *ListModelsRequest) GetPageSize() int32
func (*ListModelsRequest) GetPageToken ¶ added in v0.4.414
func (x *ListModelsRequest) GetPageToken() string
func (*ListModelsRequest) ProtoMessage ¶
func (*ListModelsRequest) ProtoMessage()
func (*ListModelsRequest) ProtoReflect ¶
func (x *ListModelsRequest) ProtoReflect() protoreflect.Message
func (*ListModelsRequest) Reset ¶
func (x *ListModelsRequest) Reset()
func (*ListModelsRequest) String ¶
func (x *ListModelsRequest) String() string
type ListModelsResponse ¶
type ListModelsResponse struct { Models *v1alpha1.ModelList `protobuf:"bytes,1,opt,name=models,proto3" json:"models,omitempty"` // contains filtered or unexported fields }
func (*ListModelsResponse) Descriptor
deprecated
func (*ListModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.
func (*ListModelsResponse) GetModels ¶ added in v0.4.480
func (x *ListModelsResponse) GetModels() *v1alpha1.ModelList
func (*ListModelsResponse) ProtoMessage ¶
func (*ListModelsResponse) ProtoMessage()
func (*ListModelsResponse) ProtoReflect ¶
func (x *ListModelsResponse) ProtoReflect() protoreflect.Message
func (*ListModelsResponse) Reset ¶
func (x *ListModelsResponse) Reset()
func (*ListModelsResponse) String ¶
func (x *ListModelsResponse) String() string
type ModelServiceClient ¶
type ModelServiceClient interface { ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*CreateModelResponse, error) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*GetModelResponse, error) UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*UpdateModelResponse, error) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*DeleteModelResponse, error) DeployModel(ctx context.Context, in *DeployModelRequest, opts ...grpc.CallOption) (*DeployModelResponse, error) PublishModel(ctx context.Context, in *PublishModelRequest, opts ...grpc.CallOption) (*PublishModelResponse, error) CreateModelProfile(ctx context.Context, in *CreateModelProfileRequest, opts ...grpc.CallOption) (*CreateModelProfileResponse, error) GetModelProfile(ctx context.Context, in *GetModelProfileRequest, opts ...grpc.CallOption) (*GetModelProfileResponse, error) GetModelMisclass(ctx context.Context, in *GetMisclassRequest, opts ...grpc.CallOption) (*GetMisclassResponse, error) GetModelLogs(ctx context.Context, in *GetModelLogsRequest, opts ...grpc.CallOption) (*GetModelLogsResponse, error) AbortModel(ctx context.Context, in *AbortModelRequest, opts ...grpc.CallOption) (*AbortModelResponse, error) PauseModel(ctx context.Context, in *PauseModelRequest, opts ...grpc.CallOption) (*PauseModelResponse, error) ResumeModel(ctx context.Context, in *ResumeModelRequest, opts ...grpc.CallOption) (*ResumeModelResponse, error) CompareModels(ctx context.Context, in *CompareModelsRequest, opts ...grpc.CallOption) (*CompareModelsResponse, error) CompileModel(ctx context.Context, in *CompileModelRequest, opts ...grpc.CallOption) (*CompileModelResponse, error) DownloadModel(ctx context.Context, in *DownloadModelRequest, opts ...grpc.CallOption) (*DownloadModelResponse, error) // Flag model FlagModel(ctx context.Context, in *FlagModelRequest, opts ...grpc.CallOption) (*FlagModelResponse, error) // Mark the model to test TestModel(ctx context.Context, in *TestModelRequest, opts ...grpc.CallOption) (*TestModelResponse, error) }
ModelServiceClient is the client API for ModelService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewModelServiceClient ¶
func NewModelServiceClient(cc grpc.ClientConnInterface) ModelServiceClient
type ModelServiceServer ¶
type ModelServiceServer interface { ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) CreateModel(context.Context, *CreateModelRequest) (*CreateModelResponse, error) GetModel(context.Context, *GetModelRequest) (*GetModelResponse, error) UpdateModel(context.Context, *UpdateModelRequest) (*UpdateModelResponse, error) DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error) DeployModel(context.Context, *DeployModelRequest) (*DeployModelResponse, error) PublishModel(context.Context, *PublishModelRequest) (*PublishModelResponse, error) CreateModelProfile(context.Context, *CreateModelProfileRequest) (*CreateModelProfileResponse, error) GetModelProfile(context.Context, *GetModelProfileRequest) (*GetModelProfileResponse, error) GetModelMisclass(context.Context, *GetMisclassRequest) (*GetMisclassResponse, error) GetModelLogs(context.Context, *GetModelLogsRequest) (*GetModelLogsResponse, error) AbortModel(context.Context, *AbortModelRequest) (*AbortModelResponse, error) PauseModel(context.Context, *PauseModelRequest) (*PauseModelResponse, error) ResumeModel(context.Context, *ResumeModelRequest) (*ResumeModelResponse, error) CompareModels(context.Context, *CompareModelsRequest) (*CompareModelsResponse, error) CompileModel(context.Context, *CompileModelRequest) (*CompileModelResponse, error) DownloadModel(context.Context, *DownloadModelRequest) (*DownloadModelResponse, error) // Flag model FlagModel(context.Context, *FlagModelRequest) (*FlagModelResponse, error) // Mark the model to test TestModel(context.Context, *TestModelRequest) (*TestModelResponse, error) // contains filtered or unexported methods }
ModelServiceServer is the server API for ModelService service. All implementations must embed UnimplementedModelServiceServer for forward compatibility
type PauseModelRequest ¶
type PauseModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PauseModelRequest) Descriptor
deprecated
func (*PauseModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseModelRequest.ProtoReflect.Descriptor instead.
func (*PauseModelRequest) GetName ¶
func (x *PauseModelRequest) GetName() string
func (*PauseModelRequest) GetNamespace ¶
func (x *PauseModelRequest) GetNamespace() string
func (*PauseModelRequest) ProtoMessage ¶
func (*PauseModelRequest) ProtoMessage()
func (*PauseModelRequest) ProtoReflect ¶
func (x *PauseModelRequest) ProtoReflect() protoreflect.Message
func (*PauseModelRequest) Reset ¶
func (x *PauseModelRequest) Reset()
func (*PauseModelRequest) String ¶
func (x *PauseModelRequest) String() string
type PauseModelResponse ¶
type PauseModelResponse struct {
// contains filtered or unexported fields
}
func (*PauseModelResponse) Descriptor
deprecated
func (*PauseModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use PauseModelResponse.ProtoReflect.Descriptor instead.
func (*PauseModelResponse) ProtoMessage ¶
func (*PauseModelResponse) ProtoMessage()
func (*PauseModelResponse) ProtoReflect ¶
func (x *PauseModelResponse) ProtoReflect() protoreflect.Message
func (*PauseModelResponse) Reset ¶
func (x *PauseModelResponse) Reset()
func (*PauseModelResponse) String ¶
func (x *PauseModelResponse) String() string
type PublishModelRequest ¶
type PublishModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PublishModelRequest) Descriptor
deprecated
func (*PublishModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishModelRequest.ProtoReflect.Descriptor instead.
func (*PublishModelRequest) GetName ¶
func (x *PublishModelRequest) GetName() string
func (*PublishModelRequest) GetNamespace ¶
func (x *PublishModelRequest) GetNamespace() string
func (*PublishModelRequest) ProtoMessage ¶
func (*PublishModelRequest) ProtoMessage()
func (*PublishModelRequest) ProtoReflect ¶
func (x *PublishModelRequest) ProtoReflect() protoreflect.Message
func (*PublishModelRequest) Reset ¶
func (x *PublishModelRequest) Reset()
func (*PublishModelRequest) String ¶
func (x *PublishModelRequest) String() string
type PublishModelResponse ¶
type PublishModelResponse struct { ModelTarHash string `protobuf:"bytes,1,opt,name=modelTarHash,proto3" json:"modelTarHash,omitempty"` // the sig for the moder tar file. // contains filtered or unexported fields }
func (*PublishModelResponse) Descriptor
deprecated
func (*PublishModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishModelResponse.ProtoReflect.Descriptor instead.
func (*PublishModelResponse) GetModelTarHash ¶
func (x *PublishModelResponse) GetModelTarHash() string
func (*PublishModelResponse) ProtoMessage ¶
func (*PublishModelResponse) ProtoMessage()
func (*PublishModelResponse) ProtoReflect ¶
func (x *PublishModelResponse) ProtoReflect() protoreflect.Message
func (*PublishModelResponse) Reset ¶
func (x *PublishModelResponse) Reset()
func (*PublishModelResponse) String ¶
func (x *PublishModelResponse) String() string
type ResumeModelRequest ¶
type ResumeModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ResumeModelRequest) Descriptor
deprecated
func (*ResumeModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeModelRequest.ProtoReflect.Descriptor instead.
func (*ResumeModelRequest) GetName ¶
func (x *ResumeModelRequest) GetName() string
func (*ResumeModelRequest) GetNamespace ¶
func (x *ResumeModelRequest) GetNamespace() string
func (*ResumeModelRequest) ProtoMessage ¶
func (*ResumeModelRequest) ProtoMessage()
func (*ResumeModelRequest) ProtoReflect ¶
func (x *ResumeModelRequest) ProtoReflect() protoreflect.Message
func (*ResumeModelRequest) Reset ¶
func (x *ResumeModelRequest) Reset()
func (*ResumeModelRequest) String ¶
func (x *ResumeModelRequest) String() string
type ResumeModelResponse ¶
type ResumeModelResponse struct {
// contains filtered or unexported fields
}
func (*ResumeModelResponse) Descriptor
deprecated
func (*ResumeModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResumeModelResponse.ProtoReflect.Descriptor instead.
func (*ResumeModelResponse) ProtoMessage ¶
func (*ResumeModelResponse) ProtoMessage()
func (*ResumeModelResponse) ProtoReflect ¶
func (x *ResumeModelResponse) ProtoReflect() protoreflect.Message
func (*ResumeModelResponse) Reset ¶
func (x *ResumeModelResponse) Reset()
func (*ResumeModelResponse) String ¶
func (x *ResumeModelResponse) String() string
type TestModelRequest ¶
type TestModelRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Flag model
func (*TestModelRequest) Descriptor
deprecated
func (*TestModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestModelRequest.ProtoReflect.Descriptor instead.
func (*TestModelRequest) GetName ¶
func (x *TestModelRequest) GetName() string
func (*TestModelRequest) GetNamespace ¶
func (x *TestModelRequest) GetNamespace() string
func (*TestModelRequest) ProtoMessage ¶
func (*TestModelRequest) ProtoMessage()
func (*TestModelRequest) ProtoReflect ¶
func (x *TestModelRequest) ProtoReflect() protoreflect.Message
func (*TestModelRequest) Reset ¶
func (x *TestModelRequest) Reset()
func (*TestModelRequest) String ¶
func (x *TestModelRequest) String() string
type TestModelResponse ¶
type TestModelResponse struct {
// contains filtered or unexported fields
}
Answer the report in base 64
func (*TestModelResponse) Descriptor
deprecated
func (*TestModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestModelResponse.ProtoReflect.Descriptor instead.
func (*TestModelResponse) ProtoMessage ¶
func (*TestModelResponse) ProtoMessage()
func (*TestModelResponse) ProtoReflect ¶
func (x *TestModelResponse) ProtoReflect() protoreflect.Message
func (*TestModelResponse) Reset ¶
func (x *TestModelResponse) Reset()
func (*TestModelResponse) String ¶
func (x *TestModelResponse) String() string
type UnimplementedModelServiceServer ¶
type UnimplementedModelServiceServer struct { }
UnimplementedModelServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedModelServiceServer) AbortModel ¶
func (UnimplementedModelServiceServer) AbortModel(context.Context, *AbortModelRequest) (*AbortModelResponse, error)
func (UnimplementedModelServiceServer) CompareModels ¶
func (UnimplementedModelServiceServer) CompareModels(context.Context, *CompareModelsRequest) (*CompareModelsResponse, error)
func (UnimplementedModelServiceServer) CompileModel ¶
func (UnimplementedModelServiceServer) CompileModel(context.Context, *CompileModelRequest) (*CompileModelResponse, error)
func (UnimplementedModelServiceServer) CreateModel ¶
func (UnimplementedModelServiceServer) CreateModel(context.Context, *CreateModelRequest) (*CreateModelResponse, error)
func (UnimplementedModelServiceServer) CreateModelProfile ¶
func (UnimplementedModelServiceServer) CreateModelProfile(context.Context, *CreateModelProfileRequest) (*CreateModelProfileResponse, error)
func (UnimplementedModelServiceServer) DeleteModel ¶
func (UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error)
func (UnimplementedModelServiceServer) DeployModel ¶
func (UnimplementedModelServiceServer) DeployModel(context.Context, *DeployModelRequest) (*DeployModelResponse, error)
func (UnimplementedModelServiceServer) DownloadModel ¶
func (UnimplementedModelServiceServer) DownloadModel(context.Context, *DownloadModelRequest) (*DownloadModelResponse, error)
func (UnimplementedModelServiceServer) FlagModel ¶
func (UnimplementedModelServiceServer) FlagModel(context.Context, *FlagModelRequest) (*FlagModelResponse, error)
func (UnimplementedModelServiceServer) GetModel ¶
func (UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*GetModelResponse, error)
func (UnimplementedModelServiceServer) GetModelLogs ¶
func (UnimplementedModelServiceServer) GetModelLogs(context.Context, *GetModelLogsRequest) (*GetModelLogsResponse, error)
func (UnimplementedModelServiceServer) GetModelMisclass ¶
func (UnimplementedModelServiceServer) GetModelMisclass(context.Context, *GetMisclassRequest) (*GetMisclassResponse, error)
func (UnimplementedModelServiceServer) GetModelProfile ¶
func (UnimplementedModelServiceServer) GetModelProfile(context.Context, *GetModelProfileRequest) (*GetModelProfileResponse, error)
func (UnimplementedModelServiceServer) ListModels ¶
func (UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
func (UnimplementedModelServiceServer) PauseModel ¶
func (UnimplementedModelServiceServer) PauseModel(context.Context, *PauseModelRequest) (*PauseModelResponse, error)
func (UnimplementedModelServiceServer) PublishModel ¶
func (UnimplementedModelServiceServer) PublishModel(context.Context, *PublishModelRequest) (*PublishModelResponse, error)
func (UnimplementedModelServiceServer) ResumeModel ¶
func (UnimplementedModelServiceServer) ResumeModel(context.Context, *ResumeModelRequest) (*ResumeModelResponse, error)
func (UnimplementedModelServiceServer) TestModel ¶
func (UnimplementedModelServiceServer) TestModel(context.Context, *TestModelRequest) (*TestModelResponse, error)
func (UnimplementedModelServiceServer) UpdateModel ¶
func (UnimplementedModelServiceServer) UpdateModel(context.Context, *UpdateModelRequest) (*UpdateModelResponse, error)
type UnsafeModelServiceServer ¶ added in v0.4.687
type UnsafeModelServiceServer interface {
// contains filtered or unexported methods
}
UnsafeModelServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelServiceServer will result in compilation errors.
type UpdateModelRequest ¶
type UpdateModelRequest struct { Model *v1alpha1.Model `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
func (*UpdateModelRequest) Descriptor
deprecated
func (*UpdateModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelRequest.ProtoReflect.Descriptor instead.
func (*UpdateModelRequest) GetModel ¶ added in v0.4.475
func (x *UpdateModelRequest) GetModel() *v1alpha1.Model
func (*UpdateModelRequest) ProtoMessage ¶
func (*UpdateModelRequest) ProtoMessage()
func (*UpdateModelRequest) ProtoReflect ¶
func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message
func (*UpdateModelRequest) Reset ¶
func (x *UpdateModelRequest) Reset()
func (*UpdateModelRequest) String ¶
func (x *UpdateModelRequest) String() string
type UpdateModelResponse ¶
type UpdateModelResponse struct {
// contains filtered or unexported fields
}
func (*UpdateModelResponse) Descriptor
deprecated
func (*UpdateModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelResponse.ProtoReflect.Descriptor instead.
func (*UpdateModelResponse) ProtoMessage ¶
func (*UpdateModelResponse) ProtoMessage()
func (*UpdateModelResponse) ProtoReflect ¶
func (x *UpdateModelResponse) ProtoReflect() protoreflect.Message
func (*UpdateModelResponse) Reset ¶
func (x *UpdateModelResponse) Reset()
func (*UpdateModelResponse) String ¶
func (x *UpdateModelResponse) String() string
type UpdateModelResult ¶
type UpdateModelResult struct {
// contains filtered or unexported fields
}
func (*UpdateModelResult) Descriptor
deprecated
func (*UpdateModelResult) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelResult.ProtoReflect.Descriptor instead.
func (*UpdateModelResult) ProtoMessage ¶
func (*UpdateModelResult) ProtoMessage()
func (*UpdateModelResult) ProtoReflect ¶
func (x *UpdateModelResult) ProtoReflect() protoreflect.Message
func (*UpdateModelResult) Reset ¶
func (x *UpdateModelResult) Reset()
func (*UpdateModelResult) String ¶
func (x *UpdateModelResult) String() string