mockiptableswrapper

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mockiptableswrapper 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) EXPECT

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

func (*MockInterface) New

New mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) New

New indicates an expected call of New.

type MockIpTables

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

MockIpTables is a mock of IpTables interface.

func NewMockIpTables

func NewMockIpTables(ctrl *gomock.Controller) *MockIpTables

NewMockIpTables creates a new mock instance.

func (*MockIpTables) AppendUnique

func (m *MockIpTables) AppendUnique(table, chain string, rulespec ...string) error

AppendUnique mocks base method.

func (*MockIpTables) Delete

func (m *MockIpTables) Delete(table, chain string, rulespec ...string) error

Delete mocks base method.

func (*MockIpTables) EXPECT

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

func (*MockIpTables) Exists

func (m *MockIpTables) Exists(table, chain string, rulespec ...string) (bool, error)

Exists mocks base method.

func (*MockIpTables) Insert

func (m *MockIpTables) Insert(table, chain string, pos int, rulespec ...string) error

Insert mocks base method.

func (*MockIpTables) List

func (m *MockIpTables) List(table, chain string) ([]string, error)

List mocks base method.

type MockIpTablesMockRecorder

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

MockIpTablesMockRecorder is the mock recorder for MockIpTables.

func (*MockIpTablesMockRecorder) AppendUnique

func (mr *MockIpTablesMockRecorder) AppendUnique(table, chain interface{}, rulespec ...interface{}) *gomock.Call

AppendUnique indicates an expected call of AppendUnique.

func (*MockIpTablesMockRecorder) Delete

func (mr *MockIpTablesMockRecorder) Delete(table, chain interface{}, rulespec ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockIpTablesMockRecorder) Exists

func (mr *MockIpTablesMockRecorder) Exists(table, chain interface{}, rulespec ...interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockIpTablesMockRecorder) Insert

func (mr *MockIpTablesMockRecorder) Insert(table, chain, pos interface{}, rulespec ...interface{}) *gomock.Call

Insert indicates an expected call of Insert.

func (*MockIpTablesMockRecorder) List

func (mr *MockIpTablesMockRecorder) List(table, chain interface{}) *gomock.Call

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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