compute

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MachineClassReconciler

type MachineClassReconciler struct {
	client.Client
	APIReader client.Reader
}

MachineClassReconciler reconciles a MachineClassRef object

func (*MachineClassReconciler) Reconcile

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

Reconcile moves the current state of the cluster closer to the desired state

func (*MachineClassReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type MachinePoolReconciler

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

MachinePoolReconciler reconciles a MachinePoolRef object

func (*MachinePoolReconciler) Reconcile

func (r *MachinePoolReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the MachinePoolRef object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*MachinePoolReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type MachineReconciler

type MachineReconciler struct {
	record.EventRecorder
	client.Client
	Scheme *runtime.Scheme
}

MachineReconciler reconciles a Machine object

func (*MachineReconciler) Reconcile

func (r *MachineReconciler) 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.

func (*MachineReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type MachineScheduler

type MachineScheduler struct {
	record.EventRecorder
	client.Client
}

func (*MachineScheduler) Reconcile

func (s *MachineScheduler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles the desired with the actual state.

func (*MachineScheduler) SetupWithManager

func (s *MachineScheduler) SetupWithManager(mgr manager.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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