localresourcemanager

package
v0.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

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

func (r *NodeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

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

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.

Jump to

Keyboard shortcuts

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