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) Subscribe ¶
func (c *FactsEngine) Subscribe() error
func (*FactsEngine) Unsubscribe ¶
func (c *FactsEngine) Unsubscribe() error
Click to show internal directories.
Click to hide internal directories.