Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupControllers ¶
SetupControllers starts all controllers (also used by e2e tests)
Types ¶
type DatadogAgentProfileReconciler ¶ added in v1.5.0
type DatadogAgentProfileReconciler struct {
Client client.Client
Log logr.Logger
Scheme *runtime.Scheme
Recorder record.EventRecorder
// contains filtered or unexported fields
}
DatadogAgentProfileReconciler reconciles a DatadogAgentProfile object.
func (*DatadogAgentProfileReconciler) Reconcile ¶ added in v1.5.0
func (r *DatadogAgentProfileReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile loop for DatadogAgentProfile.
func (*DatadogAgentProfileReconciler) SetupWithManager ¶ added in v1.5.0
func (r *DatadogAgentProfileReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a new DatadogAgentProfile controller.
type DatadogAgentReconciler ¶
type DatadogAgentReconciler struct {
client.Client
VersionInfo *version.Info
PlatformInfo kubernetes.PlatformInfo
Log logr.Logger
Scheme *runtime.Scheme
Recorder record.EventRecorder
Options datadogagent.ReconcilerOptions
// contains filtered or unexported fields
}
DatadogAgentReconciler reconciles a DatadogAgent object.
func (*DatadogAgentReconciler) Reconcile ¶
func (r *DatadogAgentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile loop for DatadogAgent.
func (*DatadogAgentReconciler) SetupWithManager ¶
func (r *DatadogAgentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a new DatadogAgent controller.
type DatadogMonitorReconciler ¶ added in v0.6.0
type DatadogMonitorReconciler struct {
Client client.Client
DDClient datadogclient.DatadogMonitorClient
VersionInfo *version.Info
Log logr.Logger
Scheme *runtime.Scheme
Recorder record.EventRecorder
// contains filtered or unexported fields
}
DatadogMonitorReconciler reconciles a DatadogMonitor object.
func (*DatadogMonitorReconciler) Reconcile ¶ added in v0.6.0
func (r *DatadogMonitorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile loop for DatadogMonitor.
func (*DatadogMonitorReconciler) SetupWithManager ¶ added in v0.6.0
func (r *DatadogMonitorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a new DatadogMonitor controller.
type DatadogSLOReconciler ¶ added in v1.3.0
type DatadogSLOReconciler struct {
Client client.Client
DDClient datadogclient.DatadogSLOClient
VersionInfo *version.Info
Log logr.Logger
Scheme *runtime.Scheme
Recorder record.EventRecorder
// contains filtered or unexported fields
}
func (*DatadogSLOReconciler) Reconcile ¶ added in v1.3.0
func (r *DatadogSLOReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Reconcile loop for Datadog SLO
func (*DatadogSLOReconciler) SetupWithManager ¶ added in v1.3.0
func (r *DatadogSLOReconciler) SetupWithManager(mgr ctrl.Manager) error
type ExtendedDaemonsetOptions ¶ added in v1.1.0
type ExtendedDaemonsetOptions struct {
Enabled bool
MaxPodSchedulerFailure string
CanaryDuration time.Duration
CanaryReplicas string
CanaryAutoPauseEnabled bool
CanaryAutoPauseMaxRestarts int
CanaryAutoFailEnabled bool
CanaryAutoFailMaxRestarts int
CanaryAutoPauseMaxSlowStartDuration time.Duration
}
ExtendedDaemonsetOptions defines ExtendedDaemonset options
type SetupOptions ¶ added in v0.6.0
type SetupOptions struct {
SupportExtendedDaemonset ExtendedDaemonsetOptions
SupportCilium bool
Creds config.Creds
DatadogAgentEnabled bool
DatadogMonitorEnabled bool
DatadogSLOEnabled bool
OperatorMetricsEnabled bool
V2APIEnabled bool
IntrospectionEnabled bool
DatadogAgentProfileEnabled bool
ProcessChecksInCoreAgentEnabled bool
OtelAgentEnabled bool
}
SetupOptions defines options for setting up controllers to ease testing
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
dependencies
Package dependencies provides a store use to manage deployment dependencies.
|
Package dependencies provides a store use to manage deployment dependencies. |
|
feature
Package feature provide the framework to manage Feature in a generic way.
|
Package feature provide the framework to manage Feature in a generic way. |
|
override
Package override provides a set of function to override generic resource such as corev1.PodTemplate and corev1.Container.
|
Package override provides a set of function to override generic resource such as corev1.PodTemplate and corev1.Container. |
|
testutils
Package testutils_test contains a set of unit-test helper functions to ease the creation of unit-test around the DatadogAgent CRD controller
|
Package testutils_test contains a set of unit-test helper functions to ease the creation of unit-test around the DatadogAgent CRD controller |