Documentation
¶
Index ¶
- Variables
- type EndpointNotFoundError
- type HNSAclFeatures
- type HNSEndpoint
- type HNSEndpointStats
- type HNSGlobals
- type HNSNetwork
- type HNSNnvManagementMacAddress
- type HNSNnvManagementMacList
- type HNSSupportedFeatures
- type HNSVersion
- type MacPool
- type Namespace
- type NetworkNotFoundError
- type PolicyList
- type Subnet
Constants ¶
This section is empty.
Variables ¶
var (
ErrorEmptyMacAddressList = errors.New("management mac_address list is empty")
)
var (
HNSVersion1803 = hns.HNSVersion1803
)
Functions ¶
This section is empty.
Types ¶
type EndpointNotFoundError ¶
type EndpointNotFoundError = hns.EndpointNotFoundError
type HNSAclFeatures ¶
type HNSAclFeatures = hns.HNSAclFeatures
type HNSEndpoint ¶
type HNSEndpoint = hns.HNSEndpoint
HNSEndpoint represents a network endpoint in HNS
func HNSListEndpointRequest ¶ added in v0.0.3
func HNSListEndpointRequest() ([]HNSEndpoint, error)
HNSListEndpointRequest makes a HNS call to query the list of available endpoints
type HNSEndpointStats ¶
type HNSEndpointStats = hns.EndpointStats
HNSEndpointStats represent the stats for an networkendpoint in HNS
func GetHNSEndpointStats ¶
func GetHNSEndpointStats(endpointName string) (*HNSEndpointStats, error)
GetHNSEndpointStats gets the endpoint stats by ID
type HNSGlobals ¶
type HNSGlobals = hns.HNSGlobals
func GetHNSGlobals ¶
func GetHNSGlobals() (*HNSGlobals, error)
type HNSNetwork ¶ added in v0.0.3
type HNSNetwork = hns.HNSNetwork
HNSNetwork represents a network in HNS
func HNSListNetworkRequest ¶ added in v0.0.3
func HNSListNetworkRequest(method, path, request string) ([]HNSNetwork, error)
HNSListNetworkRequest makes a HNS call to query the list of available networks
type HNSNnvManagementMacAddress ¶
type HNSNnvManagementMacAddress = hns.HNSNnvManagementMacAddress
HNSNnvManagementMacAddress represents management mac address which needs to be excluded from VF reassignment
type HNSNnvManagementMacList ¶
type HNSNnvManagementMacList = hns.HNSNnvManagementMacList
HNSNnvManagementMacList represents a list of management mac addresses for exclusion from VF reassignment
func DeleteNnvManagementMacAddresses ¶
func DeleteNnvManagementMacAddresses() (*HNSNnvManagementMacList, error)
DeleteNnvManagementMacAddresses delete list of management mac addresses in hns which are excluded from VF reassignment.
func GetNnvManagementMacAddresses ¶
func GetNnvManagementMacAddresses() (*HNSNnvManagementMacList, error)
GetNnvManagementMacAddresses retrieves a list of management mac addresses in hns for exclusion from VF reassignment.
func SetNnvManagementMacAddresses ¶
func SetNnvManagementMacAddresses(managementMacAddresses []string) (*HNSNnvManagementMacList, error)
SetNnvManagementMacAddresses sets a list of management mac addresses in hns for exclusion from VF reassignment.
type HNSSupportedFeatures ¶
type HNSSupportedFeatures = hns.HNSSupportedFeatures
func GetHNSSupportedFeatures ¶
func GetHNSSupportedFeatures() HNSSupportedFeatures
type HNSVersion ¶
type HNSVersion = hns.HNSVersion
type MacPool ¶ added in v0.0.3
MacPool is associated with a network and represents a list of macaddresses available to the network
type NetworkNotFoundError ¶
type NetworkNotFoundError = hns.NetworkNotFoundError
type PolicyList ¶ added in v0.0.4
type PolicyList = hns.PolicyList
PolicyList is a structure defining schema for Policy list request
func HNSListPolicyListRequest ¶ added in v0.0.4
func HNSListPolicyListRequest() ([]PolicyList, error)
HNSListPolicyListRequest gets all the policy list
Directories
¶
Path | Synopsis |
---|---|
Package hcn is a shim for the Host Compute Networking (HCN) service, which manages networking for Windows Server containers and Hyper-V containers.
|
Package hcn is a shim for the Host Compute Networking (HCN) service, which manages networking for Windows Server containers and Hyper-V containers. |
internal
|
|