mock_util

package
v0.0.0-...-a54ed49 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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

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

func (*MockIptables) Exists

func (m *MockIptables) Exists(table, chain string, rule ...string) (bool, error)

Exists 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{}, 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

Jump to

Keyboard shortcuts

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