controllers

package
v0.0.0-...-f3f51f0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMachineReconciler

func NewMachineReconciler(config MachineReconcilerConfig, options ...func(*machineReconciler)) *machineReconciler

Types

type MachineReconcilerConfig

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

type MachineSetReconciler

type MachineSetReconciler struct {
	client.Client
	Scheme             *runtime.Scheme
	EventRecorder      record.EventRecorder
	InfrastructureName string
}

MachineSetReconciler reconciles a MachineSet object

func (*MachineSetReconciler) Reconcile

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

+kubebuilder:rbac:groups=machine.openshift.io,resources=machinesets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=machine.openshift.io,resources=machinesets/status,verbs=get;update;patch +kubebuilder:rbac:groups=machine.openshift.io,resources=machinesets/finalizers,verbs=update

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