oneagent

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReconciler added in v1.1.0

func NewReconciler(
	client client.Client,
	apiReader client.Reader,
	dtClient dynatrace.Client,
	dynakube *dynatracev1beta2.DynaKube,
	tokens token.Tokens,
	clusterID string,
) controllers.Reconciler

NewReconciler initializes a new ReconcileOneAgent instance

Types

type Reconciler

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

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context) 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,
	dtClient dynatrace.Client,
	dynakube *dynatracev1beta2.DynaKube,
	tokens token.Tokens,
	clusterID string,
) controllers.Reconciler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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