Documentation ¶
Index ¶
- func BindHostToHostGroup(c *gin.Context)
- func BindTemplateToGroup(c *gin.Context)
- func CreateAggregator(c *gin.Context)
- func CreateHostGroup(c *gin.Context)
- func CreatePlugin(c *gin.Context)
- func DeleteAggregator(c *gin.Context)
- func DeleteHostGroup(c *gin.Context)
- func DeletePlugin(c *gin.Context)
- func GetAggregator(c *gin.Context)
- func GetAggregatorListOfGrp(c *gin.Context)
- func GetGrpsRelatedHost(c *gin.Context)
- func GetHostBindToWhichHostGroup(c *gin.Context)
- func GetHostGroup(c *gin.Context)
- func GetHostGroupWithTemplate(c *gin.Context)
- func GetHostGroups(c *gin.Context)
- func GetPluginOfGrp(c *gin.Context)
- func GetTemplateOfHostGroup(c *gin.Context)
- func GetTplsRelatedHost(c *gin.Context)
- func PatchHostGroupHost(c *gin.Context)
- func PutHostGroup(c *gin.Context)
- func Routes(r *gin.Engine)
- func SetMaintain(c *gin.Context)
- func UnBindAHostToHostGroup(c *gin.Context)
- func UnBindTemplateToGroup(c *gin.Context)
- func UnsetMaintain(c *gin.Context)
- func UpdateAggregator(c *gin.Context)
- type APIBindHostToHostGroupInput
- type APIBindTemplateToGroupInputs
- type APICreateAggregatorInput
- type APICreateHostGroup
- type APICreatePluginInput
- type APIHostGroupInputs
- type APIPatchHostGroupHost
- type APISetMaintainInput
- type APIUnBindAHostToHostGroup
- type APIUnBindTemplateToGroupInputs
- type APIUnsetMaintainInput
- type APIUpdateAggregatorInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindHostToHostGroup ¶
func BindTemplateToGroup ¶
func CreateAggregator ¶
func CreateHostGroup ¶ added in v0.2.2
func CreatePlugin ¶
func DeleteAggregator ¶
func DeleteHostGroup ¶
func DeletePlugin ¶
func GetAggregator ¶
func GetAggregatorListOfGrp ¶
func GetGrpsRelatedHost ¶
func GetHostGroup ¶
func GetHostGroups ¶
func GetPluginOfGrp ¶
func GetTemplateOfHostGroup ¶
func GetTplsRelatedHost ¶
func PatchHostGroupHost ¶ added in v0.2.2
func PutHostGroup ¶ added in v0.2.1
func SetMaintain ¶ added in v0.2.1
func UnBindAHostToHostGroup ¶
func UnBindTemplateToGroup ¶
func UnsetMaintain ¶ added in v0.2.1
func UpdateAggregator ¶
Types ¶
type APICreateAggregatorInput ¶
type APICreateAggregatorInput struct { GrpId int64 `json:"hostgroup_id" binding:"required"` Numerator string `json:"numerator" binding:"required"` Denominator string `json:"denominator" binding:"required"` Endpoint string `json:"endpoint" binding:"required"` Metric string `json:"metric" binding:"required"` Tags string `json:"tags" binding:"exists"` Step int `json:"step" binding:"required"` }
type APICreateHostGroup ¶ added in v0.2.2
type APICreateHostGroup struct {
Name string `json:"name" binding:"required"`
}
type APICreatePluginInput ¶
type APIHostGroupInputs ¶ added in v0.2.1
type APIPatchHostGroupHost ¶ added in v0.2.2
type APISetMaintainInput ¶ added in v0.2.1
type APIUnsetMaintainInput ¶ added in v0.2.1
type APIUpdateAggregatorInput ¶
type APIUpdateAggregatorInput struct { ID int64 `json:"id" binding:"required"` Numerator string `json:"numerator" binding:"required"` Denominator string `json:"denominator" binding:"required"` Endpoint string `json:"endpoint" binding:"required"` Metric string `json:"metric" binding:"required"` Tags string `json:"tags" binding:"exists"` Step int `json:"step" binding:"required"` }
Click to show internal directories.
Click to hide internal directories.