networkprovider

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBridgeName

func GenerateBridgeName(datapathType, networkName string) string

GenerateBridgeName will generate bridge name

Types

type NetworkProvider

type NetworkProvider interface {
	CreateNetwork(sp *serviceprovider.Container) error
	DeleteNetwork(sp *serviceprovider.Container) error
}

NetworkProvider is the structure for Network Provider

func GetNetworkProvider

func GetNetworkProvider(network *entity.Network) (NetworkProvider, error)

GetNetworkProvider will get network provider if you gave *entity.Network

Jump to

Keyboard shortcuts

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