projects

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2016 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessList

func AccessList(c *gin.Context)

func ActivityStream

func ActivityStream(c *gin.Context)

TODO: not complete

func AddProject

func AddProject(c *gin.Context)

AddProject creates a new project

func GetProject

func GetProject(c *gin.Context)

GetProject returns the project as a JSON object

func GetProjects

func GetProjects(c *gin.Context)

GetProjects returns a JSON array of projects

func Middleware

func Middleware(c *gin.Context)

ProjectMiddleware takes project_id parameter from gin.Context and fetches project data from the database it set project data under key project in gin.Context

func PatchProject

func PatchProject(c *gin.Context)

UpdateProject will update the Project

func Playbooks

func Playbooks(c *gin.Context)

func ProjectUpdates

func ProjectUpdates(c *gin.Context)

GetJobs renders the Job as JSON

func RemoveProject

func RemoveProject(c *gin.Context)

RemoveProject will remove the Project from the db.DBC_PROJECTS collection

func SCMUpdate

func SCMUpdate(c *gin.Context)

func SCMUpdateInfo

func SCMUpdateInfo(c *gin.Context)

func Teams

func Teams(c *gin.Context)

func UpdateProject

func UpdateProject(c *gin.Context)

UpdateProject will update the Project

Types

This section is empty.

Jump to

Keyboard shortcuts

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