controllers

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MachineAPIControllersReconciler added in v0.2.0

type MachineAPIControllersReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	Namespace string
}

MachineAPIControllersReconciler creates a appuio-machine-api-controllers deployment based on the images.json ConfigMap if the upstream machine-api-controllers does not exist.

func (*MachineAPIControllersReconciler) Reconcile added in v0.2.0

func (*MachineAPIControllersReconciler) SetupWithManager added in v0.2.0

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

SetupWithManager sets up the controller with the Manager.

type MachineSetReconciler

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

MachineSetReconciler reconciles a MachineSet object

func (*MachineSetReconciler) Reconcile

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

Reconcile reacts to MachineSet changes and updates the annotations used by the OpenShift autoscaler. GPU is always set to 0, as cloudscale does not provide GPU instances. The architecture label is always set to amd64.

func (*MachineSetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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