mock_iptables

package
v0.0.0-...-8d0320b Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

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
}

Mock of IpTables interface

func NewMockIpTables

func NewMockIpTables(ctrl *gomock.Controller) *MockIpTables

func (*MockIpTables) Deny

func (_m *MockIpTables) Deny(in string, out string)

func (*MockIpTables) DenyDirection

func (_m *MockIpTables) DenyDirection(in string, out string)

func (*MockIpTables) EXPECT

func (_m *MockIpTables) EXPECT() *_MockIpTablesRecorder

func (*MockIpTables) Heal

func (_m *MockIpTables) Heal()

func (*MockIpTables) PartitionLevel

func (_m *MockIpTables) PartitionLevel(nodes []string, position int)

Jump to

Keyboard shortcuts

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