hns

package
v0.0.0-...-3264d74 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHNSEndpoint

func CreateHNSEndpoint(configuration *hcsshim.HNSEndpoint) (string, error)

func CreateHNSNetwork

func CreateHNSNetwork(configuration *hcsshim.HNSNetwork) (string, error)

func DeleteHNSEndpoint

func DeleteHNSEndpoint(endpointID string) error

func DeleteHNSNetwork

func DeleteHNSNetwork(hnsID string) error

func GetHNSEndpoint

func GetHNSEndpoint(endpointID string) (*hcsshim.HNSEndpoint, error)

func GetHNSEndpointByName

func GetHNSEndpointByName(name string) (*hcsshim.HNSEndpoint, error)

func GetHNSNetwork

func GetHNSNetwork(hnsID string) (*hcsshim.HNSNetwork, error)

func GetHNSNetworkByName

func GetHNSNetworkByName(name string) (*hcsshim.HNSNetwork, error)

func ListHNSEndpoints

func ListHNSEndpoints() ([]hcsshim.HNSEndpoint, error)

func ListHNSEndpointsOfNetwork

func ListHNSEndpointsOfNetwork(netID string) ([]hcsshim.HNSEndpoint, error)

func ListHNSNetworks

func ListHNSNetworks() ([]hcsshim.HNSNetwork, error)

func MockHNSEndpoint

func MockHNSEndpoint(netID string) string

func MockHNSNetwork

func MockHNSNetwork(netAdapter common.AdapterName, name, subnetCIDR, defaultGW string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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