package
1.26.0
Repository: https://github.com/dccn-tg/tg-toolset-golang.git
Documentation: pkg.go.dev

# Functions

New returns the `PDBClient` corresponding to the given PDB `version`.

# Constants

all lab modalities.
EEG is a lab modality of the EEG labs.
No description provided by the author
MEG is a lab modality of the MEG labs.
MRI is a lab modality of the MRI labs.
ProjectStatusActive refers to active project.
ProjectStatusInactive refers to inactive project.
ProjectStatusUnknown refers to unexpected/unknown project status in PDB.
UserFunctionOther for other functions not indicated below.
UserFunctionOtherResearcher for general researchers.
UserFunctionOtherSupport for other support staffs.
UserFunctionPhD for users that are PhD students.
UserFunctionPostdoc for users that are Postdocs.
UserFunctionPrincipalInvestigator for users with the principle investigators function.
UserFunctionResearchAssistant for research assistant.
UserFunctionResearchStaff for research staffs.
UserFunctionResearchSupport for reseache support.
UserFunctionSeniorResearcher for senior researchers.
UserFunctionStaffScientist for ataff scientist.
UserFunctionSupportingStaff for supporting staffs.
UserFunctionTrainee for users that are trainees.
UserFunctionUnknown for unknown/unexpected user function.
UserStatusCheckedIn refers to the status when the user is checked in.
UserStatusCheckedOut refers to the status when the user has checked out.
UserStatusCheckedOutExtended refers to the status when the user applied extended checkout.
UserStatusTentative refers to the status when the user is registered by not yet checked-in after following certain procedure.
UserStatusUnknown refers to unexpected/unknown user status in PDB.

# Structs

DataProjectInfo defines the data structure for received project storage information returned from the filer-gateway.
DataProjectProvision defines the data structure for sending project provision request to the filer-gateway.
DataProjectUpdate defines the data structure for sending project update request to the filer-gateway.
LabBooking defines the data structure of a booking event in the lab calendar.
Member defines the data structure of a pending role setting for a project member.
OoqLastAlert is the internal data structure.
OotLastAlert is the internal data structure.
OpsIgnored is a specific error referring ignored operation.
Project defines the data structure of a project in the project database.
Storage defines the data structure for the storage resource of a project.
StorageInfo defines the data structure for the storage resource information of a project, including the actual storage usage.
User defines the data structure of a user in the project database.
V1 implements interfaces of the legacy project database implemented with MySQL database.
V2 implements interfaces of the new project database implemented with GraphQL-based core-api.

# Interfaces

PDB defines the interface for various actions on project database.

# Type aliases

Lab defines an enumerator for the lab categories.
ProjectStatus defines PDB project status.
UserFunction defines PDB user function.
UserStatus defines PDB user status.