backupbucket

package
v1.93.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "backupbucket"

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

Functions

This section is empty.

Types

type Reconciler added in v1.60.0

type Reconciler struct {
	GardenClient    client.Client
	SeedClient      client.Client
	Config          config.BackupBucketControllerConfiguration
	Clock           clock.Clock
	Recorder        record.EventRecorder
	GardenNamespace string
	SeedName        string

	// RateLimiter allows limiting exponential backoff for testing purposes
	RateLimiter ratelimiter.RateLimiter
}

Reconciler reconciles the BackupBuckets.

func (*Reconciler) AddToManager added in v1.60.0

func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, gardenCluster cluster.Cluster, seedCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) MapExtensionBackupBucketToCoreBackupBucket added in v1.60.0

func (r *Reconciler) MapExtensionBackupBucketToCoreBackupBucket(_ context.Context, _ logr.Logger, _ client.Reader, obj client.Object) []reconcile.Request

MapExtensionBackupBucketToCoreBackupBucket is a mapper.MapFunc for mapping a extensions.gardener.cloud/v1alpha1.BackupBucket to the owning core.gardener.cloud/v1beta1.BackupBucket.

func (*Reconciler) Reconcile added in v1.60.0

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

Reconcile reconciles the BackupBuckets and deploys extensions.gardener.cloud/v1alpha1.BackupBucket in the seed cluster.

func (*Reconciler) SeedNamePredicate added in v1.60.0

func (r *Reconciler) SeedNamePredicate() predicate.Predicate

SeedNamePredicate returns a predicate which returns true when the object belongs to this seed.

Jump to

Keyboard shortcuts

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