testing

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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) AppendRule

func (m *MockInterface) AppendRule(arg0 iptables.Protocol, arg1, arg2 string, arg3 []string) error

AppendRule mocks base method

func (*MockInterface) ChainExists

func (m *MockInterface) ChainExists(arg0 iptables.Protocol, arg1, arg2 string) (bool, error)

ChainExists mocks base method

func (*MockInterface) DeleteChain

func (m *MockInterface) DeleteChain(arg0 iptables.Protocol, arg1, arg2 string) error

DeleteChain mocks base method

func (*MockInterface) DeleteRule

func (m *MockInterface) DeleteRule(arg0 iptables.Protocol, arg1, arg2 string, arg3 []string) error

DeleteRule mocks base method

func (*MockInterface) EXPECT

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

func (*MockInterface) EnsureChain

func (m *MockInterface) EnsureChain(arg0 iptables.Protocol, arg1, arg2 string) error

EnsureChain mocks base method

func (*MockInterface) InsertRule

func (m *MockInterface) InsertRule(arg0 iptables.Protocol, arg1, arg2 string, arg3 []string) error

InsertRule mocks base method

func (*MockInterface) ListRules

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

ListRules mocks base method

func (*MockInterface) Restore

func (m *MockInterface) Restore(arg0 string, arg1, arg2 bool) error

Restore mocks base method

func (*MockInterface) Save

func (m *MockInterface) Save() ([]byte, error)

Save mocks base method

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) AppendRule

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

AppendRule indicates an expected call of AppendRule

func (*MockInterfaceMockRecorder) ChainExists

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

ChainExists indicates an expected call of ChainExists

func (*MockInterfaceMockRecorder) DeleteChain

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

DeleteChain indicates an expected call of DeleteChain

func (*MockInterfaceMockRecorder) DeleteRule

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

DeleteRule indicates an expected call of DeleteRule

func (*MockInterfaceMockRecorder) EnsureChain

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

EnsureChain indicates an expected call of EnsureChain

func (*MockInterfaceMockRecorder) InsertRule

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

InsertRule indicates an expected call of InsertRule

func (*MockInterfaceMockRecorder) ListRules

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

ListRules indicates an expected call of ListRules

func (*MockInterfaceMockRecorder) Restore

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

Restore indicates an expected call of Restore

func (*MockInterfaceMockRecorder) Save

Save indicates an expected call of Save

Jump to

Keyboard shortcuts

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