organizations

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2016 License: MIT Imports: 14 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 Organization

func GetAdmins

func GetAdmins(c *gin.Context)

GetAdmins returns an Organization admins

func GetCredentials

func GetCredentials(c *gin.Context)

GetCredentials returns credentials associated with an Organization

func GetInventories

func GetInventories(c *gin.Context)

GetInventories returns all inventories an Organization

func GetOrganization

func GetOrganization(c *gin.Context)

GetOrganization returns the Organization as a JSON object

func GetOrganizations

func GetOrganizations(c *gin.Context)

GetOrganizations returns a JSON array of Organizations

func GetProjects

func GetProjects(c *gin.Context)

GetProjects returns all projects of an Organization

func GetTeams

func GetTeams(c *gin.Context)

GetTeams will return an Organization Teams

func GetUsers

func GetUsers(c *gin.Context)

GetUsers Returns all Organization users

func Middleware

func Middleware(c *gin.Context)

Middleware takes _CTX_ORGANIZATION_ID parameter from gin.Context and retrieves Organization data from the collection it set Organization data under key organization in gin.Context

func PatchOrganization added in v0.0.3

func PatchOrganization(c *gin.Context)

PatchOrganization will update selected feilds from an Organization

func RemoveOrganization

func RemoveOrganization(c *gin.Context)

RemoveOrganization will remove and Organization from the db.ORGANIZATIONS collection

func UpdateOrganization

func UpdateOrganization(c *gin.Context)

UpdateOrganization will update an Organization

Types

This section is empty.

Jump to

Keyboard shortcuts

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