Documentation ¶
Index ¶
- func DefaultCapabilitiesForSystemProbe() []corev1.Capability
- func GetAgentName(dda metav1.Object) string
- func GetAgentRoleName(dda metav1.Object) string
- func GetDefaultMetadata(owner metav1.Object, componentKind, componentName, version string, ...) (map[string]string, map[string]string, *metav1.LabelSelector)
- func NewDaemonset(owner metav1.Object, edsOptions *ExtendedDaemonsetOptions, ...) *appsv1.DaemonSet
- func NewDefaultAgentDaemonset(dda metav1.Object, edsOptions *ExtendedDaemonsetOptions, ...) *appsv1.DaemonSet
- func NewDefaultAgentExtendedDaemonset(dda metav1.Object, edsOptions *ExtendedDaemonsetOptions, ...) *edsv1alpha1.ExtendedDaemonSet
- func NewDefaultAgentPodTemplateSpec(dda metav1.Object, agentComponent feature.RequiredComponent, ...) *corev1.PodTemplateSpec
- func NewExtendedDaemonset(owner metav1.Object, edsOptions *ExtendedDaemonsetOptions, ...) *edsv1alpha1.ExtendedDaemonSet
- type ExtendedDaemonsetOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCapabilitiesForSystemProbe ¶
func DefaultCapabilitiesForSystemProbe() []corev1.Capability
DefaultCapabilitiesForSystemProbe returns the default Security Context Capabilities for the System Probe container
func GetAgentName ¶
GetAgentName return the Agent name based on the DatadogAgent info
func GetAgentRoleName ¶
GetAgentRoleName returns the name of the role for the Agent
func GetDefaultMetadata ¶
func NewDaemonset ¶
func NewDaemonset(owner metav1.Object, edsOptions *ExtendedDaemonsetOptions, componentKind, componentName, version string, selector *metav1.LabelSelector) *appsv1.DaemonSet
NewDaemonset use to generate the skeleton of a new daemonset based on few information
func NewDefaultAgentDaemonset ¶
func NewDefaultAgentDaemonset(dda metav1.Object, edsOptions *ExtendedDaemonsetOptions, agentComponent feature.RequiredComponent) *appsv1.DaemonSet
NewDefaultAgentDaemonset return a new default agent DaemonSet
func NewDefaultAgentExtendedDaemonset ¶
func NewDefaultAgentExtendedDaemonset(dda metav1.Object, edsOptions *ExtendedDaemonsetOptions, agentComponent feature.RequiredComponent) *edsv1alpha1.ExtendedDaemonSet
NewDefaultAgentExtendedDaemonset return a new default agent DaemonSet
func NewDefaultAgentPodTemplateSpec ¶
func NewDefaultAgentPodTemplateSpec(dda metav1.Object, agentComponent feature.RequiredComponent, labels map[string]string) *corev1.PodTemplateSpec
NewDefaultAgentPodTemplateSpec returns a defaulted node agent PodTemplateSpec with a single multi-process container or multiple single-process containers
func NewExtendedDaemonset ¶
func NewExtendedDaemonset(owner metav1.Object, edsOptions *ExtendedDaemonsetOptions, componentKind, componentName, version string, selector *metav1.LabelSelector) *edsv1alpha1.ExtendedDaemonSet
NewExtendedDaemonset use to generate the skeleton of a new extended daemonset based on few information
Types ¶
type ExtendedDaemonsetOptions ¶
type ExtendedDaemonsetOptions struct { Enabled bool MaxPodSchedulerFailure string CanaryDuration time.Duration CanaryReplicas string CanaryAutoPauseEnabled bool CanaryAutoPauseMaxRestarts int32 CanaryAutoFailEnabled bool CanaryAutoFailMaxRestarts int32 CanaryAutoPauseMaxSlowStartDuration time.Duration }
ExtendedDaemonsetOptions defines ExtendedDaemonset options