testing

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) AddEntry

func (m *MockInterface) AddEntry(arg0, arg1 string) error

AddEntry mocks base method

func (*MockInterface) CreateIPSet

func (m *MockInterface) CreateIPSet(arg0 string, arg1 ipset.SetType, arg2 bool) error

CreateIPSet mocks base method

func (*MockInterface) DelEntry

func (m *MockInterface) DelEntry(arg0, arg1 string) error

DelEntry mocks base method

func (*MockInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInterface) ListEntries

func (m *MockInterface) ListEntries(arg0 string) ([]string, error)

ListEntries mocks base method

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) AddEntry

func (mr *MockInterfaceMockRecorder) AddEntry(arg0, arg1 interface{}) *gomock.Call

AddEntry indicates an expected call of AddEntry

func (*MockInterfaceMockRecorder) CreateIPSet

func (mr *MockInterfaceMockRecorder) CreateIPSet(arg0, arg1, arg2 interface{}) *gomock.Call

CreateIPSet indicates an expected call of CreateIPSet

func (*MockInterfaceMockRecorder) DelEntry

func (mr *MockInterfaceMockRecorder) DelEntry(arg0, arg1 interface{}) *gomock.Call

DelEntry indicates an expected call of DelEntry

func (*MockInterfaceMockRecorder) ListEntries

func (mr *MockInterfaceMockRecorder) ListEntries(arg0 interface{}) *gomock.Call

ListEntries indicates an expected call of ListEntries

Jump to

Keyboard shortcuts

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