Documentation
¶
Overview ¶
Package hostsysteminfoimpl implements a component to generate the 'host_system_info' metadata payload for inventory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct {
Hostname string `json:"hostname"`
Timestamp int64 `json:"timestamp"`
Metadata *hostSystemInfoMetadata `json:"host_system_info_metadata"`
UUID string `json:"uuid"`
}
func (*Payload) MarshalJSON ¶
type Provides ¶
type Provides struct {
Comp hostsysteminfo.Component
Provider runnerimpl.Provider
FlareProvider flaretypes.Provider
Endpoint api.AgentEndpointProvider
}
func NewSystemInfoProvider ¶
type Requires ¶
type Requires struct {
Log log.Component
Config config.Component
Serializer serializer.MetricSerializer
Hostname hostnameinterface.Component
}
Click to show internal directories.
Click to hide internal directories.