v1

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_api_v1_model_manager_service_proto protoreflect.FileDescriptor
View Source
var ModelsInternalService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "llmoperator.models.server.v1.ModelsInternalService",
	HandlerType: (*ModelsInternalServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterModel",
			Handler:    _ModelsInternalService_RegisterModel_Handler,
		},
		{
			MethodName: "PublishModel",
			Handler:    _ModelsInternalService_PublishModel_Handler,
		},
		{
			MethodName: "GetModelPath",
			Handler:    _ModelsInternalService_GetModelPath_Handler,
		},
		{
			MethodName: "GetBaseModelPath",
			Handler:    _ModelsInternalService_GetBaseModelPath_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/model_manager_service.proto",
}

ModelsInternalService_ServiceDesc is the grpc.ServiceDesc for ModelsInternalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ModelsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "llmoperator.models.server.v1.ModelsService",
	HandlerType: (*ModelsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListModels",
			Handler:    _ModelsService_ListModels_Handler,
		},
		{
			MethodName: "GetModel",
			Handler:    _ModelsService_GetModel_Handler,
		},
		{
			MethodName: "DeleteModel",
			Handler:    _ModelsService_DeleteModel_Handler,
		},
		{
			MethodName: "ListBaseModels",
			Handler:    _ModelsService_ListBaseModels_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/model_manager_service.proto",
}

ModelsService_ServiceDesc is the grpc.ServiceDesc for ModelsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterModelsInternalServiceServer

func RegisterModelsInternalServiceServer(s grpc.ServiceRegistrar, srv ModelsInternalServiceServer)

func RegisterModelsServiceHandler

func RegisterModelsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterModelsServiceHandler registers the http handlers for service ModelsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterModelsServiceHandlerClient

func RegisterModelsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelsServiceClient) error

RegisterModelsServiceHandlerClient registers the http handlers for service ModelsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ModelsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ModelsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ModelsServiceClient" to call the correct interceptors.

func RegisterModelsServiceHandlerFromEndpoint

func RegisterModelsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterModelsServiceHandlerFromEndpoint is same as RegisterModelsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterModelsServiceHandlerServer

func RegisterModelsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelsServiceServer) error

RegisterModelsServiceHandlerServer registers the http handlers for service ModelsService to "mux". UnaryRPC :call ModelsServiceServer 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 RegisterModelsServiceHandlerFromEndpoint instead.

func RegisterModelsServiceServer

func RegisterModelsServiceServer(s grpc.ServiceRegistrar, srv ModelsServiceServer)

Types

type BaseModel added in v0.5.0

type BaseModel struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created int64  `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Object  string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseModel) Descriptor deprecated added in v0.5.0

func (*BaseModel) Descriptor() ([]byte, []int)

Deprecated: Use BaseModel.ProtoReflect.Descriptor instead.

func (*BaseModel) GetCreated added in v0.5.0

func (x *BaseModel) GetCreated() int64

func (*BaseModel) GetId added in v0.5.0

func (x *BaseModel) GetId() string

func (*BaseModel) GetObject added in v0.5.0

func (x *BaseModel) GetObject() string

func (*BaseModel) ProtoMessage added in v0.5.0

func (*BaseModel) ProtoMessage()

func (*BaseModel) ProtoReflect added in v0.5.0

func (x *BaseModel) ProtoReflect() protoreflect.Message

func (*BaseModel) Reset added in v0.5.0

func (x *BaseModel) Reset()

func (*BaseModel) String added in v0.5.0

func (x *BaseModel) String() string

type DeleteModelRequest

type DeleteModelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteModelRequest) Descriptor deprecated

func (*DeleteModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.

func (*DeleteModelRequest) GetId

func (x *DeleteModelRequest) GetId() 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 {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object  string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Deleted bool   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteModelResponse) Descriptor deprecated

func (*DeleteModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteModelResponse.ProtoReflect.Descriptor instead.

func (*DeleteModelResponse) GetDeleted

func (x *DeleteModelResponse) GetDeleted() bool

func (*DeleteModelResponse) GetId

func (x *DeleteModelResponse) GetId() string

func (*DeleteModelResponse) GetObject

func (x *DeleteModelResponse) GetObject() string

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 GetBaseModelPathRequest added in v0.4.0

type GetBaseModelPathRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBaseModelPathRequest) Descriptor deprecated added in v0.4.0

func (*GetBaseModelPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBaseModelPathRequest.ProtoReflect.Descriptor instead.

func (*GetBaseModelPathRequest) GetId added in v0.4.0

func (x *GetBaseModelPathRequest) GetId() string

func (*GetBaseModelPathRequest) ProtoMessage added in v0.4.0

func (*GetBaseModelPathRequest) ProtoMessage()

func (*GetBaseModelPathRequest) ProtoReflect added in v0.4.0

func (x *GetBaseModelPathRequest) ProtoReflect() protoreflect.Message

func (*GetBaseModelPathRequest) Reset added in v0.4.0

func (x *GetBaseModelPathRequest) Reset()

func (*GetBaseModelPathRequest) String added in v0.4.0

func (x *GetBaseModelPathRequest) String() string

type GetBaseModelPathResponse added in v0.4.0

type GetBaseModelPathResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBaseModelPathResponse) Descriptor deprecated added in v0.4.0

func (*GetBaseModelPathResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBaseModelPathResponse.ProtoReflect.Descriptor instead.

func (*GetBaseModelPathResponse) GetPath added in v0.4.0

func (x *GetBaseModelPathResponse) GetPath() string

func (*GetBaseModelPathResponse) ProtoMessage added in v0.4.0

func (*GetBaseModelPathResponse) ProtoMessage()

func (*GetBaseModelPathResponse) ProtoReflect added in v0.4.0

func (x *GetBaseModelPathResponse) ProtoReflect() protoreflect.Message

func (*GetBaseModelPathResponse) Reset added in v0.4.0

func (x *GetBaseModelPathResponse) Reset()

func (*GetBaseModelPathResponse) String added in v0.4.0

func (x *GetBaseModelPathResponse) String() string

type GetModelPathRequest added in v0.3.0

type GetModelPathRequest struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModelPathRequest) Descriptor deprecated added in v0.3.0

func (*GetModelPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetModelPathRequest.ProtoReflect.Descriptor instead.

func (*GetModelPathRequest) GetId added in v0.3.0

func (x *GetModelPathRequest) GetId() string

func (*GetModelPathRequest) GetTenantId added in v0.3.0

func (x *GetModelPathRequest) GetTenantId() string

func (*GetModelPathRequest) ProtoMessage added in v0.3.0

func (*GetModelPathRequest) ProtoMessage()

func (*GetModelPathRequest) ProtoReflect added in v0.3.0

func (x *GetModelPathRequest) ProtoReflect() protoreflect.Message

func (*GetModelPathRequest) Reset added in v0.3.0

func (x *GetModelPathRequest) Reset()

func (*GetModelPathRequest) String added in v0.3.0

func (x *GetModelPathRequest) String() string

type GetModelPathResponse added in v0.3.0

type GetModelPathResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModelPathResponse) Descriptor deprecated added in v0.3.0

func (*GetModelPathResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetModelPathResponse.ProtoReflect.Descriptor instead.

func (*GetModelPathResponse) GetPath added in v0.3.0

func (x *GetModelPathResponse) GetPath() string

func (*GetModelPathResponse) ProtoMessage added in v0.3.0

func (*GetModelPathResponse) ProtoMessage()

func (*GetModelPathResponse) ProtoReflect added in v0.3.0

func (x *GetModelPathResponse) ProtoReflect() protoreflect.Message

func (*GetModelPathResponse) Reset added in v0.3.0

func (x *GetModelPathResponse) Reset()

func (*GetModelPathResponse) String added in v0.3.0

func (x *GetModelPathResponse) String() string

type GetModelRequest

type GetModelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModelRequest) Descriptor deprecated

func (*GetModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.

func (*GetModelRequest) GetId

func (x *GetModelRequest) GetId() 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 ListBaseModelsRequest added in v0.5.0

type ListBaseModelsRequest struct {
	// contains filtered or unexported fields
}

func (*ListBaseModelsRequest) Descriptor deprecated added in v0.5.0

func (*ListBaseModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBaseModelsRequest.ProtoReflect.Descriptor instead.

func (*ListBaseModelsRequest) ProtoMessage added in v0.5.0

func (*ListBaseModelsRequest) ProtoMessage()

func (*ListBaseModelsRequest) ProtoReflect added in v0.5.0

func (x *ListBaseModelsRequest) ProtoReflect() protoreflect.Message

func (*ListBaseModelsRequest) Reset added in v0.5.0

func (x *ListBaseModelsRequest) Reset()

func (*ListBaseModelsRequest) String added in v0.5.0

func (x *ListBaseModelsRequest) String() string

type ListBaseModelsResponse added in v0.5.0

type ListBaseModelsResponse struct {
	Object string       `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	Data   []*BaseModel `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBaseModelsResponse) Descriptor deprecated added in v0.5.0

func (*ListBaseModelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBaseModelsResponse.ProtoReflect.Descriptor instead.

func (*ListBaseModelsResponse) GetData added in v0.5.0

func (x *ListBaseModelsResponse) GetData() []*BaseModel

func (*ListBaseModelsResponse) GetObject added in v0.5.0

func (x *ListBaseModelsResponse) GetObject() string

func (*ListBaseModelsResponse) ProtoMessage added in v0.5.0

func (*ListBaseModelsResponse) ProtoMessage()

func (*ListBaseModelsResponse) ProtoReflect added in v0.5.0

func (x *ListBaseModelsResponse) ProtoReflect() protoreflect.Message

func (*ListBaseModelsResponse) Reset added in v0.5.0

func (x *ListBaseModelsResponse) Reset()

func (*ListBaseModelsResponse) String added in v0.5.0

func (x *ListBaseModelsResponse) String() string

type ListModelsRequest

type ListModelsRequest struct {
	// contains filtered or unexported fields
}

func (*ListModelsRequest) Descriptor deprecated

func (*ListModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.

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 {
	Object string   `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	Data   []*Model `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListModelsResponse) Descriptor deprecated

func (*ListModelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.

func (*ListModelsResponse) GetData

func (x *ListModelsResponse) GetData() []*Model

func (*ListModelsResponse) GetObject

func (x *ListModelsResponse) GetObject() string

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 Model

type Model struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created int64  `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Object  string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	OwnedBy string `protobuf:"bytes,4,opt,name=owned_by,json=ownedBy,proto3" json:"owned_by,omitempty"`
	// contains filtered or unexported fields
}

func (*Model) Descriptor deprecated

func (*Model) Descriptor() ([]byte, []int)

Deprecated: Use Model.ProtoReflect.Descriptor instead.

func (*Model) GetCreated

func (x *Model) GetCreated() int64

func (*Model) GetId

func (x *Model) GetId() string

func (*Model) GetObject

func (x *Model) GetObject() string

func (*Model) GetOwnedBy

func (x *Model) GetOwnedBy() string

func (*Model) ProtoMessage

func (*Model) ProtoMessage()

func (*Model) ProtoReflect

func (x *Model) ProtoReflect() protoreflect.Message

func (*Model) Reset

func (x *Model) Reset()

func (*Model) String

func (x *Model) String() string

type ModelsInternalServiceClient

type ModelsInternalServiceClient interface {
	RegisterModel(ctx context.Context, in *RegisterModelRequest, opts ...grpc.CallOption) (*RegisterModelResponse, error)
	PublishModel(ctx context.Context, in *PublishModelRequest, opts ...grpc.CallOption) (*PublishModelResponse, error)
	GetModelPath(ctx context.Context, in *GetModelPathRequest, opts ...grpc.CallOption) (*GetModelPathResponse, error)
	GetBaseModelPath(ctx context.Context, in *GetBaseModelPathRequest, opts ...grpc.CallOption) (*GetBaseModelPathResponse, error)
}

ModelsInternalServiceClient is the client API for ModelsInternalService 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.

type ModelsInternalServiceServer

type ModelsInternalServiceServer interface {
	RegisterModel(context.Context, *RegisterModelRequest) (*RegisterModelResponse, error)
	PublishModel(context.Context, *PublishModelRequest) (*PublishModelResponse, error)
	GetModelPath(context.Context, *GetModelPathRequest) (*GetModelPathResponse, error)
	GetBaseModelPath(context.Context, *GetBaseModelPathRequest) (*GetBaseModelPathResponse, error)
	// contains filtered or unexported methods
}

ModelsInternalServiceServer is the server API for ModelsInternalService service. All implementations must embed UnimplementedModelsInternalServiceServer for forward compatibility

type ModelsServiceClient

type ModelsServiceClient interface {
	ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
	GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error)
	DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*DeleteModelResponse, error)
	// The following API endpoints are not part of the OpenAPI API specification.
	ListBaseModels(ctx context.Context, in *ListBaseModelsRequest, opts ...grpc.CallOption) (*ListBaseModelsResponse, error)
}

ModelsServiceClient is the client API for ModelsService 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.

type ModelsServiceServer

type ModelsServiceServer interface {
	ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
	GetModel(context.Context, *GetModelRequest) (*Model, error)
	DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error)
	// The following API endpoints are not part of the OpenAPI API specification.
	ListBaseModels(context.Context, *ListBaseModelsRequest) (*ListBaseModelsResponse, error)
	// contains filtered or unexported methods
}

ModelsServiceServer is the server API for ModelsService service. All implementations must embed UnimplementedModelsServiceServer for forward compatibility

type PublishModelRequest added in v0.2.0

type PublishModelRequest struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishModelRequest) Descriptor deprecated added in v0.2.0

func (*PublishModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishModelRequest.ProtoReflect.Descriptor instead.

func (*PublishModelRequest) GetId added in v0.2.0

func (x *PublishModelRequest) GetId() string

func (*PublishModelRequest) GetTenantId added in v0.2.0

func (x *PublishModelRequest) GetTenantId() string

func (*PublishModelRequest) ProtoMessage added in v0.2.0

func (*PublishModelRequest) ProtoMessage()

func (*PublishModelRequest) ProtoReflect added in v0.2.0

func (x *PublishModelRequest) ProtoReflect() protoreflect.Message

func (*PublishModelRequest) Reset added in v0.2.0

func (x *PublishModelRequest) Reset()

func (*PublishModelRequest) String added in v0.2.0

func (x *PublishModelRequest) String() string

type PublishModelResponse added in v0.2.0

type PublishModelResponse struct {
	// contains filtered or unexported fields
}

func (*PublishModelResponse) Descriptor deprecated added in v0.2.0

func (*PublishModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use PublishModelResponse.ProtoReflect.Descriptor instead.

func (*PublishModelResponse) ProtoMessage added in v0.2.0

func (*PublishModelResponse) ProtoMessage()

func (*PublishModelResponse) ProtoReflect added in v0.2.0

func (x *PublishModelResponse) ProtoReflect() protoreflect.Message

func (*PublishModelResponse) Reset added in v0.2.0

func (x *PublishModelResponse) Reset()

func (*PublishModelResponse) String added in v0.2.0

func (x *PublishModelResponse) String() string

type RegisterModelRequest added in v0.2.0

type RegisterModelRequest struct {
	BaseModel string `protobuf:"bytes,1,opt,name=base_model,json=baseModel,proto3" json:"base_model,omitempty"`
	Suffix    string `protobuf:"bytes,2,opt,name=suffix,proto3" json:"suffix,omitempty"`
	TenantId  string `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterModelRequest) Descriptor deprecated added in v0.2.0

func (*RegisterModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterModelRequest.ProtoReflect.Descriptor instead.

func (*RegisterModelRequest) GetBaseModel added in v0.2.0

func (x *RegisterModelRequest) GetBaseModel() string

func (*RegisterModelRequest) GetSuffix added in v0.2.0

func (x *RegisterModelRequest) GetSuffix() string

func (*RegisterModelRequest) GetTenantId added in v0.2.0

func (x *RegisterModelRequest) GetTenantId() string

func (*RegisterModelRequest) ProtoMessage added in v0.2.0

func (*RegisterModelRequest) ProtoMessage()

func (*RegisterModelRequest) ProtoReflect added in v0.2.0

func (x *RegisterModelRequest) ProtoReflect() protoreflect.Message

func (*RegisterModelRequest) Reset added in v0.2.0

func (x *RegisterModelRequest) Reset()

func (*RegisterModelRequest) String added in v0.2.0

func (x *RegisterModelRequest) String() string

type RegisterModelResponse added in v0.2.0

type RegisterModelResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// path is the path where the model is stored.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterModelResponse) Descriptor deprecated added in v0.2.0

func (*RegisterModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterModelResponse.ProtoReflect.Descriptor instead.

func (*RegisterModelResponse) GetId added in v0.2.0

func (x *RegisterModelResponse) GetId() string

func (*RegisterModelResponse) GetPath added in v0.2.0

func (x *RegisterModelResponse) GetPath() string

func (*RegisterModelResponse) ProtoMessage added in v0.2.0

func (*RegisterModelResponse) ProtoMessage()

func (*RegisterModelResponse) ProtoReflect added in v0.2.0

func (x *RegisterModelResponse) ProtoReflect() protoreflect.Message

func (*RegisterModelResponse) Reset added in v0.2.0

func (x *RegisterModelResponse) Reset()

func (*RegisterModelResponse) String added in v0.2.0

func (x *RegisterModelResponse) String() string

type UnimplementedModelsInternalServiceServer

type UnimplementedModelsInternalServiceServer struct {
}

UnimplementedModelsInternalServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedModelsInternalServiceServer) GetBaseModelPath added in v0.4.0

func (UnimplementedModelsInternalServiceServer) GetModelPath added in v0.3.0

func (UnimplementedModelsInternalServiceServer) PublishModel added in v0.2.0

func (UnimplementedModelsInternalServiceServer) RegisterModel added in v0.2.0

type UnimplementedModelsServiceServer

type UnimplementedModelsServiceServer struct {
}

UnimplementedModelsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedModelsServiceServer) DeleteModel

func (UnimplementedModelsServiceServer) GetModel

func (UnimplementedModelsServiceServer) ListBaseModels added in v0.5.0

func (UnimplementedModelsServiceServer) ListModels

type UnsafeModelsInternalServiceServer

type UnsafeModelsInternalServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeModelsInternalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelsInternalServiceServer will result in compilation errors.

type UnsafeModelsServiceServer

type UnsafeModelsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeModelsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelsServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL