podnetwork

package
v0.8.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DefaultTunnelType = "vxlan"

Variables

This section is empty.

Functions

This section is empty.

Types

type PodNode

type PodNode interface {
	Setup() error
	Teardown() error
}

func NewPodNode

func NewPodNode(nsPath string, hostInterface string, config *tunneler.Config) PodNode

type WorkerNode

type WorkerNode interface {
	Inspect(nsPath string) (*tunneler.Config, error)
	Setup(nsPath string, podNodeIPs []netip.Addr, config *tunneler.Config) error
	Teardown(nsPath string, config *tunneler.Config) error
}

func NewWorkerNode

func NewWorkerNode(tunnelType, hostInterface string, vxlanPort, vxlanMinID int) WorkerNode

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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