Documentation ¶
Index ¶
- type MySQL
- func (r *MySQL) AddHost(host network.HostParam) (hostID uint64, err error)
- func (r *MySQL) AddNetwork(addr net.IP, mask net.IPMask) (netID uint64, err error)
- func (r *MySQL) AddSwitch(sw network.SwitchParam) (swID uint64, err error)
- func (r *MySQL) AddVIP(vip network.VIPParam) (id uint64, cidr string, err error)
- func (r *MySQL) Host(id uint64) (host network.Host, ok bool, err error)
- func (r *MySQL) Hosts() (hosts []network.Host, err error)
- func (r *MySQL) IPAddrs(networkID uint64) (addresses []network.IP, err error)
- func (r *MySQL) Location(mac net.HardwareAddr) (dpid string, port uint32, ok bool, err error)
- func (r *MySQL) MAC(ip net.IP) (mac net.HardwareAddr, ok bool, err error)
- func (r *MySQL) Network(addr net.IP) (n network.Network, ok bool, err error)
- func (r *MySQL) Networks() (networks []network.Network, err error)
- func (r *MySQL) RemoveHost(id uint64) (ok bool, err error)
- func (r *MySQL) RemoveNetwork(id uint64) (ok bool, err error)
- func (r *MySQL) RemoveSwitch(id uint64) (ok bool, err error)
- func (r *MySQL) RemoveVIP(id uint64) (ok bool, err error)
- func (r *MySQL) Switch(dpid uint64) (sw network.Switch, ok bool, err error)
- func (r *MySQL) SwitchPorts(swID uint64) (ports []network.SwitchPort, err error)
- func (r *MySQL) Switches() (sw []network.Switch, err error)
- func (r *MySQL) ToggleDeviceVIP(swDPID uint64) (result []proxyarp.VIP, err error)
- func (r *MySQL) TogglePortVIP(swDPID uint64, portNum uint16) (result []proxyarp.VIP, err error)
- func (r *MySQL) ToggleVIP(id uint64) (ip net.IP, mac net.HardwareAddr, err error)
- func (r *MySQL) VIPs() (result []network.VIP, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQL ¶
type MySQL struct {
// contains filtered or unexported fields
}
func (*MySQL) AddNetwork ¶
func (*MySQL) AddSwitch ¶
func (r *MySQL) AddSwitch(sw network.SwitchParam) (swID uint64, err error)
func (*MySQL) SwitchPorts ¶
func (r *MySQL) SwitchPorts(swID uint64) (ports []network.SwitchPort, err error)
func (*MySQL) ToggleDeviceVIP ¶
func (*MySQL) TogglePortVIP ¶
Click to show internal directories.
Click to hide internal directories.