controllers

package
v0.3.17 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationBase        = "machine-node-linker.github.com"
	InternalIPAnnotation  = "internal-ip"
	InternalDNSAnnotation = "internal-dns"
	HostnameAnnotation    = "hostname"
)

Variables

View Source
var LegacyHostnameRegex = regexp.MustCompile("ip(-(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}")

Functions

This section is empty.

Types

type MachineReconciler

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

MachineReconciler reconciles a Machine object

func (*MachineReconciler) AddStatusAddressesFromAnnotations added in v0.3.17

func (r *MachineReconciler) AddStatusAddressesFromAnnotations(annotations map[string]string) ([]corev1.NodeAddress, error)

func (*MachineReconciler) AddStatusAddressesFromHostname added in v0.3.17

func (r *MachineReconciler) AddStatusAddressesFromHostname(machineName string) ([]corev1.NodeAddress, error)

func (*MachineReconciler) Reconcile

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

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

func (*MachineReconciler) SetupWithManager

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