Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "networkpolicy"
ControllerName is the name of the controller.
Variables ¶
This section is empty.
Functions ¶
func AddToManager ¶
AddToManager adds a controller to the given manager.
func IsShootNamespace ¶
IsShootNamespace returns a predicate that returns true if the namespace is a shoot namespace.
func IsShootProviderLocal ¶
IsShootProviderLocal returns a predicate that returns true if the provider of the shoot is of type "local".
Types ¶
type Reconciler ¶
Reconciler creates the required networkpolicies in the shoot namespace.
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.