Documentation ¶
Index ¶
- Constants
- Variables
- type Reconciler
- func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, ...) error
- func (r *Reconciler) MapExtensionsBastionToOperationsBastion(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)
Constants ¶
View Source
const ControllerName = "bastion"
ControllerName is the name of this controller.
Variables ¶
View Source
var RequeueDurationWhenResourceDeletionStillPresent = 5 * time.Second
RequeueDurationWhenResourceDeletionStillPresent is the duration used for requeueing when owned resources are still in the process of being deleted when deleting a Bastion.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶ added in v1.60.0
type Reconciler struct { GardenClient client.Client SeedClient client.Client Config config.BastionControllerConfiguration Clock clock.Clock // RateLimiter allows limiting exponential backoff for testing purposes RateLimiter ratelimiter.RateLimiter }
Reconciler reconciles Bastions and deploys them into the seed cluster.
func (*Reconciler) AddToManager ¶ added in v1.60.0
func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, gardenCluster, seedCluster cluster.Cluster) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) MapExtensionsBastionToOperationsBastion ¶ added in v1.60.0
func (r *Reconciler) MapExtensionsBastionToOperationsBastion(ctx context.Context, log logr.Logger, reader client.Reader, obj client.Object) []reconcile.Request
MapExtensionsBastionToOperationsBastion is a mapper.MapFunc for mapping extensions Bastion in the seed cluster to operations Bastion in the project namespace.
Click to show internal directories.
Click to hide internal directories.