Documentation ¶
Index ¶
- type Operator
- func (o *Operator) AddNewWorkspace(ws accountdomain.WorkspaceID)
- func (o *Operator) AllMaintainingWorkspaces() accountdomain.WorkspaceIDList
- func (o *Operator) AllOwningWorkspaces() accountdomain.WorkspaceIDList
- func (o *Operator) AllReadableWorkspaces() accountdomain.WorkspaceIDList
- func (o *Operator) AllWritableWorkspaces() accountdomain.WorkspaceIDList
- func (o *Operator) IsMaintainingWorkspace(workspace ...accountdomain.WorkspaceID) bool
- func (o *Operator) IsOwningWorkspace(ws ...accountdomain.WorkspaceID) bool
- func (o *Operator) IsReadableWorkspace(ws ...accountdomain.WorkspaceID) bool
- func (o *Operator) IsWritableWorkspace(ws ...accountdomain.WorkspaceID) bool
- func (o *Operator) Policy(p *workspace.PolicyID) *workspace.PolicyID
- func (o *Operator) Workspaces(r workspace.Role) accountdomain.WorkspaceIDList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct { User *accountdomain.UserID ReadableWorkspaces accountdomain.WorkspaceIDList WritableWorkspaces accountdomain.WorkspaceIDList OwningWorkspaces accountdomain.WorkspaceIDList MaintainableWorkspaces accountdomain.WorkspaceIDList DefaultPolicy *workspace.PolicyID }
func (*Operator) AddNewWorkspace ¶
func (o *Operator) AddNewWorkspace(ws accountdomain.WorkspaceID)
func (*Operator) AllMaintainingWorkspaces ¶
func (o *Operator) AllMaintainingWorkspaces() accountdomain.WorkspaceIDList
func (*Operator) AllOwningWorkspaces ¶
func (o *Operator) AllOwningWorkspaces() accountdomain.WorkspaceIDList
func (*Operator) AllReadableWorkspaces ¶
func (o *Operator) AllReadableWorkspaces() accountdomain.WorkspaceIDList
func (*Operator) AllWritableWorkspaces ¶
func (o *Operator) AllWritableWorkspaces() accountdomain.WorkspaceIDList
func (*Operator) IsMaintainingWorkspace ¶
func (o *Operator) IsMaintainingWorkspace(workspace ...accountdomain.WorkspaceID) bool
func (*Operator) IsOwningWorkspace ¶
func (o *Operator) IsOwningWorkspace(ws ...accountdomain.WorkspaceID) bool
func (*Operator) IsReadableWorkspace ¶
func (o *Operator) IsReadableWorkspace(ws ...accountdomain.WorkspaceID) bool
func (*Operator) IsWritableWorkspace ¶
func (o *Operator) IsWritableWorkspace(ws ...accountdomain.WorkspaceID) bool
func (*Operator) Workspaces ¶
func (o *Operator) Workspaces(r workspace.Role) accountdomain.WorkspaceIDList
Click to show internal directories.
Click to hide internal directories.