fake

package
v0.12.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 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, set *ipset.IPSet, ignoreExistErr bool) error

func (*IPSet) AddEntryWithOptions

func (i *IPSet) AddEntryWithOptions(entry *ipset.Entry, set *ipset.IPSet, ignoreExistErr 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(set string, stringOrMatcher interface{})

func (*IPSet) AwaitEntryDeleted

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

func (*IPSet) AwaitNoEntry

func (i *IPSet) AwaitNoEntry(set 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(set string)

func (*IPSet) CreateSet

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

func (*IPSet) DelEntry

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

func (*IPSet) DelEntryWithOptions

func (i *IPSet) DelEntryWithOptions(set, entry string, options ...string) error

func (*IPSet) DestroyAllSets

func (i *IPSet) DestroyAllSets() error

func (*IPSet) DestroySet

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

func (*IPSet) FlushSet

func (i *IPSet) FlushSet(set 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(set string) ([]string, error)

func (*IPSet) ListSets

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

func (*IPSet) TestEntry

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

Jump to

Keyboard shortcuts

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