mocks

package
v0.0.0-...-77aa534 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventMonitoringModuleClient

type EventMonitoringModuleClient struct {
	mock.Mock
}

EventMonitoringModuleClient is an autogenerated mock type for the EventMonitoringModuleClient type

func NewEventMonitoringModuleClient

func NewEventMonitoringModuleClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventMonitoringModuleClient

NewEventMonitoringModuleClient creates a new instance of EventMonitoringModuleClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EventMonitoringModuleClient) EXPECT

func (*EventMonitoringModuleClient) GetProcessEvents

GetProcessEvents provides a mock function with given fields: ctx, in, opts

type EventMonitoringModuleClient_Expecter

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

func (*EventMonitoringModuleClient_Expecter) GetProcessEvents

func (_e *EventMonitoringModuleClient_Expecter) GetProcessEvents(ctx interface{}, in interface{}, opts ...interface{}) *EventMonitoringModuleClient_GetProcessEvents_Call

GetProcessEvents is a helper method to define mock.On call

  • ctx context.Context
  • in *api.GetProcessEventParams
  • opts ...grpc.CallOption

type EventMonitoringModuleClient_GetProcessEvents_Call

type EventMonitoringModuleClient_GetProcessEvents_Call struct {
	*mock.Call
}

EventMonitoringModuleClient_GetProcessEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProcessEvents'

func (*EventMonitoringModuleClient_GetProcessEvents_Call) Run

type EventMonitoringModuleServer

type EventMonitoringModuleServer struct {
	mock.Mock
}

EventMonitoringModuleServer is an autogenerated mock type for the EventMonitoringModuleServer type

func NewEventMonitoringModuleServer

func NewEventMonitoringModuleServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventMonitoringModuleServer

NewEventMonitoringModuleServer creates a new instance of EventMonitoringModuleServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EventMonitoringModuleServer) EXPECT

func (*EventMonitoringModuleServer) GetProcessEvents

GetProcessEvents provides a mock function with given fields: _a0, _a1

type EventMonitoringModuleServer_Expecter

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

func (*EventMonitoringModuleServer_Expecter) GetProcessEvents

func (_e *EventMonitoringModuleServer_Expecter) GetProcessEvents(_a0 interface{}, _a1 interface{}) *EventMonitoringModuleServer_GetProcessEvents_Call

GetProcessEvents is a helper method to define mock.On call

  • _a0 *api.GetProcessEventParams
  • _a1 grpc.ServerStreamingServer[api.ProcessEventMessage]

type EventMonitoringModuleServer_GetProcessEvents_Call

type EventMonitoringModuleServer_GetProcessEvents_Call struct {
	*mock.Call
}

EventMonitoringModuleServer_GetProcessEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProcessEvents'

func (*EventMonitoringModuleServer_GetProcessEvents_Call) Return

type EventMonitoringModuleServer_mustEmbedUnimplementedEventMonitoringModuleServer_Call

type EventMonitoringModuleServer_mustEmbedUnimplementedEventMonitoringModuleServer_Call struct {
	*mock.Call
}

EventMonitoringModuleServer_mustEmbedUnimplementedEventMonitoringModuleServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedEventMonitoringModuleServer'

func (*EventMonitoringModuleServer_mustEmbedUnimplementedEventMonitoringModuleServer_Call) Return

func (*EventMonitoringModuleServer_mustEmbedUnimplementedEventMonitoringModuleServer_Call) Run

func (*EventMonitoringModuleServer_mustEmbedUnimplementedEventMonitoringModuleServer_Call) RunAndReturn

type EventMonitoringModule_GetProcessEventsClient

type EventMonitoringModule_GetProcessEventsClient struct {
	mock.Mock
}

EventMonitoringModule_GetProcessEventsClient is an autogenerated mock type for the EventMonitoringModule_GetProcessEventsClient type

func NewEventMonitoringModule_GetProcessEventsClient

func NewEventMonitoringModule_GetProcessEventsClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventMonitoringModule_GetProcessEventsClient

NewEventMonitoringModule_GetProcessEventsClient creates a new instance of EventMonitoringModule_GetProcessEventsClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EventMonitoringModule_GetProcessEventsClient) CloseSend

CloseSend provides a mock function with no fields

func (*EventMonitoringModule_GetProcessEventsClient) Context

Context provides a mock function with no fields

func (*EventMonitoringModule_GetProcessEventsClient) EXPECT

func (*EventMonitoringModule_GetProcessEventsClient) Header

Header provides a mock function with no fields

func (*EventMonitoringModule_GetProcessEventsClient) Recv

Recv provides a mock function with no fields

func (*EventMonitoringModule_GetProcessEventsClient) RecvMsg

RecvMsg provides a mock function with given fields: m

func (*EventMonitoringModule_GetProcessEventsClient) SendMsg

SendMsg provides a mock function with given fields: m

func (*EventMonitoringModule_GetProcessEventsClient) Trailer

Trailer provides a mock function with no fields

type EventMonitoringModule_GetProcessEventsClient_CloseSend_Call

type EventMonitoringModule_GetProcessEventsClient_CloseSend_Call struct {
	*mock.Call
}

EventMonitoringModule_GetProcessEventsClient_CloseSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseSend'

func (*EventMonitoringModule_GetProcessEventsClient_CloseSend_Call) Return

func (*EventMonitoringModule_GetProcessEventsClient_CloseSend_Call) Run

func (*EventMonitoringModule_GetProcessEventsClient_CloseSend_Call) RunAndReturn

type EventMonitoringModule_GetProcessEventsClient_Context_Call

type EventMonitoringModule_GetProcessEventsClient_Context_Call struct {
	*mock.Call
}

EventMonitoringModule_GetProcessEventsClient_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'

func (*EventMonitoringModule_GetProcessEventsClient_Context_Call) Return

func (*EventMonitoringModule_GetProcessEventsClient_Context_Call) Run

func (*EventMonitoringModule_GetProcessEventsClient_Context_Call) RunAndReturn

type EventMonitoringModule_GetProcessEventsClient_Expecter

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

func (*EventMonitoringModule_GetProcessEventsClient_Expecter) CloseSend

CloseSend is a helper method to define mock.On call

func (*EventMonitoringModule_GetProcessEventsClient_Expecter) Context

Context is a helper method to define mock.On call

func (*EventMonitoringModule_GetProcessEventsClient_Expecter) Header

Header is a helper method to define mock.On call

func (*EventMonitoringModule_GetProcessEventsClient_Expecter) Recv

Recv is a helper method to define mock.On call

func (*EventMonitoringModule_GetProcessEventsClient_Expecter) RecvMsg

RecvMsg is a helper method to define mock.On call

  • m any

func (*EventMonitoringModule_GetProcessEventsClient_Expecter) SendMsg

SendMsg is a helper method to define mock.On call

  • m any

func (*EventMonitoringModule_GetProcessEventsClient_Expecter) Trailer

Trailer is a helper method to define mock.On call

type EventMonitoringModule_GetProcessEventsClient_Header_Call

type EventMonitoringModule_GetProcessEventsClient_Header_Call struct {
	*mock.Call
}

EventMonitoringModule_GetProcessEventsClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'

func (*EventMonitoringModule_GetProcessEventsClient_Header_Call) Return

func (*EventMonitoringModule_GetProcessEventsClient_Header_Call) Run

func (*EventMonitoringModule_GetProcessEventsClient_Header_Call) RunAndReturn

type EventMonitoringModule_GetProcessEventsClient_RecvMsg_Call

type EventMonitoringModule_GetProcessEventsClient_RecvMsg_Call struct {
	*mock.Call
}

EventMonitoringModule_GetProcessEventsClient_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'

func (*EventMonitoringModule_GetProcessEventsClient_RecvMsg_Call) Return

func (*EventMonitoringModule_GetProcessEventsClient_RecvMsg_Call) Run

func (*EventMonitoringModule_GetProcessEventsClient_RecvMsg_Call) RunAndReturn

type EventMonitoringModule_GetProcessEventsClient_Recv_Call

type EventMonitoringModule_GetProcessEventsClient_Recv_Call struct {
	*mock.Call
}

EventMonitoringModule_GetProcessEventsClient_Recv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recv'

func (*EventMonitoringModule_GetProcessEventsClient_Recv_Call) Return

func (*EventMonitoringModule_GetProcessEventsClient_Recv_Call) Run

func (*EventMonitoringModule_GetProcessEventsClient_Recv_Call) RunAndReturn

type EventMonitoringModule_GetProcessEventsClient_SendMsg_Call

type EventMonitoringModule_GetProcessEventsClient_SendMsg_Call struct {
	*mock.Call
}

EventMonitoringModule_GetProcessEventsClient_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'

func (*EventMonitoringModule_GetProcessEventsClient_SendMsg_Call) Return

func (*EventMonitoringModule_GetProcessEventsClient_SendMsg_Call) Run

func (*EventMonitoringModule_GetProcessEventsClient_SendMsg_Call) RunAndReturn

type EventMonitoringModule_GetProcessEventsClient_Trailer_Call

type EventMonitoringModule_GetProcessEventsClient_Trailer_Call struct {
	*mock.Call
}

EventMonitoringModule_GetProcessEventsClient_Trailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trailer'

func (*EventMonitoringModule_GetProcessEventsClient_Trailer_Call) Return

func (*EventMonitoringModule_GetProcessEventsClient_Trailer_Call) Run

func (*EventMonitoringModule_GetProcessEventsClient_Trailer_Call) RunAndReturn

Jump to

Keyboard shortcuts

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