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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.