Documentation
¶
Overview ¶
Package projectvisibility coordinates discovery metadata with restoration of legacy native archives. The private journal is recoverable admission ordering, not a transaction spanning project files and the session SQLite database.
Index ¶
- Variables
- type Runtime
- type Store
- func (s *Store) ChangeProjectLifecycle(ctx context.Context, scope datatug.ProjectLifecycleScope, ...) (ack datatug.ProjectLifecycleAck, err error)
- func (s *Store) ListProjectLifecycle(ctx context.Context, scope datatug.ProjectLifecycleScope, includeArchived bool) (datatug.ProjectLifecycleCatalog, error)
- func (s *Store) ReviewProjectLifecycle(ctx context.Context, scope datatug.ProjectLifecycleScope, ...) (datatug.ProjectLifecycleReview, error)
- type Target
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOutcomeUncertain = errors.New("native visibility restoration is pending; retry the same operation")
View Source
var ErrRestoreConflict = errors.New("native restore was rejected or superseded")
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore(provider datatug.ProjectLifecycleStore, scope datatug.ProjectLifecycleScope, private, projectRoot string, native Runtime) (*Store, error)
func (*Store) ChangeProjectLifecycle ¶
func (s *Store) ChangeProjectLifecycle(ctx context.Context, scope datatug.ProjectLifecycleScope, write datatug.ProjectLifecycleWrite) (ack datatug.ProjectLifecycleAck, err error)
func (*Store) ListProjectLifecycle ¶
func (s *Store) ListProjectLifecycle(ctx context.Context, scope datatug.ProjectLifecycleScope, includeArchived bool) (datatug.ProjectLifecycleCatalog, error)
func (*Store) ReviewProjectLifecycle ¶
func (s *Store) ReviewProjectLifecycle(ctx context.Context, scope datatug.ProjectLifecycleScope, ref datatug.ProjectObjectRef) (datatug.ProjectLifecycleReview, error)
type Target ¶
type Target struct {
Item datatug.ProjectUsageItem `json:"item"`
Revision string `json:"revision"`
}
Click to show internal directories.
Click to hide internal directories.