organizations

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivityStream

func ActivityStream(c *gin.Context)

TODO: not complete

func AddOrganization

func AddOrganization(c *gin.Context)

AddOrganization creates a new project

func GetAdmins

func GetAdmins(c *gin.Context)

func GetCredentials

func GetCredentials(c *gin.Context)

func GetInventories

func GetInventories(c *gin.Context)

func GetOrganization

func GetOrganization(c *gin.Context)

GetProject returns the project as a JSON object

func GetOrganizations

func GetOrganizations(c *gin.Context)

GetOrganizations returns a JSON array of projects

func GetProjects

func GetProjects(c *gin.Context)

func GetTeams

func GetTeams(c *gin.Context)

func GetUsers

func GetUsers(c *gin.Context)

func Middleware

func Middleware(c *gin.Context)

OrganizationMiddleware 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 RemoveOrganization

func RemoveOrganization(c *gin.Context)

RemoveOrganization will remove the Project from the db.ORGANIZATIONS collection

func UpdateOrganization

func UpdateOrganization(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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