factsengine

package
v0.0.0-...-ba26d65 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

nolint:nosnakecase

Index

Constants

View Source
const (
	FactsGatheringRequested = "Trento.Checks.V1.FactsGatheringRequested"
)

Variables

This section is empty.

Functions

func FactsGatheredToEvent

func FactsGatheredToEvent(gatheredFacts entities.FactsGathered) ([]byte, error)

func FactsGatheringRequestedFromEvent

func FactsGatheringRequestedFromEvent(event []byte) (*entities.FactsGatheringRequested, error)

Types

type FactsEngine

type FactsEngine struct {
	// contains filtered or unexported fields
}

func NewFactsEngine

func NewFactsEngine(agentID, factsEngineService string, registry gatherers.Registry) *FactsEngine

func (*FactsEngine) Listen

func (c *FactsEngine) Listen(ctx context.Context) error

func (*FactsEngine) Subscribe

func (c *FactsEngine) Subscribe() error

func (*FactsEngine) Unsubscribe

func (c *FactsEngine) Unsubscribe() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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