override

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package override provides a set of function to override generic resource such as corev1.PodTemplate and corev1.Container.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyGlobalSettingsClusterAgent added in v1.4.0

func ApplyGlobalSettingsClusterAgent(logger logr.Logger, manager feature.PodTemplateManagers, dda *v2alpha1.DatadogAgent,
	resourcesManager feature.ResourceManagers) *corev1.PodTemplateSpec

func ApplyGlobalSettingsClusterChecksRunner added in v1.4.0

func ApplyGlobalSettingsClusterChecksRunner(logger logr.Logger, manager feature.PodTemplateManagers, dda *v2alpha1.DatadogAgent,
	resourcesManager feature.ResourceManagers) *corev1.PodTemplateSpec

func ApplyGlobalSettingsNodeAgent added in v1.4.0

func ApplyGlobalSettingsNodeAgent(logger logr.Logger, manager feature.PodTemplateManagers, dda *v2alpha1.DatadogAgent,
	resourcesManager feature.ResourceManagers, singleContainerStrategyEnabled bool) *corev1.PodTemplateSpec

func Container

Container use to override a corev1.Container with a 2alpha1.DatadogAgentGenericContainer.

func DaemonSet

func DaemonSet(daemonSet *v1.DaemonSet, override *v2alpha1.DatadogAgentComponentOverride)

DaemonSet overrides a DaemonSet according to the given override options

func Dependencies

func Dependencies(logger logr.Logger, manager feature.ResourceManagers, dda *v2alpha1.DatadogAgent) (errs []error)

Dependencies is used to override any resource/dependency settings with a v2alpha1.DatadogAgentComponentOverride.

func Deployment

func Deployment(deployment *v1.Deployment, override *v2alpha1.DatadogAgentComponentOverride)

Deployment overrides a v1.Deployment according to the given override options

func ExtendedDaemonSet

func ExtendedDaemonSet(eds *edsv1alpha1.ExtendedDaemonSet, override *v2alpha1.DatadogAgentComponentOverride)

ExtendedDaemonSet overrides an ExtendedDaemonSet according to the given override options

func PodTemplateSpec

func PodTemplateSpec(logger logr.Logger, manager feature.PodTemplateManagers, override *v2alpha1.DatadogAgentComponentOverride, componentName v2alpha1.ComponentName, ddaName string)

PodTemplateSpec use to override a corev1.PodTemplateSpec with a 2alpha1.DatadogAgentPodTemplateOverride.

Types

This section is empty.

Jump to

Keyboard shortcuts

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