Documentation ¶
Index ¶
- func BindHostToHostGroup(c *gin.Context)
- func BindTemplateToGroup(c *gin.Context)
- func CrateHostGroup(c *gin.Context)
- func CreateAggregator(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 HostsSetToMaintain(c *gin.Context)
- func Routes(r *gin.Engine)
- func UnBindAHostToHostGroup(c *gin.Context)
- func UnBindTemplateToGroup(c *gin.Context)
- func UpdateAggregator(c *gin.Context)
- type APIBindHostToHostGroupInput
- type APIBindTemplateToGroupInputs
- type APICrateHostGroup
- type APICreateAggregatorInput
- type APICreatePluginInput
- type APIHostsSetToMaintainInputs
- type APIUnBindAHostToHostGroup
- type APIUnBindTemplateToGroupInputs
- type APIUpdateAggregatorInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindHostToHostGroup ¶
func BindTemplateToGroup ¶
func CrateHostGroup ¶
func CreateAggregator ¶
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 HostsSetToMaintain ¶
func UnBindAHostToHostGroup ¶
func UnBindTemplateToGroup ¶
func UpdateAggregator ¶
Types ¶
type APICrateHostGroup ¶
type APICrateHostGroup struct {
Name string `json:"name" binding:"required"`
}
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 APICreatePluginInput ¶
type APIHostsSetToMaintainInputs ¶
type APIHostsSetToMaintainInputs struct { Hosts []string `json:"hosts" form:"hosts" binding:"required"` StartTime int32 `json:"start_time" form:"start_time" binding:"gt=-1"` EndTime int32 `json:"end_time" form:"end_time" binding:"gt=-1"` }
func (APIHostsSetToMaintainInputs) Check ¶
func (mine APIHostsSetToMaintainInputs) Check() (err error)
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.