Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PMSDriver ¶
type PMSDriver interface {
// Get a project by ID or name
Get(projectIDOrName interface{}) (*models.Project, error)
// Create a project
Create(*models.Project) (int64, error)
// Delete a project by ID or name
Delete(projectIDOrName interface{}) error
// Update the properties of a project
Update(projectIDOrName interface{}, project *models.Project) error
// List lists projects according to the query conditions
List(query *models.ProjectQueryParam) (*models.ProjectQueryResult, error)
}
PMSDriver defines the operations that a project management service driver should implement
Click to show internal directories.
Click to hide internal directories.