fake

package
v0.17.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPSet

type IPSet struct {
	// contains filtered or unexported fields
}

func New

func New() *IPSet

func (*IPSet) AddEntry

func (i *IPSet) AddEntry(entry string, ipSet *ipset.IPSet, ignoreExistErr bool) error

func (*IPSet) AddEntryWithOptions

func (i *IPSet) AddEntryWithOptions(entry *ipset.Entry, ipSet *ipset.IPSet, _ bool) error

func (*IPSet) AddFailOnAddEntryMatchers

func (i *IPSet) AddFailOnAddEntryMatchers(stringOrMatcher interface{})

func (*IPSet) AddFailOnCreateSetMatchers

func (i *IPSet) AddFailOnCreateSetMatchers(stringOrMatcher interface{})

func (*IPSet) AddFailOnDelEntryMatchers

func (i *IPSet) AddFailOnDelEntryMatchers(stringOrMatcher interface{})

func (*IPSet) AddFailOnDestroySetMatchers

func (i *IPSet) AddFailOnDestroySetMatchers(stringOrMatcher interface{})

func (*IPSet) AwaitEntry

func (i *IPSet) AwaitEntry(setName string, stringOrMatcher interface{})

func (*IPSet) AwaitEntryDeleted

func (i *IPSet) AwaitEntryDeleted(setName string, stringOrMatcher interface{})

func (*IPSet) AwaitNoEntry

func (i *IPSet) AwaitNoEntry(setName string, stringOrMatcher interface{})

func (*IPSet) AwaitOneSet

func (i *IPSet) AwaitOneSet(stringOrMatcher interface{}) string

func (*IPSet) AwaitSet

func (i *IPSet) AwaitSet(stringOrMatcher interface{})

func (*IPSet) AwaitSetDeleted

func (i *IPSet) AwaitSetDeleted(setName string)

func (*IPSet) CreateSet

func (i *IPSet) CreateSet(ipSet *ipset.IPSet, ignoreExistErr bool) error

func (*IPSet) DelEntry

func (i *IPSet) DelEntry(entry, setName string) error

func (*IPSet) DelEntryWithOptions

func (i *IPSet) DelEntryWithOptions(setName, entry string, _ ...string) error

func (*IPSet) DestroyAllSets

func (i *IPSet) DestroyAllSets() error

func (*IPSet) DestroySet

func (i *IPSet) DestroySet(setName string) error

func (*IPSet) FlushSet

func (i *IPSet) FlushSet(setName string) error

func (*IPSet) GetVersion

func (i *IPSet) GetVersion() (string, error)

func (*IPSet) ListAllSetInfo

func (i *IPSet) ListAllSetInfo() (string, error)

func (*IPSet) ListEntries

func (i *IPSet) ListEntries(setName string) ([]string, error)

func (*IPSet) ListSets

func (i *IPSet) ListSets() ([]string, error)

func (*IPSet) TestEntry

func (i *IPSet) TestEntry(entry, setName string) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL