Documentation ¶
Index ¶
- type Bridge
- type Link
- func (Link) AddDefaultGW(intf *net.Interface, ip net.IP) error
- func (Link) AddIP(intf *net.Interface, ip net.IP, subnet *net.IPNet) error
- func (Link) InterfaceByName(name string) (*net.Interface, bool, error)
- func (Link) List() (names []string, err error)
- func (Link) SetMTU(intf *net.Interface, mtu int) error
- func (Link) SetNs(intf *net.Interface, ns int) error
- func (Link) SetUp(intf *net.Interface) error
- func (l Link) Statistics() (stats garden.ContainerNetworkStat, err error)
- type VethCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct{}
type Link ¶
type Link struct {
Name string
}
func (Link) InterfaceByName ¶
func (Link) Statistics ¶
func (l Link) Statistics() (stats garden.ContainerNetworkStat, err error)
type VethCreator ¶
type VethCreator struct{}
Click to show internal directories.
Click to hide internal directories.