Documentation ¶
Index ¶
- func New(mgr server.AgentManager) (*mcorpc.Agent, error)
- type AgentInventoryInfoReply
- type AgentInventoryReply
- type CPUTimes
- type CollectiveInfoReply
- type DaemonStatsReply
- type GetConfigItemReply
- type GetConfigItemRequest
- type GetConfigItemResponse
- type GetDataRequest
- type GetFactReply
- type GetFactsReply
- type InventoryReply
- type MachineState
- type PingReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentInventoryInfoReply ¶
type AgentInventoryReply ¶
type AgentInventoryReply struct {
Agents []AgentInventoryInfoReply `json:"agents"`
}
type CollectiveInfoReply ¶
type DaemonStatsReply ¶
type DaemonStatsReply struct { Agents []string `json:"agents"` ConfigFile string `json:"configfile"` Filtered int64 `json:"filtered"` PID int `json:"pid"` Passed int64 `json:"passed"` Procs []string `json:"threads"` Replies int64 `json:"replies"` StartTime int64 `json:"starttime"` TTLExpired int64 `json:"ttlexpired"` Events int64 `json:"events"` Times CPUTimes `json:"times"` Total int64 `json:"total"` Unvalidated int64 `json:"unvalidated"` Validated int64 `json:"validated"` Version string `json:"version"` }
type GetConfigItemReply ¶
type GetConfigItemRequest ¶ added in v0.20.0
type GetConfigItemRequest struct {
Item string `json:"item"`
}
type GetConfigItemResponse ¶ added in v0.20.0
type GetDataRequest ¶ added in v0.20.0
type GetFactReply ¶
type GetFactsReply ¶
type InventoryReply ¶
type InventoryReply struct { Agents []string `json:"agents"` Classes []string `json:"classes"` Collectives []string `json:"collectives"` DataPlugins []string `json:"data_plugins"` Facts json.RawMessage `json:"facts"` Machines []MachineState `json:"machines"` MainCollective string `json:"main_collective"` Version string `json:"version"` Upgradable bool `json:"upgradable"` }
type MachineState ¶ added in v0.19.0
Click to show internal directories.
Click to hide internal directories.