mockloggerv1alpha1

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerAPI_WriteClient

type LoggerAPI_WriteClient struct {
	mock.Mock
}

LoggerAPI_WriteClient is an autogenerated mock type for the LoggerAPI_WriteClient type

func NewLoggerAPI_WriteClient

func NewLoggerAPI_WriteClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *LoggerAPI_WriteClient

NewLoggerAPI_WriteClient creates a new instance of LoggerAPI_WriteClient. 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 (*LoggerAPI_WriteClient) CloseAndRecv

CloseAndRecv provides a mock function with given fields:

func (*LoggerAPI_WriteClient) CloseSend

func (_m *LoggerAPI_WriteClient) CloseSend() error

CloseSend provides a mock function with given fields:

func (*LoggerAPI_WriteClient) Context

func (_m *LoggerAPI_WriteClient) Context() context.Context

Context provides a mock function with given fields:

func (*LoggerAPI_WriteClient) EXPECT

func (*LoggerAPI_WriteClient) Header

func (_m *LoggerAPI_WriteClient) Header() (metadata.MD, error)

Header provides a mock function with given fields:

func (*LoggerAPI_WriteClient) RecvMsg

func (_m *LoggerAPI_WriteClient) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*LoggerAPI_WriteClient) Send

Send provides a mock function with given fields: _a0

func (*LoggerAPI_WriteClient) SendMsg

func (_m *LoggerAPI_WriteClient) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*LoggerAPI_WriteClient) Trailer

func (_m *LoggerAPI_WriteClient) Trailer() metadata.MD

Trailer provides a mock function with given fields:

type LoggerAPI_WriteClient_CloseAndRecv_Call

type LoggerAPI_WriteClient_CloseAndRecv_Call struct {
	*mock.Call
}

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

func (*LoggerAPI_WriteClient_CloseAndRecv_Call) Return

func (*LoggerAPI_WriteClient_CloseAndRecv_Call) Run

func (*LoggerAPI_WriteClient_CloseAndRecv_Call) RunAndReturn

type LoggerAPI_WriteClient_CloseSend_Call

type LoggerAPI_WriteClient_CloseSend_Call struct {
	*mock.Call
}

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

func (*LoggerAPI_WriteClient_CloseSend_Call) Return

func (*LoggerAPI_WriteClient_CloseSend_Call) Run

func (*LoggerAPI_WriteClient_CloseSend_Call) RunAndReturn

type LoggerAPI_WriteClient_Context_Call

type LoggerAPI_WriteClient_Context_Call struct {
	*mock.Call
}

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

func (*LoggerAPI_WriteClient_Context_Call) Return

func (*LoggerAPI_WriteClient_Context_Call) Run

func (*LoggerAPI_WriteClient_Context_Call) RunAndReturn

type LoggerAPI_WriteClient_Expecter

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

func (*LoggerAPI_WriteClient_Expecter) CloseAndRecv

CloseAndRecv is a helper method to define mock.On call

func (*LoggerAPI_WriteClient_Expecter) CloseSend

CloseSend is a helper method to define mock.On call

func (*LoggerAPI_WriteClient_Expecter) Context

Context is a helper method to define mock.On call

func (*LoggerAPI_WriteClient_Expecter) Header

Header is a helper method to define mock.On call

func (*LoggerAPI_WriteClient_Expecter) RecvMsg

RecvMsg is a helper method to define mock.On call

  • m interface{}

func (*LoggerAPI_WriteClient_Expecter) Send

Send is a helper method to define mock.On call

  • _a0 *loggerv1alpha1.WriteRequest

func (*LoggerAPI_WriteClient_Expecter) SendMsg

SendMsg is a helper method to define mock.On call

  • m interface{}

func (*LoggerAPI_WriteClient_Expecter) Trailer

Trailer is a helper method to define mock.On call

type LoggerAPI_WriteClient_Header_Call

type LoggerAPI_WriteClient_Header_Call struct {
	*mock.Call
}

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

func (*LoggerAPI_WriteClient_Header_Call) Return

func (*LoggerAPI_WriteClient_Header_Call) Run

func (*LoggerAPI_WriteClient_Header_Call) RunAndReturn

type LoggerAPI_WriteClient_RecvMsg_Call

type LoggerAPI_WriteClient_RecvMsg_Call struct {
	*mock.Call
}

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

func (*LoggerAPI_WriteClient_RecvMsg_Call) Return

func (*LoggerAPI_WriteClient_RecvMsg_Call) Run

func (*LoggerAPI_WriteClient_RecvMsg_Call) RunAndReturn

func (_c *LoggerAPI_WriteClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *LoggerAPI_WriteClient_RecvMsg_Call

type LoggerAPI_WriteClient_SendMsg_Call

type LoggerAPI_WriteClient_SendMsg_Call struct {
	*mock.Call
}

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

func (*LoggerAPI_WriteClient_SendMsg_Call) Return

func (*LoggerAPI_WriteClient_SendMsg_Call) Run

func (*LoggerAPI_WriteClient_SendMsg_Call) RunAndReturn

func (_c *LoggerAPI_WriteClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *LoggerAPI_WriteClient_SendMsg_Call

type LoggerAPI_WriteClient_Send_Call

type LoggerAPI_WriteClient_Send_Call struct {
	*mock.Call
}

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

func (*LoggerAPI_WriteClient_Send_Call) Return

func (*LoggerAPI_WriteClient_Send_Call) Run

func (*LoggerAPI_WriteClient_Send_Call) RunAndReturn

type LoggerAPI_WriteClient_Trailer_Call

type LoggerAPI_WriteClient_Trailer_Call struct {
	*mock.Call
}

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

func (*LoggerAPI_WriteClient_Trailer_Call) Return

func (*LoggerAPI_WriteClient_Trailer_Call) Run

func (*LoggerAPI_WriteClient_Trailer_Call) RunAndReturn

Jump to

Keyboard shortcuts

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