runtime

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomTracker

type CustomTracker struct {
	clienttesting.ObjectTracker
	// contains filtered or unexported fields
}

CustomTracker implements ObjectTracker with a sequence of Shoot objects it will be updated with a different shoot sequence for each test case

func NewCustomTracker

func NewCustomTracker(tracker clienttesting.ObjectTracker, shoots []*gardener_api.Shoot) *CustomTracker

func (*CustomTracker) Delete

func (*CustomTracker) Get

func (*CustomTracker) IsSequenceFullyUsed

func (t *CustomTracker) IsSequenceFullyUsed() bool

func (*CustomTracker) Update

type RuntimeReconciler

type RuntimeReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	ShootClient   client.Client
	Log           logr.Logger
	Cfg           fsm.RCCfg
	EventRecorder record.EventRecorder
	RequestID     atomic.Uint64
}

RuntimeReconciler reconciles a Runtime object nolint:revive

func NewRuntimeReconciler

func NewRuntimeReconciler(mgr ctrl.Manager, shootClient client.Client, logger logr.Logger, cfg fsm.RCCfg) *RuntimeReconciler

func (*RuntimeReconciler) Reconcile

func (r *RuntimeReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*RuntimeReconciler) SetupWithManager

func (r *RuntimeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis
fsm

Jump to

Keyboard shortcuts

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