Documentation
¶
Overview ¶
Package suitecatalog owns the shareable filesystem suite catalog. Built-in suites and executable-relative user suites use the same group/suite layout.
Index ¶
- Constants
- Variables
- func UserRootForExecutable(executablePath string) (string, error)
- type Entry
- type Options
- type Service
- func (service *Service) Count(ctx context.Context) (int, error)
- func (service *Service) Delete(ctx context.Context, id string, expectedRevision uint64) error
- func (service *Service) Entries(ctx context.Context) ([]Entry, error)
- func (service *Service) Find(ctx context.Context, id string) (Entry, error)
- func (service *Service) Save(ctx context.Context, group, directory string, raw []byte) error
- func (service *Service) SaveSuite(ctx context.Context, group, directory string, suite domain.Suite) error
- type Source
Constants ¶
View Source
const CurrentSchemaVersion = 1
Variables ¶
View Source
var ( ErrInvalid = errors.New("suite catalog: invalid input") ErrCollision = errors.New("suite catalog: duplicate suite identity") )
Functions ¶
func UserRootForExecutable ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.