runtime

package
v0.0.0-...-2ac5f00 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 15 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) Get

func (*CustomTracker) GetCallCnt

func (t *CustomTracker) GetCallCnt() int

func (*CustomTracker) IsSequenceFullyUsed

func (t *CustomTracker) IsSequenceFullyUsed() bool

type RuntimeReconciler

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

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.

func (*RuntimeReconciler) UpdateShootClient

func (r *RuntimeReconciler) UpdateShootClient(client client.Client)

Directories

Path Synopsis
fsm

Jump to

Keyboard shortcuts

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