Documentation ¶
Index ¶
- func AddDefaultGateway(ip string) error
- func AddIp(ip, iface string) error
- func DelIp(ip, iface string) error
- func DelVips(iface string) error
- func DeleteDefaultGateway(route *netlink.Route) error
- func GetDefaultGateway() (*netlink.Route, error)
- func GetFusisVipsIps(iface string) ([]string, error)
- func GetIpByInterface(iface string) (string, error)
- func GetVips(iface string) ([]netlink.Addr, error)
- func SetIpForwarding() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultGateway ¶
func DeleteDefaultGateway ¶
func GetDefaultGateway ¶
func GetFusisVipsIps ¶
func GetIpByInterface ¶
func SetIpForwarding ¶
func SetIpForwarding() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.