Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACPayload ¶
type ACPayload struct {
AgentChecks []interface{} `json:"agent_checks"`
}
ACPayload wraps the Agent Checks payload
type CommonPayload ¶
CommonPayload wraps Payload from the common package
type ExternalHostPayload ¶
type ExternalHostPayload struct {
externalhost.Payload `json:"external_host_tags"`
}
ExternalHostPayload wraps Payload from the `externalhost` package
type MetaPayload ¶
MetaPayload wraps Meta from the host package (this is cached)
type Payload ¶
type Payload struct { CommonPayload MetaPayload ACPayload ExternalHostPayload }
Payload handles the JSON unmarshalling of the metadata payload
func GetPayload ¶
func GetPayload() *Payload
GetPayload builds a payload of all the agentchecks metadata
func (*Payload) MarshalJSON ¶
MarshalJSON serialization a Payload to JSON
Click to show internal directories.
Click to hide internal directories.