Documentation
¶
Index ¶
- type S
- func (s *S) DeleteModel(ctx context.Context, req *v1.DeleteModelRequest) (*emptypb.Empty, error)
- func (s *S) ListModels(ctx context.Context, req *v1.ListModelsRequest) (*v1.ListModelsResponse, error)
- func (s *S) PullModel(ctx context.Context, req *v1.PullModelRequest) (*emptypb.Empty, error)
- func (s *S) Run(port int) error
- func (s *S) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S ¶
type S struct { v1.UnimplementedInferenceEngineInternalServiceServer // contains filtered or unexported fields }
S is a server.
func (*S) DeleteModel ¶ added in v0.56.0
DeleteModel removes a model from the engine.
func (*S) ListModels ¶ added in v0.56.0
func (s *S) ListModels(ctx context.Context, req *v1.ListModelsRequest) (*v1.ListModelsResponse, error)
ListModels lists all downloaded models in the engine.
Click to show internal directories.
Click to hide internal directories.