Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentStatus ¶
type AgentStatus struct {
Name string `json:"name"`
Key string `json:"key"`
Installed bool `json:"installed"`
Configured bool `json:"configured"`
}
AgentStatus represents the installation and configuration state of a single agent.
type StatusResult ¶
type StatusResult struct {
Agents []AgentStatus `json:"agents"`
SetupCommand string `json:"setup_command"`
}
StatusResult contains the status of all known agents and the setup command.
func CheckAgents ¶
func CheckAgents() *StatusResult
CheckAgents checks which agents are installed and whether their guppi hooks are configured.
Click to show internal directories.
Click to hide internal directories.