node

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFalconAPINotConfigured = errors.New("missing falcon_api configuration")

Functions

This section is empty.

Types

type ConfigCache

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

ConfigCache holds config values for node sensor. Those values are either provided by user or fetched dynamically. That happens transparently to the caller.

func ConfigCacheTest added in v0.7.0

func ConfigCacheTest(cid string, imageUri string, nodeTest *falconv1alpha1.FalconNodeSensor) *ConfigCache

func NewConfigCache

func NewConfigCache(ctx context.Context, logger logr.Logger, nodesensor *falconv1alpha1.FalconNodeSensor) (*ConfigCache, error)

func (*ConfigCache) CID

func (cc *ConfigCache) CID() string

func (*ConfigCache) GetImageURI

func (cc *ConfigCache) GetImageURI(ctx context.Context, logger logr.Logger) (string, error)

func (*ConfigCache) GetPullToken

func (cc *ConfigCache) GetPullToken(ctx context.Context) ([]byte, error)

func (*ConfigCache) SensorEnvVars

func (cc *ConfigCache) SensorEnvVars() map[string]string

func (*ConfigCache) UsingCrowdStrikeRegistry added in v0.5.4

func (cc *ConfigCache) UsingCrowdStrikeRegistry() bool

Jump to

Keyboard shortcuts

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