Documentation
¶
Index ¶
- Constants
- func ContainsString(list []string, s string) bool
- func GetDatadogAgentResourceCreationTime(dda metav1.Object) string
- func GetDatadogAgentResourceNamespace(dda metav1.Object) string
- func GetDatadogAgentResourceUID(dda metav1.Object) string
- func GetDatadogLeaderElectionResourceName(dda metav1.Object) string
- func GetDatadogTokenResourceName(dda metav1.Object) string
- func RemoveString(list []string, s string) []string
- func ShouldReturn(result reconcile.Result, err error) bool
- func UseCustomSeccompConfigData(seccompConfig *v2alpha1.SeccompConfig) bool
- func UseCustomSeccompConfigMap(seccompConfig *v2alpha1.SeccompConfig) bool
Constants ¶
const NotFoundString = "404 Not Found"
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString checks if a slice contains a specific string
func GetDatadogAgentResourceCreationTime ¶ added in v1.6.0
GetDatadogAgentResourceCreationTime returns the creation timestamp of the Datadog Agent Resource
func GetDatadogAgentResourceNamespace ¶ added in v1.4.0
GetDatadogAgentResourceNamespace returns the namespace of the Datadog Agent Resource
func GetDatadogAgentResourceUID ¶ added in v1.6.0
GetDatadogAgentResourceUID returns the UID of the Datadog Agent Resource
func GetDatadogLeaderElectionResourceName ¶ added in v1.0.0
GetDatadogLeaderElectionResourceName return the nome of the Resource managing the leader election token info.
func GetDatadogTokenResourceName ¶ added in v1.0.0
GetDatadogTokenResourceName returns the name of the ConfigMap used by the cluster agent to store token
func RemoveString ¶
RemoveString removes a specific string from a slice
func ShouldReturn ¶ added in v0.8.0
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.