type FakeIPSet …
func NewFake(version string) *FakeIPSet { … }
func (f *FakeIPSet) GetVersion() (string, error) { … }
func (f *FakeIPSet) FlushSet(set string) error { … }
func (f *FakeIPSet) DestroySet(set string) error { … }
func (f *FakeIPSet) DestroyAllSets() error { … }
func (f *FakeIPSet) CreateSet(set *ipset.IPSet, ignoreExistErr bool) error { … }
func (f *FakeIPSet) AddEntry(entry string, set *ipset.IPSet, ignoreExistErr bool) error { … }
func (f *FakeIPSet) DelEntry(entry string, set string) error { … }
func (f *FakeIPSet) TestEntry(entry string, set string) (bool, error) { … }
func (f *FakeIPSet) ListEntries(set string) ([]string, error) { … }
func (f *FakeIPSet) ListSets() ([]string, error) { … }
var _ …