Documentation ¶
Overview ¶
Package hostimpl implements a component to generate the 'host' metadata payload (also known as "v5").
Package hostimpl implements a component to generate the 'host' metadata payload (also known as "v5").
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Payload ¶
type Payload struct { utils.CommonPayload utils.Payload ResourcesPayload interface{} `json:"resources,omitempty"` GohaiPayload string `json:"gohai"` }
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
type StatusProvider ¶
StatusProvider implements the status provider interface
func (StatusProvider) HTML ¶
func (p StatusProvider) HTML(_ bool, buffer io.Writer) error
HTML renders the html output
Click to show internal directories.
Click to hide internal directories.