fake

package
v0.10.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0

Copyright Contributors to the Submariner project.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPSet

type IPSet struct {
	sync.Mutex
	// 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