remoteconfig

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 23 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 CustomResourceDefinitionURLs added in v1.10.0

type CustomResourceDefinitionURLs struct {
	Crds *[]string `json:"crds,omitempty"`
}

CustomResourceDefinitionURLs defines model for CustomResourceDefinitionURLs.

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

func (DatadogAgentRemoteConfig) GetID added in v1.10.0

func (d DatadogAgentRemoteConfig) GetID() string

GetID returns the ID of the configuration

type DatadogProductRemoteConfig added in v1.10.0

type DatadogProductRemoteConfig interface {
	// GetID returns the ID of the configuration
	GetID() string
}

DatadogProductRemoteConfig is an interface for Datadog product remote configuration

type FeatureEnabledConfig

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

type OrchestratorK8sCRDRemoteConfig added in v1.10.0

type OrchestratorK8sCRDRemoteConfig struct {
	ID   string                        `json:"id,omitempty"`
	Name string                        `json:"name,omitempty"`
	CRDs *CustomResourceDefinitionURLs `json:"crds,omitempty"`
}

OrchestratorK8sCRDRemoteConfig contains the struct used to update OrchestratorK8sCRD object from RemoteConfig

func (OrchestratorK8sCRDRemoteConfig) GetID added in v1.10.0

GetID returns the ID of the configuration

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