Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccessor ¶
func NewAccessor(request *tools.APIRequest) *workspaceMongoAccessor
func NewAccessorHistory ¶
func NewAccessorHistory(request *tools.APIRequest) *workspaceMongoAccessor
New creates a new instance of the workspaceMongoAccessor
func NewHistory ¶
func NewHistory() *workspaceHistoryMongoAccessor
New creates a new instance of the workspaceMongoAccessor
Types ¶
type Workspace ¶
type Workspace struct { utils.AbstractObject // AbstractObject contains the basic fields of an object (id, name) resources.ResourceSet // ResourceSet contains the resources of the workspace (data, compute, processing, storage, workflow) IsContextual bool `json:"is_contextual" bson:"is_contextual" default:"false"` // IsContextual is a flag that indicates if the workspace is contextual Active bool `json:"active" bson:"active" default:"false"` // Active is a flag that indicates if the workspace is active }
Workspace is a struct that represents a workspace
func (*Workspace) GetAccessor ¶
func (d *Workspace) GetAccessor(request *tools.APIRequest) utils.Accessor
func (*Workspace) VerifyAuth ¶
func (ao *Workspace) VerifyAuth(request *tools.APIRequest) bool
type WorkspaceHistory ¶
type WorkspaceHistory struct{ Workspace }
func (*WorkspaceHistory) GenerateID ¶
func (r *WorkspaceHistory) GenerateID()
func (*WorkspaceHistory) GetAccessor ¶
func (d *WorkspaceHistory) GetAccessor(request *tools.APIRequest) utils.Accessor
Click to show internal directories.
Click to hide internal directories.