Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(mgr manager.Manager) error
- func (r *Reconciler) MapShootToBastions(ctx context.Context, log logr.Logger, reader client.Reader, obj client.Object) []reconcile.Request
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (r *Reconciler) ShootPredicate() predicate.Predicate
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 ¶ added in v1.52.0
type Reconciler struct { Client client.Client Config config.BastionControllerConfiguration Clock clock.Clock }
Reconciler reconciles Bastions.
func (*Reconciler) AddToManager ¶ added in v1.52.0
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) MapShootToBastions ¶ added in v1.57.0
func (r *Reconciler) MapShootToBastions(ctx context.Context, log logr.Logger, reader client.Reader, obj client.Object) []reconcile.Request
MapShootToBastions is a mapper.MapFunc for mapping shoots to referencing Bastions.
func (*Reconciler) Reconcile ¶ added in v1.52.0
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 ¶ added in v1.57.0
func (r *Reconciler) ShootPredicate() predicate.Predicate
ShootPredicate returns the predicate for Shoot events.
Click to show internal directories.
Click to hide internal directories.