Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + type FakeIPVS struct + Destinations map[ServiceKey][]*utilipvs.RealServer + Scheduler string + Services map[ServiceKey]*utilipvs.VirtualServer + func NewFake() *FakeIPVS + func (f *FakeIPVS) AddRealServer(serv *utilipvs.VirtualServer, dest *utilipvs.RealServer) error + func (f *FakeIPVS) AddVirtualServer(serv *utilipvs.VirtualServer) error + func (f *FakeIPVS) DeleteRealServer(serv *utilipvs.VirtualServer, dest *utilipvs.RealServer) error + func (f *FakeIPVS) DeleteVirtualServer(serv *utilipvs.VirtualServer) error + func (f *FakeIPVS) Flush() error + func (f *FakeIPVS) GetRealServers(serv *utilipvs.VirtualServer) ([]*utilipvs.RealServer, error) + func (f *FakeIPVS) GetVirtualServer(serv *utilipvs.VirtualServer) (*utilipvs.VirtualServer, error) + func (f *FakeIPVS) GetVirtualServers() ([]*utilipvs.VirtualServer, error) + func (f *FakeIPVS) UpdateRealServer(serv *utilipvs.VirtualServer, dest *utilipvs.RealServer) error + func (f *FakeIPVS) UpdateVirtualServer(serv *utilipvs.VirtualServer) error + type RealServerKey struct + Address net.IP + Port uint16 + func (r *RealServerKey) String() string + type ServiceKey struct + IP string + Port uint16 + Protocol string + func (s *ServiceKey) String() string