pmsdriver

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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