utils

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ProcessConfigRunInCoreAgentMinVersion = "7.60.0-0"
	EnableADPAnnotation                   = "agent.datadoghq.com/adp-enabled"
	EnableFineGrainedKubeletAuthz         = "agent.datadoghq.com/fine-grained-kubelet-authorization-enabled"
	EnableHostProfilerAnnotation          = "agent.datadoghq.com/host-profiler-enabled"

	EnablePrivateActionRunnerAnnotation     = "agent.datadoghq.com/private-action-runner-enabled"
	PrivateActionRunnerConfigDataAnnotation = "agent.datadoghq.com/private-action-runner-configdata"

	EnableClusterAgentPrivateActionRunnerAnnotation      = "cluster-agent.datadoghq.com/private-action-runner-enabled"
	ClusterAgentPrivateActionRunnerConfigDataAnnotation  = "cluster-agent.datadoghq.com/private-action-runner-configdata"
	ClusterAgentPrivateActionRunnerK8sRemediationEnabled = "cluster-agent.datadoghq.com/private-action-runner-k8s-remediation-enabled"
)

Variables

This section is empty.

Functions

func GetFeatureConfigAnnotation added in v1.25.0

func GetFeatureConfigAnnotation(dda metav1.Object, annotation string) (string, bool)

func HasFeatureEnableAnnotation added in v1.25.0

func HasFeatureEnableAnnotation(dda metav1.Object, annotation string) bool

func IsDataPlaneDogstatsdEnabled added in v1.25.0

func IsDataPlaneDogstatsdEnabled(ddaSpec *v2alpha1.DatadogAgentSpec) bool

IsDataPlaneDogstatsdEnabled returns true if the Data Plane should handle DogStatsD.

func IsDataPlaneEnabled added in v1.25.0

func IsDataPlaneEnabled(dda metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec) bool

IsDataPlaneEnabled returns true if the Data Plane is enabled. CRD configuration takes precedence over the annotation. If the annotation is used, a deprecation warning is logged.

func ShouldRunProcessChecksInCoreAgent added in v1.21.0

func ShouldRunProcessChecksInCoreAgent(ddaSpec *v2alpha1.DatadogAgentSpec) bool

ShouldRunProcessChecksInCoreAgent determines whether allow process checks to run in core agent based on environment variables and the agent version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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