Documentation ¶
Index ¶
- Variables
- type ConfigCache
- func (cc *ConfigCache) CID() string
- func (cc *ConfigCache) GetImageURI(ctx context.Context, logger logr.Logger) (string, error)
- func (cc *ConfigCache) GetPullToken(ctx context.Context) ([]byte, error)
- func (cc *ConfigCache) SensorEnvVars() map[string]string
- func (cc *ConfigCache) UsingCrowdStrikeRegistry() bool
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 (*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
Click to show internal directories.
Click to hide internal directories.