Documentation ¶
Overview ¶
Package mockpolicy is a generated GoMock package.
Index ¶
- type MockResolver
- type MockResolverMockRecorder
- type MockRuntimeReader
- func (m *MockRuntimeReader) EXPECT() *MockRuntimeReaderMockRecorder
- func (m *MockRuntimeReader) IPAddresses() policy.ExtendedMap
- func (m *MockRuntimeReader) Name() string
- func (m *MockRuntimeReader) Options() policy.OptionsType
- func (m *MockRuntimeReader) PUType() common.PUType
- func (m *MockRuntimeReader) Pid() int
- func (m *MockRuntimeReader) SetServices(services []common.Service)
- func (m *MockRuntimeReader) Tag(arg0 string) (string, bool)
- func (m *MockRuntimeReader) Tags() *policy.TagStore
- type MockRuntimeReaderMockRecorder
- func (mr *MockRuntimeReaderMockRecorder) IPAddresses() *gomock.Call
- func (mr *MockRuntimeReaderMockRecorder) Name() *gomock.Call
- func (mr *MockRuntimeReaderMockRecorder) Options() *gomock.Call
- func (mr *MockRuntimeReaderMockRecorder) PUType() *gomock.Call
- func (mr *MockRuntimeReaderMockRecorder) Pid() *gomock.Call
- func (mr *MockRuntimeReaderMockRecorder) SetServices(services interface{}) *gomock.Call
- func (mr *MockRuntimeReaderMockRecorder) Tag(arg0 interface{}) *gomock.Call
- func (mr *MockRuntimeReaderMockRecorder) Tags() *gomock.Call
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 ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
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 ¶
func (m *MockRuntimeReader) EXPECT() *MockRuntimeReaderMockRecorder
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) 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) 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) Name ¶
func (mr *MockRuntimeReaderMockRecorder) Name() *gomock.Call
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 ¶
func (mr *MockRuntimeReaderMockRecorder) PUType() *gomock.Call
PUType indicates an expected call of PUType nolint
func (*MockRuntimeReaderMockRecorder) Pid ¶
func (mr *MockRuntimeReaderMockRecorder) Pid() *gomock.Call
Pid indicates an expected call of Pid 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 ¶
func (mr *MockRuntimeReaderMockRecorder) Tags() *gomock.Call
Tags indicates an expected call of Tags nolint