mockpolicy

package
v10.282.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mockpolicy is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockResolver

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

MockResolver is a mock of Resolver interface nolint

func NewMockResolver

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance nolint

func (*MockResolver) EXPECT

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

func (*MockResolver) HandlePUEvent

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

HandlePUEvent mocks base method nolint

type MockResolverMockRecorder

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

MockResolverMockRecorder is the mock recorder for MockResolver nolint

func (*MockResolverMockRecorder) HandlePUEvent

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

HandlePUEvent indicates an expected call of HandlePUEvent nolint

type MockRuntimeReader

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

MockRuntimeReader is a mock of RuntimeReader interface nolint

func NewMockRuntimeReader

func NewMockRuntimeReader(ctrl *gomock.Controller) *MockRuntimeReader

NewMockRuntimeReader creates a new mock instance nolint

func (*MockRuntimeReader) EXPECT

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

func (*MockRuntimeReader) IPAddresses

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

IPAddresses mocks base method nolint

func (*MockRuntimeReader) NSPath

func (m *MockRuntimeReader) NSPath() string

NSPath mocks base method nolint

func (*MockRuntimeReader) Name

func (m *MockRuntimeReader) Name() string

Name mocks base method nolint

func (*MockRuntimeReader) Options

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

Options mocks base method nolint

func (*MockRuntimeReader) PUType

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

PUType mocks base method nolint

func (*MockRuntimeReader) Pid

func (m *MockRuntimeReader) Pid() int

Pid mocks base method nolint

func (*MockRuntimeReader) PortMap

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

PortMap mocks base method nolint

func (*MockRuntimeReader) SetServices

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

SetServices mocks base method nolint

func (*MockRuntimeReader) Tag

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

Tag mocks base method nolint

func (*MockRuntimeReader) Tags

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

Tags mocks base method nolint

type MockRuntimeReaderMockRecorder

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

MockRuntimeReaderMockRecorder is the mock recorder for MockRuntimeReader nolint

func (*MockRuntimeReaderMockRecorder) IPAddresses

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

IPAddresses indicates an expected call of IPAddresses nolint

func (*MockRuntimeReaderMockRecorder) NSPath

NSPath indicates an expected call of NSPath nolint

func (*MockRuntimeReaderMockRecorder) Name

Name indicates an expected call of Name nolint

func (*MockRuntimeReaderMockRecorder) Options

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

Options indicates an expected call of Options nolint

func (*MockRuntimeReaderMockRecorder) PUType

PUType indicates an expected call of PUType nolint

func (*MockRuntimeReaderMockRecorder) Pid

Pid indicates an expected call of Pid nolint

func (*MockRuntimeReaderMockRecorder) PortMap

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

PortMap indicates an expected call of PortMap nolint

func (*MockRuntimeReaderMockRecorder) SetServices

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

SetServices indicates an expected call of SetServices nolint

func (*MockRuntimeReaderMockRecorder) Tag

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

Tag indicates an expected call of Tag nolint

func (*MockRuntimeReaderMockRecorder) Tags

Tags indicates an expected call of Tags nolint

Jump to

Keyboard shortcuts

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