Versions in this module Expand all Collapse all v0 v0.3.1 Aug 21, 2026 Changes in this version + var ErrNotFound = errors.New("resource: not found") + func SplitRef(raw string) (uri, ref string, err error) + type Resource struct + CreatedAt time.Time + CurrentSnapshotID string + Namespace string + Path string + Policy policy.Policy + PolicyID string + SourceConfig source.Config + SourceID string + URI string + UpdatedAt time.Time + type Store interface + Create func(ctx context.Context, r Resource) error + Get func(ctx context.Context, uri string) (Resource, error) + List func(ctx context.Context) ([]Resource, error) + UpdateCurrentSnapshot func(ctx context.Context, uri, snapshotID string) error + type URI struct + Namespace string + Path string + func ParseURI(raw string) (URI, error) + func (u URI) String() string