hnsclient

package
v1.5.32 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefaultExtNetwork

func CreateDefaultExtNetwork(networkType string) error

CreateDefaultExtNetwork creates the default ext network (if it doesn't exist already) to create external switch on windows platform. This is windows platform specific.

func CreateHnsNetwork

func CreateHnsNetwork(nwConfig cns.CreateHnsNetworkRequest) error

CreateHnsNetwork creates the HNS network with the provided configuration This is windows platform specific.

func CreateHostNCApipaEndpoint

func CreateHostNCApipaEndpoint(
	networkContainerID string,
	localIPConfiguration cns.IPConfiguration,
	allowNCToHostCommunication bool,
	allowHostToNCCommunication bool,
	ncPolicies []cns.NetworkContainerRequestPolicies) (string, error)

CreateHostNCApipaEndpoint creates the endpoint in the apipa network for host container connectivity This is windows platform specific.

func DeleteDefaultExtNetwork

func DeleteDefaultExtNetwork() error

DeleteDefaultExtNetwork deletes the default HNS network. This is windows platform specific.

func DeleteHnsNetwork

func DeleteHnsNetwork(networkName string) error

DeleteHnsNetwork deletes the HNS network with the provided name. This is windows platform specific.

func DeleteHostNCApipaEndpoint

func DeleteHostNCApipaEndpoint(
	networkContainerID string) error

DeleteHostNCApipaEndpoint deletes the endpoint in the apipa network created for host container connectivity This is windows platform specific.

Types

This section is empty.

Jump to

Keyboard shortcuts

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