controllers

package
v0.0.0-...-1886b29 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme) error

AddToScheme adds all the resources to be processed to the Scheme.

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager) error

AddControllers adds all the controllers to the Manager.

Types

type SpotInstanceReconciler

type SpotInstanceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

SpotInstanceReconciler reconciles a SpotInstance object.

func (*SpotInstanceReconciler) Reconcile

func (r *SpotInstanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

Jump to

Keyboard shortcuts

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