Documentation
¶
Index ¶
Constants ¶
View Source
const ControllerName = "bastion"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client Config controllermanagerconfigv1alpha1.BastionControllerConfiguration Clock clock.Clock }
Reconciler reconciles Bastions.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) MapShootToBastions ¶
func (r *Reconciler) MapShootToBastions(log logr.Logger) handler.MapFunc
MapShootToBastions is a handler.MapFunc for mapping shoots to referencing Bastions.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reacts to updates on Bastion resources and cleans up expired Bastions.
func (*Reconciler) ShootPredicate ¶
func (r *Reconciler) ShootPredicate() predicate.Predicate
ShootPredicate returns the predicate for Shoot events.
Click to show internal directories.
Click to hide internal directories.