networkmanager

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package networkmanager provides the virtual fabric manager services to manage the peering between FLUIDOS Node.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, cl client.Client, nm *NetworkManager) error

Execute the Network Manager routines.

func Setup

func Setup(ctx context.Context, cl client.Client, nm *NetworkManager, cniInterface *string) error

Setup the Network Manager.

Types

type KnownClusterReconciler

type KnownClusterReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

KnownClusterReconciler reconciles a KnownCluster object.

func (*KnownClusterReconciler) Reconcile

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

Reconcile reconciles a KnownClusters from DiscoveredClustersList.

func (*KnownClusterReconciler) SetupWithManager

func (r *KnownClusterReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NetworkManager

type NetworkManager struct {
	ID                   *nodecorev1alpha1.NodeIdentity
	Multicast            string
	Iface                *net.Interface
	EnableLocalDiscovery bool
}

NetworkManager keeps all the necessary class data.

Jump to

Keyboard shortcuts

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