libbrctl4go

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BRCtl4Go

type BRCtl4Go interface {
	AddInterface(string) error
	DeleteInterface(string) error
}

type LinuxBridge

type LinuxBridge struct {
	// contains filtered or unexported fields
}

func NewLinuxBridge

func NewLinuxBridge(bridgeName string, isPersistent bool) (*LinuxBridge, error)

func OpenLinuxBridge

func OpenLinuxBridge(bridgeName string, isPersistent bool) (*LinuxBridge, error)

func (*LinuxBridge) AddInterface

func (l *LinuxBridge) AddInterface(interfaceName string) error

func (*LinuxBridge) Close

func (l *LinuxBridge) Close() error

func (*LinuxBridge) DeleteInterface

func (l *LinuxBridge) DeleteInterface(interfaceName string) error

func (*LinuxBridge) DestroyBridge

func (l *LinuxBridge) DestroyBridge() error

Jump to

Keyboard shortcuts

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