Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new Node 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.
func GetFirstSynchronizer ¶
func GetFirstSynchronizer() firstsync.FirstSynchronizer
GetFirstSynchronizer returns reconciler as the FirstSynchronizer
Types ¶
type ReconcileNode ¶
ReconcileNode reconciles a Node object
func (*ReconcileNode) FirstSync ¶
func (r *ReconcileNode) FirstSync() error
FirstSync synchronizes k8s nodes with Datahub
func (*ReconcileNode) Reconcile ¶
Reconcile reads that state of the cluster for a Node object and makes changes based on the state read and what is in the Node.Spec TODO(user): Modify this Reconcile function to implement your Controller logic. The scaffolding writes a Deployment as an example +kubebuilder:rbac:groups=core,resources=nodes,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=nodes/status,verbs=get;update;patch