Documentation ¶
Index ¶
- func CreateDefaultExtNetwork(networkType string) error
- func CreateHnsNetwork(nwConfig cns.CreateHnsNetworkRequest) error
- func CreateHostNCApipaEndpoint(networkContainerID string, localIPConfiguration cns.IPConfiguration, ...) (string, error)
- func DeleteDefaultExtNetwork() error
- func DeleteHnsNetwork(networkName string) error
- func DeleteHostNCApipaEndpoint(networkContainerID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultExtNetwork ¶
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 ¶
DeleteHnsNetwork deletes the HNS network with the provided name. This is windows platform specific.
func DeleteHostNCApipaEndpoint ¶
DeleteHostNCApipaEndpoint deletes the endpoint in the apipa network created for host container connectivity This is windows platform specific.
Types ¶
This section is empty.