oneagent

package
v1.0.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func NewOneAgentReconciler

func NewOneAgentReconciler(
	client client.Client,
	apiReader client.Reader,
	scheme *runtime.Scheme,
	clusterID string) *Reconciler

NewOneAgentReconciler initializes a new ReconcileOneAgent instance

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error

Reconcile reads that state of the cluster for a OneAgent object and makes changes based on the state read and what is in the OneAgent.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

type ReconcilerBuilder added in v1.0.0

type ReconcilerBuilder func(
	client client.Client,
	apiReader client.Reader,
	scheme *runtime.Scheme,
	clusterID string) *Reconciler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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