packagehcsshimimport("github.com/Microsoft/hcsshim/internal/hns")// Subnet is assoicated with a network and represents a list// of subnets available to the networktypeSubnet=hns.Subnet// MacPool is assoicated with a network and represents a list// of macaddresses available to the networktypeMacPool=hns.MacPool// HNSNetwork represents a network in HNStypeHNSNetwork=hns.HNSNetwork// HNSNetworkRequest makes a call into HNS to update/query a single networkfuncHNSNetworkRequest(method,path,requeststring)(*HNSNetwork,error){returnhns.HNSNetworkRequest(method,path,request)}// HNSListNetworkRequest makes a HNS call to query the list of available networksfuncHNSListNetworkRequest(method,path,requeststring)([]HNSNetwork,error){returnhns.HNSListNetworkRequest(method,path,request)}// GetHNSNetworkByIDfuncGetHNSNetworkByID(networkIDstring)(*HNSNetwork,error){returnhns.GetHNSNetworkByID(networkID)}// GetHNSNetworkName filtered by NamefuncGetHNSNetworkByName(networkNamestring)(*HNSNetwork,error){returnhns.GetHNSNetworkByName(networkName)}