utils

package
v1.24.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EnableADPAnnotation = "agent.datadoghq.com/adp-enabled"
View Source
const EnableFineGrainedKubeletAuthz = "agent.datadoghq.com/fine-grained-kubelet-authorization-enabled"
View Source
const EnableHostProfilerAnnotion = "agent.datadoghq.com/host-profiler-enabled"
View Source
const EnablePrivateActionRunnerAnnotation = "agent.datadoghq.com/private-action-runner-enabled"
View Source
const HostProfilerConfigDataAnnotion = "agent.datadoghq.com/host-profiler-configdata"
View Source
const HostProfilerConfigMapNameAnnotion = "agent.datadoghq.com/host-profiler-configmap-name"

Config map item must be `host-profiler-config.yaml`

View Source
const PrivateActionRunnerConfigDataAnnotation = "agent.datadoghq.com/private-action-runner-configdata"
View Source
const ProcessConfigRunInCoreAgentMinVersion = "7.60.0-0"

Variables

This section is empty.

Functions

func HasAgentDataPlaneAnnotation added in v1.11.0

func HasAgentDataPlaneAnnotation(dda metav1.Object) bool

HasAgentDataPlaneAnnotation returns true if the Agent Data Plane is enabled via the dedicated `agent.datadoghq.com/adp-enabled` annotation

func HasFineGrainedKubeletAuthz added in v1.20.0

func HasFineGrainedKubeletAuthz(dda metav1.Object) bool

HasFineGrainedKubeletAuthz returns true if the feature is enabled via the dedicated `agent.datadoghq.com/fine-grained-kubelet-authorization-enabled` annotation

func HasHostProfilerAnnotation added in v1.23.0

func HasHostProfilerAnnotation(dda metav1.Object) bool

HasHostProfilerAnnotation returns true if the Host Profiler is enabled via the dedicated `agent.datadoghq.com/host-profiler` annotation

func HasHostProfilerConfigAnnotion added in v1.23.0

func HasHostProfilerConfigAnnotion(dda metav1.Object, annotationName string) (string, bool)

HasHostProfilerConfigAnnotion returns true if the Host Profiler has a config annotation, and returns the config.

func HasPrivateActionRunnerAnnotation

func HasPrivateActionRunnerAnnotation(dda metav1.Object) bool

HasPrivateActionRunnerAnnotation returns true if the Private Action Runner is enabled via the dedicated annotation

func HasPrivateActionRunnerConfigAnnotation

func HasPrivateActionRunnerConfigAnnotation(dda metav1.Object, annotationName string) (string, bool)

HasPrivateActionRunnerConfigAnnotation returns the value and presence of a Private Action Runner config annotation

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