Documentation ¶
Overview ¶
Package mock_util is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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, rule ...string) error
AppendUnique mocks base method
func (*MockIptables) ClearChain ¶
func (m *MockIptables) ClearChain(table, chain string) error
ClearChain mocks base method
func (*MockIptables) EXPECT ¶
func (m *MockIptables) EXPECT() *MockIptablesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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{}, rule ...interface{}) *gomock.Call
AppendUnique indicates an expected call of AppendUnique
func (*MockIptablesMockRecorder) ClearChain ¶
func (mr *MockIptablesMockRecorder) ClearChain(table, chain interface{}) *gomock.Call
ClearChain indicates an expected call of ClearChain
func (*MockIptablesMockRecorder) Exists ¶
func (mr *MockIptablesMockRecorder) Exists(table, chain interface{}, rule ...interface{}) *gomock.Call
Exists indicates an expected call of Exists
Click to show internal directories.
Click to hide internal directories.