connectivity

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// Run "runs" the connectivity flavor -- in the case of vxlan this simply means spinning up
	// the required tunnels, but for other flavors (slurpeeth) this means running the process that
	// watches the connectivity cr, and handles updates to the slurpeeth process/config. It is
	// expected for the Run method to just call logger.Fatal if there is any issue as this would
	// prevent c9s from doing anything useful anyway!
	Run()
}

Manager is an interface defining a connectivity manager -- basically a small abstraction around the flavor of how we connect to other launcher pods and their containerlab nodes -- the standard way is via vxlan, and there is also an experimental tool "slurpeeth" for connectivity over tcp tunnels.

func NewManager

func NewManager(
	ctx context.Context,
	cancelChan chan bool,
	logger claberneteslogging.Instance,
	clabernetesClient *clabernetesgeneratedclientset.Clientset,
	initialTunnels []*clabernetesapisv1alpha1.PointToPointTunnel,
	connectivityKind string,
) (Manager, error)

NewManager returns a connectivity Manager for the given connectivity flavor.

Jump to

Keyboard shortcuts

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