accountusecase

package
v0.0.0-...-9b8bc8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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) Policy

func (o *Operator) Policy(p *workspace.PolicyID) *workspace.PolicyID

func (*Operator) Workspaces

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL