Documentation
¶
Index ¶
- func CreateHNSEndpoint(configuration *hcsshim.HNSEndpoint) (string, error)
- func CreateHNSNetwork(configuration *hcsshim.HNSNetwork) (string, error)
- func DeleteHNSEndpoint(endpointID string) error
- func DeleteHNSNetwork(hnsID string) error
- func GetHNSEndpoint(endpointID string) (*hcsshim.HNSEndpoint, error)
- func GetHNSEndpointByName(name string) (*hcsshim.HNSEndpoint, error)
- func GetHNSNetwork(hnsID string) (*hcsshim.HNSNetwork, error)
- func GetHNSNetworkByName(name string) (*hcsshim.HNSNetwork, error)
- func ListHNSEndpoints() ([]hcsshim.HNSEndpoint, error)
- func ListHNSEndpointsOfNetwork(netID string) ([]hcsshim.HNSEndpoint, error)
- func ListHNSNetworks() ([]hcsshim.HNSNetwork, error)
- func MockHNSEndpoint(netID string) string
- func MockHNSNetwork(netAdapter common.AdapterName, name, subnetCIDR, defaultGW string) string
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 DeleteHNSNetwork ¶
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 MockHNSNetwork ¶
func MockHNSNetwork(netAdapter common.AdapterName, name, subnetCIDR, defaultGW string) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.