utils

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NotFoundString = "404 Not Found"

Variables

This section is empty.

Functions

func GetDatadogAgentResourceCreationTime added in v1.6.0

func GetDatadogAgentResourceCreationTime(dda metav1.Object) string

GetDatadogAgentResourceCreationTime returns the creation timestamp of the Datadog Agent Resource

func GetDatadogAgentResourceNamespace added in v1.4.0

func GetDatadogAgentResourceNamespace(dda metav1.Object) string

GetDatadogAgentResourceNamespace returns the namespace of the Datadog Agent Resource

func GetDatadogAgentResourceUID added in v1.6.0

func GetDatadogAgentResourceUID(dda metav1.Object) string

GetDatadogAgentResourceUID returns the UID of the Datadog Agent Resource

func GetDatadogLeaderElectionResourceName added in v1.0.0

func GetDatadogLeaderElectionResourceName(dda metav1.Object) string

GetDatadogLeaderElectionResourceName return the nome of the Resource managing the leader election token info.

func GetDatadogTokenResourceName added in v1.0.0

func GetDatadogTokenResourceName(dda metav1.Object) string

GetDatadogTokenResourceName returns the name of the ConfigMap used by the cluster agent to store token

func ShouldReturn added in v0.8.0

func ShouldReturn(result reconcile.Result, err error) bool

ShouldReturn returns if we should stop the reconcile loop based on result

func UseCustomSeccompConfigData added in v1.19.0

func UseCustomSeccompConfigData(seccompConfig *v2alpha1.SeccompConfig) bool

UseCustomSeccompConfigData returns true if a custom Seccomp profile configData is configured and configMap is *not* configured

func UseCustomSeccompConfigMap added in v1.19.0

func UseCustomSeccompConfigMap(seccompConfig *v2alpha1.SeccompConfig) bool

UseCustomSeccompConfigMap returns true if a custom Seccomp profile configMap is configured

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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