bastion

package
v1.94.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

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 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(ctx context.Context, 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.

Jump to

Keyboard shortcuts

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