Documentation
¶
Index ¶
- func AccessList(c *gin.Context)
- func ActivityStream(c *gin.Context)
- func AddInventory(c *gin.Context)
- func GetInventories(c *gin.Context)
- func GetInventory(c *gin.Context)
- func Groups(c *gin.Context)
- func Hosts(c *gin.Context)
- func JobTemplates(c *gin.Context)
- func Middleware(c *gin.Context)
- func PatchInventory(c *gin.Context)
- func RemoveInventory(c *gin.Context)
- func RootGroups(c *gin.Context)
- func Script(c *gin.Context)
- func Tree(c *gin.Context)
- func UpdateInventory(c *gin.Context)
- func VariableData(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessList ¶
func GetInventories ¶
GetInventories returns a JSON array of projects
func GetInventory ¶
GetInventory returns the project as a JSON object
func JobTemplates ¶
func Middleware ¶
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 ¶
Pathcnventory will update existing Inventory with request parameters
func RemoveInventory ¶
func RootGroups ¶
func Script ¶
note: we are not using var varname []string specially because output json must include [] for each array and {} for each object
func UpdateInventory ¶
UpdateInventory will update existing Inventory with request parameters
func VariableData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.