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