node

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 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) (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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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