sensorversion

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(context.Context, types.NamespacedName) error

type SensorVersionQuery

type SensorVersionQuery func(context.Context) (string, error)

func NewFalconCloudQuery

func NewFalconCloudQuery(sensorType falcon.SensorType, apiConfig *falcon.ApiConfig) SensorVersionQuery

type Tracker

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

func NewTestTracker

func NewTestTracker() (Tracker, func())

func NewTracker

func NewTracker(ctx context.Context, pollingInterval time.Duration) Tracker

func (Tracker) StartTracking

func (tracker Tracker) StartTracking()

func (Tracker) StopTracking

func (tracker Tracker) StopTracking(name types.NamespacedName)

func (Tracker) Track

func (tracker Tracker) Track(name types.NamespacedName, getSensorVersion SensorVersionQuery, handler Handler, forceHandler bool)

func (Tracker) TrackChanges

func (tracker Tracker) TrackChanges() error

Jump to

Keyboard shortcuts

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