Documentation ¶
Overview ¶
Package resourceoffercontroller implements the logic of the ResourceOffer Operator
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceOfferReconciler ¶
type ResourceOfferReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
ResourceOfferReconciler reconciles a ResourceOffer object.
func NewResourceOfferController ¶
func NewResourceOfferController( mgr manager.Manager, cluster discoveryv1alpha1.ClusterIdentity, resyncPeriod time.Duration, liqoNamespace string, virtualKubeletOpts *forge.VirtualKubeletOpts, disableAutoAccept bool) *ResourceOfferReconciler
NewResourceOfferController creates and returns a new reconciler for the ResourceOffers.
func (*ResourceOfferReconciler) Reconcile ¶
func (r *ResourceOfferReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ResourceOfferReconciler) SetupWithManager ¶
func (r *ResourceOfferReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.