trireme-lib: go.aporeto.io/trireme-lib/policy/mockpolicy Index | Files

package mockpolicy

import "go.aporeto.io/trireme-lib/policy/mockpolicy"

Package mockpolicy is a generated GoMock package.

Index

Package Files

mockpolicy.go

type MockResolver Uses

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

MockResolver is a mock of Resolver interface nolint

func NewMockResolver Uses

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance nolint

func (*MockResolver) EXPECT Uses

func (m *MockResolver) EXPECT() *MockResolverMockRecorder

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

func (*MockResolver) HandlePUEvent Uses

func (m *MockResolver) HandlePUEvent(ctx context.Context, puID string, event common.Event, runtime policy.RuntimeReader) error

HandlePUEvent mocks base method nolint

type MockResolverMockRecorder Uses

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

MockResolverMockRecorder is the mock recorder for MockResolver nolint

func (*MockResolverMockRecorder) HandlePUEvent Uses

func (mr *MockResolverMockRecorder) HandlePUEvent(ctx, puID, event, runtime interface{}) *gomock.Call

HandlePUEvent indicates an expected call of HandlePUEvent nolint

type MockRuntimeReader Uses

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

MockRuntimeReader is a mock of RuntimeReader interface nolint

func NewMockRuntimeReader Uses

func NewMockRuntimeReader(ctrl *gomock.Controller) *MockRuntimeReader

NewMockRuntimeReader creates a new mock instance nolint

func (*MockRuntimeReader) EXPECT Uses

func (m *MockRuntimeReader) EXPECT() *MockRuntimeReaderMockRecorder

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

func (*MockRuntimeReader) IPAddresses Uses

func (m *MockRuntimeReader) IPAddresses() policy.ExtendedMap

IPAddresses mocks base method nolint

func (*MockRuntimeReader) NSPath Uses

func (m *MockRuntimeReader) NSPath() string

NSPath mocks base method nolint

func (*MockRuntimeReader) Name Uses

func (m *MockRuntimeReader) Name() string

Name mocks base method nolint

func (*MockRuntimeReader) Options Uses

func (m *MockRuntimeReader) Options() policy.OptionsType

Options mocks base method nolint

func (*MockRuntimeReader) PUType Uses

func (m *MockRuntimeReader) PUType() common.PUType

PUType mocks base method nolint

func (*MockRuntimeReader) Pid Uses

func (m *MockRuntimeReader) Pid() int

Pid mocks base method nolint

func (*MockRuntimeReader) PortMap Uses

func (m *MockRuntimeReader) PortMap() map[nat.Port][]string

PortMap mocks base method nolint

func (*MockRuntimeReader) SetServices Uses

func (m *MockRuntimeReader) SetServices(services []common.Service)

SetServices mocks base method nolint

func (*MockRuntimeReader) Tag Uses

func (m *MockRuntimeReader) Tag(arg0 string) (string, bool)

Tag mocks base method nolint

func (*MockRuntimeReader) Tags Uses

func (m *MockRuntimeReader) Tags() *policy.TagStore

Tags mocks base method nolint

type MockRuntimeReaderMockRecorder Uses

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

MockRuntimeReaderMockRecorder is the mock recorder for MockRuntimeReader nolint

func (*MockRuntimeReaderMockRecorder) IPAddresses Uses

func (mr *MockRuntimeReaderMockRecorder) IPAddresses() *gomock.Call

IPAddresses indicates an expected call of IPAddresses nolint

func (*MockRuntimeReaderMockRecorder) NSPath Uses

func (mr *MockRuntimeReaderMockRecorder) NSPath() *gomock.Call

NSPath indicates an expected call of NSPath nolint

func (*MockRuntimeReaderMockRecorder) Name Uses

func (mr *MockRuntimeReaderMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name nolint

func (*MockRuntimeReaderMockRecorder) Options Uses

func (mr *MockRuntimeReaderMockRecorder) Options() *gomock.Call

Options indicates an expected call of Options nolint

func (*MockRuntimeReaderMockRecorder) PUType Uses

func (mr *MockRuntimeReaderMockRecorder) PUType() *gomock.Call

PUType indicates an expected call of PUType nolint

func (*MockRuntimeReaderMockRecorder) Pid Uses

func (mr *MockRuntimeReaderMockRecorder) Pid() *gomock.Call

Pid indicates an expected call of Pid nolint

func (*MockRuntimeReaderMockRecorder) PortMap Uses

func (mr *MockRuntimeReaderMockRecorder) PortMap() *gomock.Call

PortMap indicates an expected call of PortMap nolint

func (*MockRuntimeReaderMockRecorder) SetServices Uses

func (mr *MockRuntimeReaderMockRecorder) SetServices(services interface{}) *gomock.Call

SetServices indicates an expected call of SetServices nolint

func (*MockRuntimeReaderMockRecorder) Tag Uses

func (mr *MockRuntimeReaderMockRecorder) Tag(arg0 interface{}) *gomock.Call

Tag indicates an expected call of Tag nolint

func (*MockRuntimeReaderMockRecorder) Tags Uses

func (mr *MockRuntimeReaderMockRecorder) Tags() *gomock.Call

Tags indicates an expected call of Tags nolint

Package mockpolicy imports 6 packages (graph). Updated 2018-07-06. Refresh now. Tools for package owners.