inventories

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2016 License: MIT Imports: 14 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 AddInventory

func AddInventory(c *gin.Context)

AddInventory creates a new project

func GetInventories

func GetInventories(c *gin.Context)

GetInventories returns a JSON array of projects

func GetInventory

func GetInventory(c *gin.Context)

GetInventory returns the project as a JSON object

func Groups

func Groups(c *gin.Context)

func Hosts

func Hosts(c *gin.Context)

func JobTemplates

func JobTemplates(c *gin.Context)

func Middleware

func Middleware(c *gin.Context)

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

func PatchInventory

func PatchInventory(c *gin.Context)

Pathcnventory will update existing Inventory with request parameters

func RemoveInventory

func RemoveInventory(c *gin.Context)

func RootGroups

func RootGroups(c *gin.Context)

func Script

func Script(c *gin.Context)

note: we are not using var varname []string specially because output json must include [] for each array and {} for each object

func Tree

func Tree(c *gin.Context)

TODO: complete

func UpdateInventory

func UpdateInventory(c *gin.Context)

UpdateInventory will update existing Inventory with request parameters

func VariableData

func VariableData(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