Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeModelSyncer ¶ added in v0.143.0
type FakeModelSyncer struct {
// contains filtered or unexported fields
}
FakeModelSyncer is a fake implementation of model syncer.
func NewFakeModelSyncer ¶ added in v0.143.0
func NewFakeModelSyncer() *FakeModelSyncer
NewFakeModelSyncer returns a FakeModelSyncer.
func (*FakeModelSyncer) ListSyncedModelIDs ¶ added in v0.143.0
func (s *FakeModelSyncer) ListSyncedModelIDs(ctx context.Context) []string
ListSyncedModelIDs lists all models that have been synced.
type ModelSyncer ¶ added in v0.143.0
type ModelSyncer interface { ListSyncedModelIDs(ctx context.Context) []string PullModel(ctx context.Context, modelID string) error }
ModelSyncer syncs models.
Click to show internal directories.
Click to hide internal directories.