Documentation ¶
Overview ¶
Package collectorimpl provides the implementation of the collector component.
Package collectorimpl provides the implementation of the collector component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Payload ¶
type Payload struct { hostMetadataUtils.CommonPayload Meta hostMetadataUtils.Meta `json:"meta"` AgentChecks []interface{} `json:"agent_checks"` ExternalhostTags externalhost.Payload `json:"external_host_tags"` }
Payload handles the JSON unmarshalling of the metadata payload
func (*Payload) MarshalJSON ¶
MarshalJSON serialization a Payload to JSON
func (*Payload) SplitPayload ¶
func (p *Payload) SplitPayload(_ int) ([]marshaler.AbstractMarshaler, error)
SplitPayload breaks the payload into times number of pieces
Source Files ¶
Click to show internal directories.
Click to hide internal directories.