Documentation ¶
Index ¶
- func AddPredictor(framework dl.FrameworkManifest, pred predictor.Predictor) error
- func GetPredictor(framework dl.FrameworkManifest) (predictor.Predictor, error)
- func GetPredictors(framework dl.FrameworkManifest) ([]predictor.Predictor, error)
- func PredictorFrameworks() []dl.FrameworkManifest
- func Predictors() []string
- func UploadDir() (string, error)
- type Option
- type Options
- type PredictorLifetime
- type Registry
- func (c *Registry) FrameworkAgents(context.Context, *dl.FrameworkRequest) (*dl.Agents, error)
- func (c *Registry) FrameworkManifests(context.Context, *dl.FrameworkRequest) (*dl.FrameworkManifestsResponse, error)
- func (c *Registry) ModelAgents(context.Context, *dl.ModelRequest) (*dl.Agents, error)
- func (c *Registry) ModelManifests(context.Context, *dl.ModelRequest) (*dl.ModelManifestsResponse, error)
- func (b *Registry) PublishInPredictor(host, prefix string) error
- func (c *Registry) PublishInRegistery() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPredictor ¶
func AddPredictor(framework dl.FrameworkManifest, pred predictor.Predictor) error
func GetPredictor ¶
func GetPredictor(framework dl.FrameworkManifest) (predictor.Predictor, error)
func GetPredictors ¶ added in v0.3.0
func GetPredictors(framework dl.FrameworkManifest) ([]predictor.Predictor, error)
func PredictorFrameworks ¶ added in v0.2.19
func PredictorFrameworks() []dl.FrameworkManifest
func Predictors ¶
func Predictors() []string
Types ¶
type Option ¶
func WithPortString ¶ added in v0.2.16
type PredictorLifetime ¶ added in v0.3.0
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) FrameworkAgents ¶
func (*Registry) FrameworkManifests ¶
func (c *Registry) FrameworkManifests(context.Context, *dl.FrameworkRequest) (*dl.FrameworkManifestsResponse, error)
func (*Registry) ModelAgents ¶
func (*Registry) ModelManifests ¶
func (c *Registry) ModelManifests(context.Context, *dl.ModelRequest) (*dl.ModelManifestsResponse, error)
func (*Registry) PublishInPredictor ¶ added in v0.2.16
func (*Registry) PublishInRegistery ¶
Click to show internal directories.
Click to hide internal directories.