inventorychecksimpl

package
v0.0.0-...-bfe00b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

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

func (p *Payload) MarshalJSON() ([]byte, error)

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

func NewComponent(deps Requires) Provides

NewComponent creates a new inventorychecks component.

type Requires

Requires defines the component dependencies.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL