Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func CreateAndAttachHostEP(epName string, hnsNetwork *hcsshim.HNSNetwork, subNet *net.IPNet, ...) (*hcsshim.HNSEndpoint, error)
- func CreateNetworkName(netName string, subnet *net.IPNet) string
- func EnsureNetworkExists(networkName string, subNet *net.IPNet, logger *logrus.Entry) (*hcsshim.HNSNetwork, error)
- func EnsureVXLANTunnelAddr(ctx context.Context, calicoClient calicoclient.Interface, nodeName string, ...) error
- func GetDRMACAddr(networkName string, subNet *net.IPNet) (net.HardwareAddr, error)
- func GetMacAddr(mgmtIp string) (addr string)
- func NetworkApplicationContainer(args *skel.CmdArgs) error
- func NewWindowsDataplane(conf types.NetConf, logger *logrus.Entry) *windowsDataplane
- func SetupL2bridgeNetwork(networkName string, subNet *net.IPNet, logger *logrus.Entry) (*hcsshim.HNSNetwork, error)
- func SetupRoutes(hostVeth interface{}, result *cniv1.Result) error
- func SetupVxlanNetwork(networkName string, subNet *net.IPNet, vni uint64, logger *logrus.Entry) (*hcsshim.HNSNetwork, error)
Constants ¶
View Source
const (
DefaultVNI = 4096
)
Variables ¶
This section is empty.
Functions ¶
func CreateAndAttachHostEP ¶
func CreateAndAttachHostEP(epName string, hnsNetwork *hcsshim.HNSNetwork, subNet *net.IPNet, logger *logrus.Entry) (*hcsshim.HNSEndpoint, error)
func EnsureNetworkExists ¶
func EnsureVXLANTunnelAddr ¶
func GetDRMACAddr ¶
func GetMacAddr ¶
GetMacAddr gets the MAC hardware address of the host machine
func NetworkApplicationContainer ¶
NetworkApplicationContainer tries to attach the application container to the endpoint that is attached to its pause container. On failure, it returns the error. This is done so that the DNS details are reflected in the container.
func NewWindowsDataplane ¶
func SetupL2bridgeNetwork ¶
func SetupRoutes ¶
SetupRoutes sets up the routes for the host side of the veth pair.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.