Documentation
¶
Index ¶
- Constants
- Variables
- type MachineReconciler
- func (r *MachineReconciler) AddStatusAddressesFromAnnotations(annotations map[string]string) ([]corev1.NodeAddress, error)
- func (r *MachineReconciler) AddStatusAddressesFromHostname(machineName string) ([]corev1.NodeAddress, error)
- func (r *MachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *MachineReconciler) SetupWithManager(mgr ctrl.Manager) error
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 ¶
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 ¶
+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.
Click to show internal directories.
Click to hide internal directories.