Documentation
¶
Overview ¶
Package inventorychecksimpl implements the inventorychecks component interface.
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 map[string][]metadata `json:"check_metadata"`
LogsMetadata map[string][]metadata `json:"logs_metadata"`
FilesMetadata metadata `json:"files_metadata"`
UUID string `json:"uuid"`
}
Payload handles the JSON unmarshalling of the metadata payload
func (*Payload) MarshalJSON ¶
MarshalJSON serialization a Payload to JSON
type Provides ¶
type Provides struct {
Comp inventorychecks.Component
Provider runnerdef.Provider
FlareProvider flaretypes.Provider
Endpoint api.AgentEndpointProvider
}
Provides defines the component outputs.
func NewComponent ¶
NewComponent creates a new inventorychecks component.
Click to show internal directories.
Click to hide internal directories.