bastion

package
v1.63.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 37 Imported by: 0

Documentation

Index

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(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.

func (*Reconciler) Reconcile added in v1.60.0

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reconciles Bastions and deploys them into the seed cluster.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL