bastion

package
v1.104.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 36 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(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, _ 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