Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfigResult ¶
type AgentConfigResult struct {
Key string `gorm:"primary_key:true;column:key" json:"key" conform:"trim"`
Value string `gorm:"column:value" json:"value" conform:"trim"`
}
func (AgentConfigResult) TableName ¶
func (AgentConfigResult) TableName() string
type HostgroupsResult ¶
type HostgroupsResult struct {
ID int `gorm:"primary_key:true;column:id" json:"id"`
Name string `gorm:"column:grp_name" json:"name" conform:"trim"`
Plugins []*PluginTag `json:"plugins"`
IdsOfGroups string `gorm:"column:gt_ids"`
NamesOfGroups string `gorm:"column:gt_names"`
}
func (*HostgroupsResult) AfterLoad ¶
func (hg *HostgroupsResult) AfterLoad()
func (*HostgroupsResult) MarshalJSON ¶
func (hg *HostgroupsResult) MarshalJSON() ([]byte, error)
func (HostgroupsResult) TableName ¶
func (HostgroupsResult) TableName() string
func (*HostgroupsResult) ToSimpleJson ¶
func (hg *HostgroupsResult) ToSimpleJson() *json.Json
type HostsResult ¶
type HostsResult struct {
ID int `gorm:"primary_key:true;column:id" json:"id"`
Hostname string `gorm:"column:hostname" json:"hostname" conform:"trim"`
Groups []*owlModel.GroupTag `json:"groups"`
IdsOfGroups string `gorm:"column:gt_ids"`
NamesOfGroups string `gorm:"column:gt_names"`
}
func (*HostsResult) AfterLoad ¶
func (host *HostsResult) AfterLoad()
func (*HostsResult) MarshalJSON ¶
func (host *HostsResult) MarshalJSON() ([]byte, error)
func (HostsResult) TableName ¶
func (HostsResult) TableName() string
func (*HostsResult) ToSimpleJson ¶
func (host *HostsResult) ToSimpleJson() *json.Json
type PingListLog ¶
type PluginTags ¶
type PluginTags []*PluginTag
func (PluginTags) ToJson ¶
func (pluginTags PluginTags) ToJson() []*json.Json
Click to show internal directories.
Click to hide internal directories.