Documentation
¶
Index ¶
- func Rebuild(ctx context.Context, reg *registry.Registry, store *Store, ...) (int, error)
- func UpdateIncremental(ctx context.Context, reg *registry.Registry, store *Store, ...) (int, error)
- type ListOpts
- type Store
- func (s *Store) Close() error
- func (s *Store) CountByProvider() (map[string]int, error)
- func (s *Store) FindByID(id string) (*model.Summary, error)
- func (s *Store) Get(providerID, id string) (*model.Summary, error)
- func (s *Store) GetMeta(key string) (string, error)
- func (s *Store) List(opts ListOpts) ([]model.Summary, error)
- func (s *Store) NeedsRefresh(providerID string, storagePath string, mtime int64) (bool, error)
- func (s *Store) SetMeta(key, value string) error
- func (s *Store) Upsert(summary model.Summary) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) NeedsRefresh ¶
Click to show internal directories.
Click to hide internal directories.