compute

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MachineClassReconciler added in v0.0.4

type MachineClassReconciler struct {
	client.Client
	APIReader client.Reader
	Scheme    *runtime.Scheme
}

MachineClassReconciler reconciles a MachineClassRef object

func (*MachineClassReconciler) Reconcile added in v0.0.4

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 added in v0.0.4

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

SetupWithManager sets up the controller with the Manager.

type MachinePoolReconciler added in v0.0.4

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

MachinePoolReconciler reconciles a MachinePoolRef object

func (*MachinePoolReconciler) Reconcile added in v0.0.4

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 added in v0.0.4

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

SetupWithManager sets up the controller with the Manager.

type MachineReconciler

type MachineReconciler struct {
	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 added in v0.0.9

type MachineScheduler struct {
	client.Client
	Events record.EventRecorder
}

func (*MachineScheduler) Reconcile added in v0.0.9

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

Reconcile reconciles the desired with the actual state.

func (*MachineScheduler) SetupWithManager added in v0.0.9

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

Jump to

Keyboard shortcuts

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