Documentation ¶
Index ¶
- type Datastore
- func (d *Datastore) CheckAvailability(orgID uuid.UUID, projectName string) (bool, error)
- func (d *Datastore) GetProjectByName(orgID uuid.UUID, projectName string) (*ProjectInfo, error)
- func (d *Datastore) GetProjectForOrg(orgID uuid.UUID) (*ProjectInfo, error)
- func (d *Datastore) RegisterProject(orgID uuid.UUID, projectName string) error
- type ProjectInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
Datastore implementation for projectmanager using a PGSQL backend.
func NewDatastore ¶
NewDatastore creates a new project manager Datastore.
func (*Datastore) CheckAvailability ¶
CheckAvailability checks the database to see if the project is still available.
func (*Datastore) GetProjectByName ¶
GetProjectByName gets the project based on the project name.
func (*Datastore) GetProjectForOrg ¶
func (d *Datastore) GetProjectForOrg(orgID uuid.UUID) (*ProjectInfo, error)
GetProjectForOrg gets the project for a particular org specified by ID.
type ProjectInfo ¶
ProjectInfo describes a specific project.
Click to show internal directories.
Click to hide internal directories.