Documentation
¶
Overview ¶
Package inventoryhostimpl implements a component to generate the 'host_metadata' metadata payload for inventory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Payload ¶
type Payload struct {
Hostname string `json:"hostname"`
Timestamp int64 `json:"timestamp"`
Metadata *hostMetadata `json:"host_metadata"`
UUID string `json:"uuid"`
}
Payload handles the JSON unmarshalling of the metadata payload
func (*Payload) MarshalJSON ¶
MarshalJSON serialization a Payload to JSON
Click to show internal directories.
Click to hide internal directories.