networkpolicyregistrar

package
v1.73.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "networkpolicy-controller-registrar"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

func NetworkingPredicate added in v1.71.2

func NetworkingPredicate() predicate.Predicate

NetworkingPredicate returns true for Create and Update events if the garden.Spec.RuntimeCluster.Networking.{Pods,Services} fields are not empty TODO(shafeeqes): Remove this predicate in v1.75

Types

type Reconciler

type Reconciler struct {
	Manager manager.Manager
	Config  config.NetworkPolicyControllerConfiguration
	// contains filtered or unexported fields
}

Reconciler adds the NetworkPolicy controller to the manager.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) Reconcile

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

Reconcile performs the main reconciliation logic.

Jump to

Keyboard shortcuts

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