Documentation
¶
Index ¶
- type Controller
- func (c *Controller) AddArtifactToRegistry(ctx context.Context, registryName string, runID string, artifactID string, ...) error
- func (c *Controller) AddArtifacts(ctx context.Context, runID string, as []types.Artifact) error
- func (c *Controller) AddMetrics(ctx context.Context, runID string, m []types.Metric) error
- func (c *Controller) AddModelEntry(ctx context.Context, registryName string, url string, tags ...string) error
- func (c *Controller) Artifact(ctx context.Context, runID string, artifact string) (*types.SavedArtifact, io.ReadCloser, error)
- func (c *Controller) Artifacts(ctx context.Context, runIds []string) (map[string][]string, error)
- func (c *Controller) CreateModelRegistry(ctx context.Context, name string) error
- func (c *Controller) CreateRun(ctx context.Context, run types.Run) error
- func (c *Controller) Exp(ctx context.Context, expID string) (*types.Experiment, error)
- func (c *Controller) ExpRuns(ctx context.Context, expID string) ([]string, error)
- func (c *Controller) Exps(ctx context.Context) ([]string, error)
- func (c *Controller) LastModelEntry(ctx context.Context, registryName string) (types.ModelEntry, error)
- func (c *Controller) ModelRegistry(ctx context.Context, name string) (*types.ModelRegistry, error)
- func (c *Controller) Run(ctx context.Context, runID string) (*types.Run, error)
- func (c *Controller) Runs(ctx context.Context, ids []string) ([]*types.Run, error)
- func (c *Controller) RunsFromExp(ctx context.Context, expID string) ([]*types.Run, error)
- func (c *Controller) TagModel(ctx context.Context, registryName string, version int, tags ...string) error
- func (c *Controller) TaggedModel(ctx context.Context, registryName string, tag string) (types.ModelEntry, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
Redis store.RedisStore
S3 s3.ObjectStore
}
func (*Controller) AddArtifactToRegistry ¶
func (*Controller) AddArtifacts ¶
func (*Controller) AddMetrics ¶
func (*Controller) AddModelEntry ¶
func (*Controller) Artifact ¶
func (c *Controller) Artifact(ctx context.Context, runID string, artifact string, ) (*types.SavedArtifact, io.ReadCloser, error)
Artifact fetches an artifact and returns a Reader to its content.
func (*Controller) CreateModelRegistry ¶
func (c *Controller) CreateModelRegistry(ctx context.Context, name string) error
func (*Controller) Exp ¶
func (c *Controller) Exp(ctx context.Context, expID string) (*types.Experiment, error)
func (*Controller) LastModelEntry ¶
func (c *Controller) LastModelEntry(ctx context.Context, registryName string) (types.ModelEntry, error)
func (*Controller) ModelRegistry ¶
func (c *Controller) ModelRegistry(ctx context.Context, name string) (*types.ModelRegistry, error)
func (*Controller) RunsFromExp ¶
func (*Controller) TaggedModel ¶
func (c *Controller) TaggedModel(ctx context.Context, registryName string, tag string) (types.ModelEntry, error)
Click to show internal directories.
Click to hide internal directories.