Versions in this module Expand all Collapse all v1 v1.0.8 Jan 5, 2021 Changes in this version + const BridgePrefix + const DefaultBridge + const DefaultIPVlanMode + const VlanPrefix + func SetupVlanInPureMode(ethDevice string, vlanId uint16) (netlink.Link, error) + type NetConf struct + BridgeNamePrefix string + DefaultBridgeName string + Device string + Devices []string + DisableDefaultBridge *bool + GratuitousArpRequest bool + IpVlanMode string + MTU int + Switch string + VlanNamePrefix string + type VlanDriver struct + DeviceIndex int + func (d *VlanDriver) BridgeNameForVlan(vlanId uint16) string + func (d *VlanDriver) CreateBridgeAndVlanDevice(vlanId uint16) (string, error) + func (d *VlanDriver) GetIPVlanMode() netlink.IPVlanMode + func (d *VlanDriver) IPVlanMode() bool + func (d *VlanDriver) Init() error + func (d *VlanDriver) LoadConf(bytes []byte) (*NetConf, error) + func (d *VlanDriver) MacVlanMode() bool + func (d *VlanDriver) MaybeCreateVlanDevice(vlanId uint16) error + func (d *VlanDriver) PureMode() bool v1.0.8-rc1 Dec 21, 2020 v1.0.6-rc3 Sep 4, 2020