Documentation ¶
Overview ¶
Package localresourcemanager implements the utility functions for the local resource manager controller
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeInfos ¶ added in v0.1.0
func GetNodeInfos(node *corev1.Node, nodeMetrics *metricsv1beta1.NodeMetrics) (*models.NodeInfo, error)
GetNodeInfos returns the NodeInfo struct for a given node and its metrics.
Types ¶
type NodeReconciler ¶ added in v0.1.0
type NodeReconciler struct { client.Client Scheme *runtime.Scheme EnableAutoDiscovery bool WebhookServer webhook.Server }
NodeReconciler reconciles a Node object and creates Flavor objects.
func (*NodeReconciler) Reconcile ¶ added in v0.1.0
Reconcile reconciles a Node object to create Flavor objects.
func (*NodeReconciler) SetupWithManager ¶ added in v0.1.0
func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceBlueprintReconciler ¶ added in v0.1.0
type ServiceBlueprintReconciler struct { client.Client Scheme *runtime.Scheme EnableAutoDiscovery bool WebhookServer webhook.Server }
ServiceBlueprintReconciler reconciles a ServiceBlueprint object and creates Flavor objects.
func (*ServiceBlueprintReconciler) Reconcile ¶ added in v0.1.0
func (r *ServiceBlueprintReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles a Node object to create Flavor objects.
func (*ServiceBlueprintReconciler) SetupWithManager ¶ added in v0.1.0
func (r *ServiceBlueprintReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.