noderef

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNodeNotFound = errors.New("cannot find node with matching ProviderID")
)

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new NodeRef Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileNodeRef

type ReconcileNodeRef struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileNodeRef reconciles a Machine object to assign a NodeRef.

func (*ReconcileNodeRef) Reconcile

func (r *ReconcileNodeRef) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile responds to Machine events to assign a NodeRef. +kubebuilder:rbac:groups=,resources=secrets,verbs=get;list;watch

Jump to

Keyboard shortcuts

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