Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrNotFound = errors.New("session membership not found") ErrInvalidInput = errors.New("invalid session membership input") ErrAlreadyRegistered = errors.New("session membership already registered") ErrOwnershipConflict = errors.New("session ownership conflict") ErrSelectorConflict = errors.New("session selector already registered in project") ErrNameConflict = ErrSelectorConflict ErrCorrupt = errors.New("session membership registry is corrupt") ErrStorageBusy = errors.New("session membership storage is busy") ErrClosed = errors.New("session membership registry is closed") )
Functions ¶
This section is empty.
Types ¶
type ProjectDirectory ¶
ProjectDirectory is a pinned capability for one encoded project directory.
type ProjectStorage ¶
type ProjectStorage struct {
// contains filtered or unexported fields
}
ProjectStorage is a Registry-owned capability for one encoded project directory. CanonicalPath is suitable for identity and containment checks; OperationPath remains anchored to the Registry's pinned directory handles. Callers must validate the capability before and after constructing storage.
func (ProjectStorage) CanonicalPath ¶
func (s ProjectStorage) CanonicalPath() string
func (ProjectStorage) OperationPath ¶
func (s ProjectStorage) OperationPath() string
func (ProjectStorage) Validate ¶
func (s ProjectStorage) Validate() error
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) DeleteProjectStorage ¶
DeleteProjectStorage requires the caller to drain all project operations and close their stores first. The encoded child is removed relative to the pinned root; nested links are unlinked rather than traversed by os.Root.RemoveAll.
func (*Registry) ProjectStorage ¶
ProjectStorage creates or opens one encoded project directory through the Registry's pinned root and returns a capability that keeps all later child storage anchored to that exact directory identity.