remoteconfig

package
v1.9.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreAgentFeaturesConfig

type CoreAgentFeaturesConfig struct {
	SBOM *SbomConfig `json:"sbom"`
}

type DatadogAgentRemoteConfig

type DatadogAgentRemoteConfig struct {
	ID            string                       `json:"id,omitempty"`
	Name          string                       `json:"name,omitempty"`
	CoreAgent     *CoreAgentFeaturesConfig     `json:"config,omitempty"`
	SystemProbe   *SystemProbeFeaturesConfig   `json:"system_probe,omitempty"`
	SecurityAgent *SecurityAgentFeaturesConfig `json:"security_agent,omitempty"`
}

DatadogAgentRemoteConfig contains the struct used to update DatadogAgent object from RemoteConfig

type FeatureEnabledConfig

type FeatureEnabledConfig struct {
	Enabled *bool `json:"enabled"`
}

type RcServiceConfiguration

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

type RemoteConfigUpdater

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

func NewRemoteConfigUpdater

func NewRemoteConfigUpdater(client kubeclient.Client, logger logr.Logger) *RemoteConfigUpdater

func (*RemoteConfigUpdater) Setup

func (r *RemoteConfigUpdater) Setup(creds config.Creds) error

func (*RemoteConfigUpdater) Start

func (r *RemoteConfigUpdater) Start(apiKey string, site string, clusterName string, directorRoot string, configRoot string, endpoint string) error

func (*RemoteConfigUpdater) Stop

func (r *RemoteConfigUpdater) Stop() error

type SbomConfig

type SbomConfig struct {
	Enabled        *bool                 `json:"enabled"`
	Host           *FeatureEnabledConfig `json:"host"`
	ContainerImage *FeatureEnabledConfig `json:"container_image"`
}

type SecurityAgentFeaturesConfig

type SecurityAgentFeaturesConfig struct {
	CSPM *FeatureEnabledConfig `json:"compliance_config"`
}

type SystemProbeFeaturesConfig

type SystemProbeFeaturesConfig struct {
	CWS *FeatureEnabledConfig `json:"runtime_security_config"`
	USM *FeatureEnabledConfig `json:"service_monitoring_config"`
}

Jump to

Keyboard shortcuts

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