Documentation
¶
Index ¶
- func ActivityStream(c *gin.Context)
- func AddOrganization(c *gin.Context)
- func GetAdmins(c *gin.Context)
- func GetCredentials(c *gin.Context)
- func GetInventories(c *gin.Context)
- func GetOrganization(c *gin.Context)
- func GetOrganizations(c *gin.Context)
- func GetProjects(c *gin.Context)
- func GetTeams(c *gin.Context)
- func GetUsers(c *gin.Context)
- func Middleware(c *gin.Context)
- func PatchOrganization(c *gin.Context)
- func RemoveOrganization(c *gin.Context)
- func UpdateOrganization(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOrganization ¶
AddOrganization creates a new Organization
func GetCredentials ¶
GetCredentials returns credentials associated with an Organization
func GetInventories ¶
GetInventories returns all inventories an Organization
func GetOrganization ¶
GetOrganization returns the Organization as a JSON object
func GetOrganizations ¶
GetOrganizations returns a JSON array of Organizations
func GetProjects ¶
GetProjects returns all projects of an Organization
func Middleware ¶
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
PatchOrganization will update selected feilds from an Organization
func RemoveOrganization ¶
RemoveOrganization will remove and Organization from the db.ORGANIZATIONS collection
func UpdateOrganization ¶
UpdateOrganization will update an Organization
Types ¶
This section is empty.