import "github.com/textileio/powergate/ffs/scheduler/internal/cistore"
var ( // ErrNotFound indicates the instance doesn't exist. ErrNotFound = errors.New("storage info not found") )
type Store struct {
// contains filtered or unexported fields
}
Store is an Datastore implementation of StorageInfoStore.
New returns a new JobStore backed by the Datastore.
Get gets the current stored state of a Cid.
List returns a list of StorageInfo matching any provided query options.
func (s *Store) Put(ci ffs.StorageInfo) error
Put saves a new storage state for a Cid.
Package cistore imports 11 packages (graph) and is imported by 2 packages. Updated 2021-01-27. Refresh now. Tools for package owners.