isolation

package
v3.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package isolation provides primitives for isolating overlay from underlay

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Isolation

type Isolation interface {
	// LinkEnsure ensures the existence and state of the given link is as expected
	// this method should be idempotent as it's also used to sync the state of links
	LinkEnsure(link misc.Link) error
	// LinkAbsent ensures the absence of the given link, only name should be used to identify the link
	LinkAbsent(link misc.Link) error
	// LinkList returns the wireguard links as seen by the isolation, aka managed interfaces
	LinkList() ([]misc.Link, error)
}

Isolation represents a management interface for wireguard links together with the isolation technique employed to isolate overlay from underlay

func NewIsolation

func NewIsolation(ifgroup int, transit, target string) (Isolation, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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