servicediscovery

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler added in v0.12.0

type Reconciler struct {
	// This client is scoped to the operator namespace intended to only be used for resources created and maintained by this
	// controller. Also it's a split client that reads objects from the cache and writes to the apiserver.
	ScopedClient controllerClient.Client
	// This client can be used to access any other resource not in the operator namespace.
	GeneralClient controllerClient.Client
	Scheme        *runtime.Scheme
	RestConfig    *rest.Config
}

Reconciler reconciles a ServiceDiscovery object.

func (*Reconciler) Reconcile added in v0.12.0

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a ServiceDiscovery object and makes changes based on the state read and what is in the ServiceDiscovery.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.

func (*Reconciler) SetupWithManager added in v0.12.0

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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