mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiprotoCentrifugoApiClient

type ApiprotoCentrifugoApiClient struct {
	mock.Mock
}

ApiprotoCentrifugoApiClient is an autogenerated mock type for the CentrifugoApiClient type

func NewApiprotoCentrifugoApiClient

func NewApiprotoCentrifugoApiClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApiprotoCentrifugoApiClient

NewApiprotoCentrifugoApiClient creates a new instance of ApiprotoCentrifugoApiClient. 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 (*ApiprotoCentrifugoApiClient) Batch

func (_mock *ApiprotoCentrifugoApiClient) Batch(ctx context.Context, in *apiproto.BatchRequest, opts ...grpc.CallOption) (*apiproto.BatchResponse, error)

Batch provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) BlockUser

func (_mock *ApiprotoCentrifugoApiClient) BlockUser(ctx context.Context, in *apiproto.BlockUserRequest, opts ...grpc.CallOption) (*apiproto.BlockUserResponse, error)

BlockUser provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Broadcast

func (_mock *ApiprotoCentrifugoApiClient) Broadcast(ctx context.Context, in *apiproto.BroadcastRequest, opts ...grpc.CallOption) (*apiproto.BroadcastResponse, error)

Broadcast provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) CancelPush

func (_mock *ApiprotoCentrifugoApiClient) CancelPush(ctx context.Context, in *apiproto.CancelPushRequest, opts ...grpc.CallOption) (*apiproto.CancelPushResponse, error)

CancelPush provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Channels

func (_mock *ApiprotoCentrifugoApiClient) Channels(ctx context.Context, in *apiproto.ChannelsRequest, opts ...grpc.CallOption) (*apiproto.ChannelsResponse, error)

Channels provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Connections

func (_mock *ApiprotoCentrifugoApiClient) Connections(ctx context.Context, in *apiproto.ConnectionsRequest, opts ...grpc.CallOption) (*apiproto.ConnectionsResponse, error)

Connections provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) DeleteUserStatus

func (_mock *ApiprotoCentrifugoApiClient) DeleteUserStatus(ctx context.Context, in *apiproto.DeleteUserStatusRequest, opts ...grpc.CallOption) (*apiproto.DeleteUserStatusResponse, error)

DeleteUserStatus provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) DeviceList

func (_mock *ApiprotoCentrifugoApiClient) DeviceList(ctx context.Context, in *apiproto.DeviceListRequest, opts ...grpc.CallOption) (*apiproto.DeviceListResponse, error)

DeviceList provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) DeviceRegister

func (_mock *ApiprotoCentrifugoApiClient) DeviceRegister(ctx context.Context, in *apiproto.DeviceRegisterRequest, opts ...grpc.CallOption) (*apiproto.DeviceRegisterResponse, error)

DeviceRegister provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) DeviceRemove

func (_mock *ApiprotoCentrifugoApiClient) DeviceRemove(ctx context.Context, in *apiproto.DeviceRemoveRequest, opts ...grpc.CallOption) (*apiproto.DeviceRemoveResponse, error)

DeviceRemove provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) DeviceTopicList

func (_mock *ApiprotoCentrifugoApiClient) DeviceTopicList(ctx context.Context, in *apiproto.DeviceTopicListRequest, opts ...grpc.CallOption) (*apiproto.DeviceTopicListResponse, error)

DeviceTopicList provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) DeviceTopicUpdate

func (_mock *ApiprotoCentrifugoApiClient) DeviceTopicUpdate(ctx context.Context, in *apiproto.DeviceTopicUpdateRequest, opts ...grpc.CallOption) (*apiproto.DeviceTopicUpdateResponse, error)

DeviceTopicUpdate provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) DeviceUpdate

func (_mock *ApiprotoCentrifugoApiClient) DeviceUpdate(ctx context.Context, in *apiproto.DeviceUpdateRequest, opts ...grpc.CallOption) (*apiproto.DeviceUpdateResponse, error)

DeviceUpdate provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Disconnect

func (_mock *ApiprotoCentrifugoApiClient) Disconnect(ctx context.Context, in *apiproto.DisconnectRequest, opts ...grpc.CallOption) (*apiproto.DisconnectResponse, error)

Disconnect provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) EXPECT

func (*ApiprotoCentrifugoApiClient) GetUserStatus

func (_mock *ApiprotoCentrifugoApiClient) GetUserStatus(ctx context.Context, in *apiproto.GetUserStatusRequest, opts ...grpc.CallOption) (*apiproto.GetUserStatusResponse, error)

GetUserStatus provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) History

func (_mock *ApiprotoCentrifugoApiClient) History(ctx context.Context, in *apiproto.HistoryRequest, opts ...grpc.CallOption) (*apiproto.HistoryResponse, error)

History provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) HistoryRemove

func (_mock *ApiprotoCentrifugoApiClient) HistoryRemove(ctx context.Context, in *apiproto.HistoryRemoveRequest, opts ...grpc.CallOption) (*apiproto.HistoryRemoveResponse, error)

HistoryRemove provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Info

func (_mock *ApiprotoCentrifugoApiClient) Info(ctx context.Context, in *apiproto.InfoRequest, opts ...grpc.CallOption) (*apiproto.InfoResponse, error)

Info provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) InvalidateUserTokens

func (_mock *ApiprotoCentrifugoApiClient) InvalidateUserTokens(ctx context.Context, in *apiproto.InvalidateUserTokensRequest, opts ...grpc.CallOption) (*apiproto.InvalidateUserTokensResponse, error)

InvalidateUserTokens provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Presence

func (_mock *ApiprotoCentrifugoApiClient) Presence(ctx context.Context, in *apiproto.PresenceRequest, opts ...grpc.CallOption) (*apiproto.PresenceResponse, error)

Presence provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) PresenceStats

func (_mock *ApiprotoCentrifugoApiClient) PresenceStats(ctx context.Context, in *apiproto.PresenceStatsRequest, opts ...grpc.CallOption) (*apiproto.PresenceStatsResponse, error)

PresenceStats provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Publish

func (_mock *ApiprotoCentrifugoApiClient) Publish(ctx context.Context, in *apiproto.PublishRequest, opts ...grpc.CallOption) (*apiproto.PublishResponse, error)

Publish provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) RPC

func (_mock *ApiprotoCentrifugoApiClient) RPC(ctx context.Context, in *apiproto.RPCRequest, opts ...grpc.CallOption) (*apiproto.RPCResponse, error)

RPC provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) RateLimit

func (_mock *ApiprotoCentrifugoApiClient) RateLimit(ctx context.Context, in *apiproto.RateLimitRequest, opts ...grpc.CallOption) (*apiproto.RateLimitResponse, error)

RateLimit provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Refresh

func (_mock *ApiprotoCentrifugoApiClient) Refresh(ctx context.Context, in *apiproto.RefreshRequest, opts ...grpc.CallOption) (*apiproto.RefreshResponse, error)

Refresh provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) RevokeToken

func (_mock *ApiprotoCentrifugoApiClient) RevokeToken(ctx context.Context, in *apiproto.RevokeTokenRequest, opts ...grpc.CallOption) (*apiproto.RevokeTokenResponse, error)

RevokeToken provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) SendPushNotification

func (_mock *ApiprotoCentrifugoApiClient) SendPushNotification(ctx context.Context, in *apiproto.SendPushNotificationRequest, opts ...grpc.CallOption) (*apiproto.SendPushNotificationResponse, error)

SendPushNotification provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Subscribe

func (_mock *ApiprotoCentrifugoApiClient) Subscribe(ctx context.Context, in *apiproto.SubscribeRequest, opts ...grpc.CallOption) (*apiproto.SubscribeResponse, error)

Subscribe provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) UnblockUser

func (_mock *ApiprotoCentrifugoApiClient) UnblockUser(ctx context.Context, in *apiproto.UnblockUserRequest, opts ...grpc.CallOption) (*apiproto.UnblockUserResponse, error)

UnblockUser provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) Unsubscribe

func (_mock *ApiprotoCentrifugoApiClient) Unsubscribe(ctx context.Context, in *apiproto.UnsubscribeRequest, opts ...grpc.CallOption) (*apiproto.UnsubscribeResponse, error)

Unsubscribe provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) UpdatePushStatus

func (_mock *ApiprotoCentrifugoApiClient) UpdatePushStatus(ctx context.Context, in *apiproto.UpdatePushStatusRequest, opts ...grpc.CallOption) (*apiproto.UpdatePushStatusResponse, error)

UpdatePushStatus provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) UpdateUserStatus

func (_mock *ApiprotoCentrifugoApiClient) UpdateUserStatus(ctx context.Context, in *apiproto.UpdateUserStatusRequest, opts ...grpc.CallOption) (*apiproto.UpdateUserStatusResponse, error)

UpdateUserStatus provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) UserTopicList

func (_mock *ApiprotoCentrifugoApiClient) UserTopicList(ctx context.Context, in *apiproto.UserTopicListRequest, opts ...grpc.CallOption) (*apiproto.UserTopicListResponse, error)

UserTopicList provides a mock function for the type ApiprotoCentrifugoApiClient

func (*ApiprotoCentrifugoApiClient) UserTopicUpdate

func (_mock *ApiprotoCentrifugoApiClient) UserTopicUpdate(ctx context.Context, in *apiproto.UserTopicUpdateRequest, opts ...grpc.CallOption) (*apiproto.UserTopicUpdateResponse, error)

UserTopicUpdate provides a mock function for the type ApiprotoCentrifugoApiClient

type ApiprotoCentrifugoApiClient_Batch_Call

type ApiprotoCentrifugoApiClient_Batch_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Batch_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Batch_Call) Return(batchResponse *apiproto.BatchResponse, err error) *ApiprotoCentrifugoApiClient_Batch_Call

func (*ApiprotoCentrifugoApiClient_Batch_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Batch_Call) Run(run func(ctx context.Context, in *apiproto.BatchRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Batch_Call

func (*ApiprotoCentrifugoApiClient_Batch_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Batch_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.BatchRequest, opts ...grpc.CallOption) (*apiproto.BatchResponse, error)) *ApiprotoCentrifugoApiClient_Batch_Call

type ApiprotoCentrifugoApiClient_BlockUser_Call

type ApiprotoCentrifugoApiClient_BlockUser_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_BlockUser_Call) Return

func (_c *ApiprotoCentrifugoApiClient_BlockUser_Call) Return(blockUserResponse *apiproto.BlockUserResponse, err error) *ApiprotoCentrifugoApiClient_BlockUser_Call

func (*ApiprotoCentrifugoApiClient_BlockUser_Call) Run

func (_c *ApiprotoCentrifugoApiClient_BlockUser_Call) Run(run func(ctx context.Context, in *apiproto.BlockUserRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_BlockUser_Call

func (*ApiprotoCentrifugoApiClient_BlockUser_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_BlockUser_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.BlockUserRequest, opts ...grpc.CallOption) (*apiproto.BlockUserResponse, error)) *ApiprotoCentrifugoApiClient_BlockUser_Call

type ApiprotoCentrifugoApiClient_Broadcast_Call

type ApiprotoCentrifugoApiClient_Broadcast_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Broadcast_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Broadcast_Call) Return(broadcastResponse *apiproto.BroadcastResponse, err error) *ApiprotoCentrifugoApiClient_Broadcast_Call

func (*ApiprotoCentrifugoApiClient_Broadcast_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Broadcast_Call) Run(run func(ctx context.Context, in *apiproto.BroadcastRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Broadcast_Call

func (*ApiprotoCentrifugoApiClient_Broadcast_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Broadcast_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.BroadcastRequest, opts ...grpc.CallOption) (*apiproto.BroadcastResponse, error)) *ApiprotoCentrifugoApiClient_Broadcast_Call

type ApiprotoCentrifugoApiClient_CancelPush_Call

type ApiprotoCentrifugoApiClient_CancelPush_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_CancelPush_Call) Return

func (_c *ApiprotoCentrifugoApiClient_CancelPush_Call) Return(cancelPushResponse *apiproto.CancelPushResponse, err error) *ApiprotoCentrifugoApiClient_CancelPush_Call

func (*ApiprotoCentrifugoApiClient_CancelPush_Call) Run

func (_c *ApiprotoCentrifugoApiClient_CancelPush_Call) Run(run func(ctx context.Context, in *apiproto.CancelPushRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_CancelPush_Call

func (*ApiprotoCentrifugoApiClient_CancelPush_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_CancelPush_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.CancelPushRequest, opts ...grpc.CallOption) (*apiproto.CancelPushResponse, error)) *ApiprotoCentrifugoApiClient_CancelPush_Call

type ApiprotoCentrifugoApiClient_Channels_Call

type ApiprotoCentrifugoApiClient_Channels_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Channels_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Channels_Call) Return(channelsResponse *apiproto.ChannelsResponse, err error) *ApiprotoCentrifugoApiClient_Channels_Call

func (*ApiprotoCentrifugoApiClient_Channels_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Channels_Call) Run(run func(ctx context.Context, in *apiproto.ChannelsRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Channels_Call

func (*ApiprotoCentrifugoApiClient_Channels_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Channels_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.ChannelsRequest, opts ...grpc.CallOption) (*apiproto.ChannelsResponse, error)) *ApiprotoCentrifugoApiClient_Channels_Call

type ApiprotoCentrifugoApiClient_Connections_Call

type ApiprotoCentrifugoApiClient_Connections_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Connections_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Connections_Call) Return(connectionsResponse *apiproto.ConnectionsResponse, err error) *ApiprotoCentrifugoApiClient_Connections_Call

func (*ApiprotoCentrifugoApiClient_Connections_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Connections_Call) Run(run func(ctx context.Context, in *apiproto.ConnectionsRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Connections_Call

func (*ApiprotoCentrifugoApiClient_Connections_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Connections_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.ConnectionsRequest, opts ...grpc.CallOption) (*apiproto.ConnectionsResponse, error)) *ApiprotoCentrifugoApiClient_Connections_Call

type ApiprotoCentrifugoApiClient_DeleteUserStatus_Call

type ApiprotoCentrifugoApiClient_DeleteUserStatus_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) Return

func (_c *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) Return(deleteUserStatusResponse *apiproto.DeleteUserStatusResponse, err error) *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call

func (*ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) Run

func (_c *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) Run(run func(ctx context.Context, in *apiproto.DeleteUserStatusRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call

func (*ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.DeleteUserStatusRequest, opts ...grpc.CallOption) (*apiproto.DeleteUserStatusResponse, error)) *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call

type ApiprotoCentrifugoApiClient_DeviceList_Call

type ApiprotoCentrifugoApiClient_DeviceList_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_DeviceList_Call) Return

func (_c *ApiprotoCentrifugoApiClient_DeviceList_Call) Return(deviceListResponse *apiproto.DeviceListResponse, err error) *ApiprotoCentrifugoApiClient_DeviceList_Call

func (*ApiprotoCentrifugoApiClient_DeviceList_Call) Run

func (_c *ApiprotoCentrifugoApiClient_DeviceList_Call) Run(run func(ctx context.Context, in *apiproto.DeviceListRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_DeviceList_Call

func (*ApiprotoCentrifugoApiClient_DeviceList_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_DeviceList_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.DeviceListRequest, opts ...grpc.CallOption) (*apiproto.DeviceListResponse, error)) *ApiprotoCentrifugoApiClient_DeviceList_Call

type ApiprotoCentrifugoApiClient_DeviceRegister_Call

type ApiprotoCentrifugoApiClient_DeviceRegister_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_DeviceRegister_Call) Return

func (_c *ApiprotoCentrifugoApiClient_DeviceRegister_Call) Return(deviceRegisterResponse *apiproto.DeviceRegisterResponse, err error) *ApiprotoCentrifugoApiClient_DeviceRegister_Call

func (*ApiprotoCentrifugoApiClient_DeviceRegister_Call) Run

func (_c *ApiprotoCentrifugoApiClient_DeviceRegister_Call) Run(run func(ctx context.Context, in *apiproto.DeviceRegisterRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_DeviceRegister_Call

func (*ApiprotoCentrifugoApiClient_DeviceRegister_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_DeviceRegister_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.DeviceRegisterRequest, opts ...grpc.CallOption) (*apiproto.DeviceRegisterResponse, error)) *ApiprotoCentrifugoApiClient_DeviceRegister_Call

type ApiprotoCentrifugoApiClient_DeviceRemove_Call

type ApiprotoCentrifugoApiClient_DeviceRemove_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_DeviceRemove_Call) Return

func (_c *ApiprotoCentrifugoApiClient_DeviceRemove_Call) Return(deviceRemoveResponse *apiproto.DeviceRemoveResponse, err error) *ApiprotoCentrifugoApiClient_DeviceRemove_Call

func (*ApiprotoCentrifugoApiClient_DeviceRemove_Call) Run

func (_c *ApiprotoCentrifugoApiClient_DeviceRemove_Call) Run(run func(ctx context.Context, in *apiproto.DeviceRemoveRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_DeviceRemove_Call

func (*ApiprotoCentrifugoApiClient_DeviceRemove_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_DeviceRemove_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.DeviceRemoveRequest, opts ...grpc.CallOption) (*apiproto.DeviceRemoveResponse, error)) *ApiprotoCentrifugoApiClient_DeviceRemove_Call

type ApiprotoCentrifugoApiClient_DeviceTopicList_Call

type ApiprotoCentrifugoApiClient_DeviceTopicList_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_DeviceTopicList_Call) Return

func (_c *ApiprotoCentrifugoApiClient_DeviceTopicList_Call) Return(deviceTopicListResponse *apiproto.DeviceTopicListResponse, err error) *ApiprotoCentrifugoApiClient_DeviceTopicList_Call

func (*ApiprotoCentrifugoApiClient_DeviceTopicList_Call) Run

func (_c *ApiprotoCentrifugoApiClient_DeviceTopicList_Call) Run(run func(ctx context.Context, in *apiproto.DeviceTopicListRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_DeviceTopicList_Call

func (*ApiprotoCentrifugoApiClient_DeviceTopicList_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_DeviceTopicList_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.DeviceTopicListRequest, opts ...grpc.CallOption) (*apiproto.DeviceTopicListResponse, error)) *ApiprotoCentrifugoApiClient_DeviceTopicList_Call

type ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call

type ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) Return

func (_c *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) Return(deviceTopicUpdateResponse *apiproto.DeviceTopicUpdateResponse, err error) *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call

func (*ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) Run

func (_c *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) Run(run func(ctx context.Context, in *apiproto.DeviceTopicUpdateRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call

func (*ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.DeviceTopicUpdateRequest, opts ...grpc.CallOption) (*apiproto.DeviceTopicUpdateResponse, error)) *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call

type ApiprotoCentrifugoApiClient_DeviceUpdate_Call

type ApiprotoCentrifugoApiClient_DeviceUpdate_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_DeviceUpdate_Call) Return

func (_c *ApiprotoCentrifugoApiClient_DeviceUpdate_Call) Return(deviceUpdateResponse *apiproto.DeviceUpdateResponse, err error) *ApiprotoCentrifugoApiClient_DeviceUpdate_Call

func (*ApiprotoCentrifugoApiClient_DeviceUpdate_Call) Run

func (_c *ApiprotoCentrifugoApiClient_DeviceUpdate_Call) Run(run func(ctx context.Context, in *apiproto.DeviceUpdateRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_DeviceUpdate_Call

func (*ApiprotoCentrifugoApiClient_DeviceUpdate_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_DeviceUpdate_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.DeviceUpdateRequest, opts ...grpc.CallOption) (*apiproto.DeviceUpdateResponse, error)) *ApiprotoCentrifugoApiClient_DeviceUpdate_Call

type ApiprotoCentrifugoApiClient_Disconnect_Call

type ApiprotoCentrifugoApiClient_Disconnect_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Disconnect_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Disconnect_Call) Return(disconnectResponse *apiproto.DisconnectResponse, err error) *ApiprotoCentrifugoApiClient_Disconnect_Call

func (*ApiprotoCentrifugoApiClient_Disconnect_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Disconnect_Call) Run(run func(ctx context.Context, in *apiproto.DisconnectRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Disconnect_Call

func (*ApiprotoCentrifugoApiClient_Disconnect_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Disconnect_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.DisconnectRequest, opts ...grpc.CallOption) (*apiproto.DisconnectResponse, error)) *ApiprotoCentrifugoApiClient_Disconnect_Call

type ApiprotoCentrifugoApiClient_Expecter

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

func (*ApiprotoCentrifugoApiClient_Expecter) Batch

func (_e *ApiprotoCentrifugoApiClient_Expecter) Batch(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Batch_Call

Batch is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.BatchRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) BlockUser

func (_e *ApiprotoCentrifugoApiClient_Expecter) BlockUser(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_BlockUser_Call

BlockUser is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.BlockUserRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Broadcast

func (_e *ApiprotoCentrifugoApiClient_Expecter) Broadcast(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Broadcast_Call

Broadcast is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.BroadcastRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) CancelPush

func (_e *ApiprotoCentrifugoApiClient_Expecter) CancelPush(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_CancelPush_Call

CancelPush is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.CancelPushRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Channels

func (_e *ApiprotoCentrifugoApiClient_Expecter) Channels(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Channels_Call

Channels is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.ChannelsRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Connections

func (_e *ApiprotoCentrifugoApiClient_Expecter) Connections(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Connections_Call

Connections is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.ConnectionsRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) DeleteUserStatus

func (_e *ApiprotoCentrifugoApiClient_Expecter) DeleteUserStatus(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call

DeleteUserStatus is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.DeleteUserStatusRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) DeviceList

func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceList(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceList_Call

DeviceList is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.DeviceListRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) DeviceRegister

func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceRegister(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceRegister_Call

DeviceRegister is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.DeviceRegisterRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) DeviceRemove

func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceRemove(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceRemove_Call

DeviceRemove is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.DeviceRemoveRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) DeviceTopicList

func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceTopicList(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceTopicList_Call

DeviceTopicList is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.DeviceTopicListRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) DeviceTopicUpdate

func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceTopicUpdate(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call

DeviceTopicUpdate is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.DeviceTopicUpdateRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) DeviceUpdate

func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceUpdate(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceUpdate_Call

DeviceUpdate is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.DeviceUpdateRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Disconnect

func (_e *ApiprotoCentrifugoApiClient_Expecter) Disconnect(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Disconnect_Call

Disconnect is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.DisconnectRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) GetUserStatus

func (_e *ApiprotoCentrifugoApiClient_Expecter) GetUserStatus(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_GetUserStatus_Call

GetUserStatus is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.GetUserStatusRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) History

func (_e *ApiprotoCentrifugoApiClient_Expecter) History(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_History_Call

History is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.HistoryRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) HistoryRemove

func (_e *ApiprotoCentrifugoApiClient_Expecter) HistoryRemove(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_HistoryRemove_Call

HistoryRemove is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.HistoryRemoveRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Info

func (_e *ApiprotoCentrifugoApiClient_Expecter) Info(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Info_Call

Info is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.InfoRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) InvalidateUserTokens

func (_e *ApiprotoCentrifugoApiClient_Expecter) InvalidateUserTokens(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call

InvalidateUserTokens is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.InvalidateUserTokensRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Presence

func (_e *ApiprotoCentrifugoApiClient_Expecter) Presence(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Presence_Call

Presence is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.PresenceRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) PresenceStats

func (_e *ApiprotoCentrifugoApiClient_Expecter) PresenceStats(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_PresenceStats_Call

PresenceStats is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.PresenceStatsRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Publish

func (_e *ApiprotoCentrifugoApiClient_Expecter) Publish(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Publish_Call

Publish is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.PublishRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) RPC

func (_e *ApiprotoCentrifugoApiClient_Expecter) RPC(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_RPC_Call

RPC is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.RPCRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) RateLimit

func (_e *ApiprotoCentrifugoApiClient_Expecter) RateLimit(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_RateLimit_Call

RateLimit is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.RateLimitRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Refresh

func (_e *ApiprotoCentrifugoApiClient_Expecter) Refresh(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Refresh_Call

Refresh is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.RefreshRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) RevokeToken

func (_e *ApiprotoCentrifugoApiClient_Expecter) RevokeToken(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_RevokeToken_Call

RevokeToken is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.RevokeTokenRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) SendPushNotification

func (_e *ApiprotoCentrifugoApiClient_Expecter) SendPushNotification(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_SendPushNotification_Call

SendPushNotification is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.SendPushNotificationRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Subscribe

func (_e *ApiprotoCentrifugoApiClient_Expecter) Subscribe(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Subscribe_Call

Subscribe is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.SubscribeRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) UnblockUser

func (_e *ApiprotoCentrifugoApiClient_Expecter) UnblockUser(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UnblockUser_Call

UnblockUser is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.UnblockUserRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) Unsubscribe

func (_e *ApiprotoCentrifugoApiClient_Expecter) Unsubscribe(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Unsubscribe_Call

Unsubscribe is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.UnsubscribeRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) UpdatePushStatus

func (_e *ApiprotoCentrifugoApiClient_Expecter) UpdatePushStatus(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call

UpdatePushStatus is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.UpdatePushStatusRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) UpdateUserStatus

func (_e *ApiprotoCentrifugoApiClient_Expecter) UpdateUserStatus(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call

UpdateUserStatus is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.UpdateUserStatusRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) UserTopicList

func (_e *ApiprotoCentrifugoApiClient_Expecter) UserTopicList(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UserTopicList_Call

UserTopicList is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.UserTopicListRequest
  • opts ...grpc.CallOption

func (*ApiprotoCentrifugoApiClient_Expecter) UserTopicUpdate

func (_e *ApiprotoCentrifugoApiClient_Expecter) UserTopicUpdate(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call

UserTopicUpdate is a helper method to define mock.On call

  • ctx context.Context
  • in *apiproto.UserTopicUpdateRequest
  • opts ...grpc.CallOption

type ApiprotoCentrifugoApiClient_GetUserStatus_Call

type ApiprotoCentrifugoApiClient_GetUserStatus_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_GetUserStatus_Call) Return

func (_c *ApiprotoCentrifugoApiClient_GetUserStatus_Call) Return(getUserStatusResponse *apiproto.GetUserStatusResponse, err error) *ApiprotoCentrifugoApiClient_GetUserStatus_Call

func (*ApiprotoCentrifugoApiClient_GetUserStatus_Call) Run

func (_c *ApiprotoCentrifugoApiClient_GetUserStatus_Call) Run(run func(ctx context.Context, in *apiproto.GetUserStatusRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_GetUserStatus_Call

func (*ApiprotoCentrifugoApiClient_GetUserStatus_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_GetUserStatus_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.GetUserStatusRequest, opts ...grpc.CallOption) (*apiproto.GetUserStatusResponse, error)) *ApiprotoCentrifugoApiClient_GetUserStatus_Call

type ApiprotoCentrifugoApiClient_HistoryRemove_Call

type ApiprotoCentrifugoApiClient_HistoryRemove_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_HistoryRemove_Call) Return

func (_c *ApiprotoCentrifugoApiClient_HistoryRemove_Call) Return(historyRemoveResponse *apiproto.HistoryRemoveResponse, err error) *ApiprotoCentrifugoApiClient_HistoryRemove_Call

func (*ApiprotoCentrifugoApiClient_HistoryRemove_Call) Run

func (_c *ApiprotoCentrifugoApiClient_HistoryRemove_Call) Run(run func(ctx context.Context, in *apiproto.HistoryRemoveRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_HistoryRemove_Call

func (*ApiprotoCentrifugoApiClient_HistoryRemove_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_HistoryRemove_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.HistoryRemoveRequest, opts ...grpc.CallOption) (*apiproto.HistoryRemoveResponse, error)) *ApiprotoCentrifugoApiClient_HistoryRemove_Call

type ApiprotoCentrifugoApiClient_History_Call

type ApiprotoCentrifugoApiClient_History_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_History_Call) Return

func (_c *ApiprotoCentrifugoApiClient_History_Call) Return(historyResponse *apiproto.HistoryResponse, err error) *ApiprotoCentrifugoApiClient_History_Call

func (*ApiprotoCentrifugoApiClient_History_Call) Run

func (_c *ApiprotoCentrifugoApiClient_History_Call) Run(run func(ctx context.Context, in *apiproto.HistoryRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_History_Call

func (*ApiprotoCentrifugoApiClient_History_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_History_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.HistoryRequest, opts ...grpc.CallOption) (*apiproto.HistoryResponse, error)) *ApiprotoCentrifugoApiClient_History_Call

type ApiprotoCentrifugoApiClient_Info_Call

type ApiprotoCentrifugoApiClient_Info_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Info_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Info_Call) Return(infoResponse *apiproto.InfoResponse, err error) *ApiprotoCentrifugoApiClient_Info_Call

func (*ApiprotoCentrifugoApiClient_Info_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Info_Call) Run(run func(ctx context.Context, in *apiproto.InfoRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Info_Call

func (*ApiprotoCentrifugoApiClient_Info_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Info_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.InfoRequest, opts ...grpc.CallOption) (*apiproto.InfoResponse, error)) *ApiprotoCentrifugoApiClient_Info_Call

type ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call

type ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) Return

func (_c *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) Return(invalidateUserTokensResponse *apiproto.InvalidateUserTokensResponse, err error) *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call

func (*ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) Run

func (*ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.InvalidateUserTokensRequest, opts ...grpc.CallOption) (*apiproto.InvalidateUserTokensResponse, error)) *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call

type ApiprotoCentrifugoApiClient_PresenceStats_Call

type ApiprotoCentrifugoApiClient_PresenceStats_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_PresenceStats_Call) Return

func (_c *ApiprotoCentrifugoApiClient_PresenceStats_Call) Return(presenceStatsResponse *apiproto.PresenceStatsResponse, err error) *ApiprotoCentrifugoApiClient_PresenceStats_Call

func (*ApiprotoCentrifugoApiClient_PresenceStats_Call) Run

func (_c *ApiprotoCentrifugoApiClient_PresenceStats_Call) Run(run func(ctx context.Context, in *apiproto.PresenceStatsRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_PresenceStats_Call

func (*ApiprotoCentrifugoApiClient_PresenceStats_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_PresenceStats_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.PresenceStatsRequest, opts ...grpc.CallOption) (*apiproto.PresenceStatsResponse, error)) *ApiprotoCentrifugoApiClient_PresenceStats_Call

type ApiprotoCentrifugoApiClient_Presence_Call

type ApiprotoCentrifugoApiClient_Presence_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Presence_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Presence_Call) Return(presenceResponse *apiproto.PresenceResponse, err error) *ApiprotoCentrifugoApiClient_Presence_Call

func (*ApiprotoCentrifugoApiClient_Presence_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Presence_Call) Run(run func(ctx context.Context, in *apiproto.PresenceRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Presence_Call

func (*ApiprotoCentrifugoApiClient_Presence_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Presence_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.PresenceRequest, opts ...grpc.CallOption) (*apiproto.PresenceResponse, error)) *ApiprotoCentrifugoApiClient_Presence_Call

type ApiprotoCentrifugoApiClient_Publish_Call

type ApiprotoCentrifugoApiClient_Publish_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Publish_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Publish_Call) Return(publishResponse *apiproto.PublishResponse, err error) *ApiprotoCentrifugoApiClient_Publish_Call

func (*ApiprotoCentrifugoApiClient_Publish_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Publish_Call) Run(run func(ctx context.Context, in *apiproto.PublishRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Publish_Call

func (*ApiprotoCentrifugoApiClient_Publish_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Publish_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.PublishRequest, opts ...grpc.CallOption) (*apiproto.PublishResponse, error)) *ApiprotoCentrifugoApiClient_Publish_Call

type ApiprotoCentrifugoApiClient_RPC_Call

type ApiprotoCentrifugoApiClient_RPC_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_RPC_Call) Return

func (_c *ApiprotoCentrifugoApiClient_RPC_Call) Return(rPCResponse *apiproto.RPCResponse, err error) *ApiprotoCentrifugoApiClient_RPC_Call

func (*ApiprotoCentrifugoApiClient_RPC_Call) Run

func (_c *ApiprotoCentrifugoApiClient_RPC_Call) Run(run func(ctx context.Context, in *apiproto.RPCRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_RPC_Call

func (*ApiprotoCentrifugoApiClient_RPC_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_RPC_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.RPCRequest, opts ...grpc.CallOption) (*apiproto.RPCResponse, error)) *ApiprotoCentrifugoApiClient_RPC_Call

type ApiprotoCentrifugoApiClient_RateLimit_Call

type ApiprotoCentrifugoApiClient_RateLimit_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_RateLimit_Call) Return

func (_c *ApiprotoCentrifugoApiClient_RateLimit_Call) Return(rateLimitResponse *apiproto.RateLimitResponse, err error) *ApiprotoCentrifugoApiClient_RateLimit_Call

func (*ApiprotoCentrifugoApiClient_RateLimit_Call) Run

func (_c *ApiprotoCentrifugoApiClient_RateLimit_Call) Run(run func(ctx context.Context, in *apiproto.RateLimitRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_RateLimit_Call

func (*ApiprotoCentrifugoApiClient_RateLimit_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_RateLimit_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.RateLimitRequest, opts ...grpc.CallOption) (*apiproto.RateLimitResponse, error)) *ApiprotoCentrifugoApiClient_RateLimit_Call

type ApiprotoCentrifugoApiClient_Refresh_Call

type ApiprotoCentrifugoApiClient_Refresh_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Refresh_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Refresh_Call) Return(refreshResponse *apiproto.RefreshResponse, err error) *ApiprotoCentrifugoApiClient_Refresh_Call

func (*ApiprotoCentrifugoApiClient_Refresh_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Refresh_Call) Run(run func(ctx context.Context, in *apiproto.RefreshRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Refresh_Call

func (*ApiprotoCentrifugoApiClient_Refresh_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Refresh_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.RefreshRequest, opts ...grpc.CallOption) (*apiproto.RefreshResponse, error)) *ApiprotoCentrifugoApiClient_Refresh_Call

type ApiprotoCentrifugoApiClient_RevokeToken_Call

type ApiprotoCentrifugoApiClient_RevokeToken_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_RevokeToken_Call) Return

func (_c *ApiprotoCentrifugoApiClient_RevokeToken_Call) Return(revokeTokenResponse *apiproto.RevokeTokenResponse, err error) *ApiprotoCentrifugoApiClient_RevokeToken_Call

func (*ApiprotoCentrifugoApiClient_RevokeToken_Call) Run

func (_c *ApiprotoCentrifugoApiClient_RevokeToken_Call) Run(run func(ctx context.Context, in *apiproto.RevokeTokenRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_RevokeToken_Call

func (*ApiprotoCentrifugoApiClient_RevokeToken_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_RevokeToken_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.RevokeTokenRequest, opts ...grpc.CallOption) (*apiproto.RevokeTokenResponse, error)) *ApiprotoCentrifugoApiClient_RevokeToken_Call

type ApiprotoCentrifugoApiClient_SendPushNotification_Call

type ApiprotoCentrifugoApiClient_SendPushNotification_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_SendPushNotification_Call) Return

func (_c *ApiprotoCentrifugoApiClient_SendPushNotification_Call) Return(sendPushNotificationResponse *apiproto.SendPushNotificationResponse, err error) *ApiprotoCentrifugoApiClient_SendPushNotification_Call

func (*ApiprotoCentrifugoApiClient_SendPushNotification_Call) Run

func (*ApiprotoCentrifugoApiClient_SendPushNotification_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_SendPushNotification_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.SendPushNotificationRequest, opts ...grpc.CallOption) (*apiproto.SendPushNotificationResponse, error)) *ApiprotoCentrifugoApiClient_SendPushNotification_Call

type ApiprotoCentrifugoApiClient_Subscribe_Call

type ApiprotoCentrifugoApiClient_Subscribe_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Subscribe_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Subscribe_Call) Return(subscribeResponse *apiproto.SubscribeResponse, err error) *ApiprotoCentrifugoApiClient_Subscribe_Call

func (*ApiprotoCentrifugoApiClient_Subscribe_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Subscribe_Call) Run(run func(ctx context.Context, in *apiproto.SubscribeRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Subscribe_Call

func (*ApiprotoCentrifugoApiClient_Subscribe_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Subscribe_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.SubscribeRequest, opts ...grpc.CallOption) (*apiproto.SubscribeResponse, error)) *ApiprotoCentrifugoApiClient_Subscribe_Call

type ApiprotoCentrifugoApiClient_UnblockUser_Call

type ApiprotoCentrifugoApiClient_UnblockUser_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_UnblockUser_Call) Return

func (_c *ApiprotoCentrifugoApiClient_UnblockUser_Call) Return(unblockUserResponse *apiproto.UnblockUserResponse, err error) *ApiprotoCentrifugoApiClient_UnblockUser_Call

func (*ApiprotoCentrifugoApiClient_UnblockUser_Call) Run

func (_c *ApiprotoCentrifugoApiClient_UnblockUser_Call) Run(run func(ctx context.Context, in *apiproto.UnblockUserRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_UnblockUser_Call

func (*ApiprotoCentrifugoApiClient_UnblockUser_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_UnblockUser_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.UnblockUserRequest, opts ...grpc.CallOption) (*apiproto.UnblockUserResponse, error)) *ApiprotoCentrifugoApiClient_UnblockUser_Call

type ApiprotoCentrifugoApiClient_Unsubscribe_Call

type ApiprotoCentrifugoApiClient_Unsubscribe_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_Unsubscribe_Call) Return

func (_c *ApiprotoCentrifugoApiClient_Unsubscribe_Call) Return(unsubscribeResponse *apiproto.UnsubscribeResponse, err error) *ApiprotoCentrifugoApiClient_Unsubscribe_Call

func (*ApiprotoCentrifugoApiClient_Unsubscribe_Call) Run

func (_c *ApiprotoCentrifugoApiClient_Unsubscribe_Call) Run(run func(ctx context.Context, in *apiproto.UnsubscribeRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_Unsubscribe_Call

func (*ApiprotoCentrifugoApiClient_Unsubscribe_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_Unsubscribe_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.UnsubscribeRequest, opts ...grpc.CallOption) (*apiproto.UnsubscribeResponse, error)) *ApiprotoCentrifugoApiClient_Unsubscribe_Call

type ApiprotoCentrifugoApiClient_UpdatePushStatus_Call

type ApiprotoCentrifugoApiClient_UpdatePushStatus_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) Return

func (_c *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) Return(updatePushStatusResponse *apiproto.UpdatePushStatusResponse, err error) *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call

func (*ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) Run

func (_c *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) Run(run func(ctx context.Context, in *apiproto.UpdatePushStatusRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call

func (*ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.UpdatePushStatusRequest, opts ...grpc.CallOption) (*apiproto.UpdatePushStatusResponse, error)) *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call

type ApiprotoCentrifugoApiClient_UpdateUserStatus_Call

type ApiprotoCentrifugoApiClient_UpdateUserStatus_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) Return

func (_c *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) Return(updateUserStatusResponse *apiproto.UpdateUserStatusResponse, err error) *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call

func (*ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) Run

func (_c *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) Run(run func(ctx context.Context, in *apiproto.UpdateUserStatusRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call

func (*ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.UpdateUserStatusRequest, opts ...grpc.CallOption) (*apiproto.UpdateUserStatusResponse, error)) *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call

type ApiprotoCentrifugoApiClient_UserTopicList_Call

type ApiprotoCentrifugoApiClient_UserTopicList_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_UserTopicList_Call) Return

func (_c *ApiprotoCentrifugoApiClient_UserTopicList_Call) Return(userTopicListResponse *apiproto.UserTopicListResponse, err error) *ApiprotoCentrifugoApiClient_UserTopicList_Call

func (*ApiprotoCentrifugoApiClient_UserTopicList_Call) Run

func (_c *ApiprotoCentrifugoApiClient_UserTopicList_Call) Run(run func(ctx context.Context, in *apiproto.UserTopicListRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_UserTopicList_Call

func (*ApiprotoCentrifugoApiClient_UserTopicList_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_UserTopicList_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.UserTopicListRequest, opts ...grpc.CallOption) (*apiproto.UserTopicListResponse, error)) *ApiprotoCentrifugoApiClient_UserTopicList_Call

type ApiprotoCentrifugoApiClient_UserTopicUpdate_Call

type ApiprotoCentrifugoApiClient_UserTopicUpdate_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) Return

func (_c *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) Return(userTopicUpdateResponse *apiproto.UserTopicUpdateResponse, err error) *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call

func (*ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) Run

func (_c *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) Run(run func(ctx context.Context, in *apiproto.UserTopicUpdateRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call

func (*ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) RunAndReturn(run func(ctx context.Context, in *apiproto.UserTopicUpdateRequest, opts ...grpc.CallOption) (*apiproto.UserTopicUpdateResponse, error)) *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call

type ApiprotoCentrifugoApiServer

type ApiprotoCentrifugoApiServer struct {
	mock.Mock
}

ApiprotoCentrifugoApiServer is an autogenerated mock type for the CentrifugoApiServer type

func NewApiprotoCentrifugoApiServer

func NewApiprotoCentrifugoApiServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApiprotoCentrifugoApiServer

NewApiprotoCentrifugoApiServer creates a new instance of ApiprotoCentrifugoApiServer. 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 (*ApiprotoCentrifugoApiServer) Batch

func (_mock *ApiprotoCentrifugoApiServer) Batch(context1 context.Context, batchRequest *apiproto.BatchRequest) (*apiproto.BatchResponse, error)

Batch provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) BlockUser

func (_mock *ApiprotoCentrifugoApiServer) BlockUser(context1 context.Context, blockUserRequest *apiproto.BlockUserRequest) (*apiproto.BlockUserResponse, error)

BlockUser provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Broadcast

func (_mock *ApiprotoCentrifugoApiServer) Broadcast(context1 context.Context, broadcastRequest *apiproto.BroadcastRequest) (*apiproto.BroadcastResponse, error)

Broadcast provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) CancelPush

func (_mock *ApiprotoCentrifugoApiServer) CancelPush(context1 context.Context, cancelPushRequest *apiproto.CancelPushRequest) (*apiproto.CancelPushResponse, error)

CancelPush provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Channels

func (_mock *ApiprotoCentrifugoApiServer) Channels(context1 context.Context, channelsRequest *apiproto.ChannelsRequest) (*apiproto.ChannelsResponse, error)

Channels provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Connections

func (_mock *ApiprotoCentrifugoApiServer) Connections(context1 context.Context, connectionsRequest *apiproto.ConnectionsRequest) (*apiproto.ConnectionsResponse, error)

Connections provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) DeleteUserStatus

func (_mock *ApiprotoCentrifugoApiServer) DeleteUserStatus(context1 context.Context, deleteUserStatusRequest *apiproto.DeleteUserStatusRequest) (*apiproto.DeleteUserStatusResponse, error)

DeleteUserStatus provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) DeviceList

func (_mock *ApiprotoCentrifugoApiServer) DeviceList(context1 context.Context, deviceListRequest *apiproto.DeviceListRequest) (*apiproto.DeviceListResponse, error)

DeviceList provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) DeviceRegister

func (_mock *ApiprotoCentrifugoApiServer) DeviceRegister(context1 context.Context, deviceRegisterRequest *apiproto.DeviceRegisterRequest) (*apiproto.DeviceRegisterResponse, error)

DeviceRegister provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) DeviceRemove

func (_mock *ApiprotoCentrifugoApiServer) DeviceRemove(context1 context.Context, deviceRemoveRequest *apiproto.DeviceRemoveRequest) (*apiproto.DeviceRemoveResponse, error)

DeviceRemove provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) DeviceTopicList

func (_mock *ApiprotoCentrifugoApiServer) DeviceTopicList(context1 context.Context, deviceTopicListRequest *apiproto.DeviceTopicListRequest) (*apiproto.DeviceTopicListResponse, error)

DeviceTopicList provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) DeviceTopicUpdate

func (_mock *ApiprotoCentrifugoApiServer) DeviceTopicUpdate(context1 context.Context, deviceTopicUpdateRequest *apiproto.DeviceTopicUpdateRequest) (*apiproto.DeviceTopicUpdateResponse, error)

DeviceTopicUpdate provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) DeviceUpdate

func (_mock *ApiprotoCentrifugoApiServer) DeviceUpdate(context1 context.Context, deviceUpdateRequest *apiproto.DeviceUpdateRequest) (*apiproto.DeviceUpdateResponse, error)

DeviceUpdate provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Disconnect

func (_mock *ApiprotoCentrifugoApiServer) Disconnect(context1 context.Context, disconnectRequest *apiproto.DisconnectRequest) (*apiproto.DisconnectResponse, error)

Disconnect provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) EXPECT

func (*ApiprotoCentrifugoApiServer) GetUserStatus

func (_mock *ApiprotoCentrifugoApiServer) GetUserStatus(context1 context.Context, getUserStatusRequest *apiproto.GetUserStatusRequest) (*apiproto.GetUserStatusResponse, error)

GetUserStatus provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) History

func (_mock *ApiprotoCentrifugoApiServer) History(context1 context.Context, historyRequest *apiproto.HistoryRequest) (*apiproto.HistoryResponse, error)

History provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) HistoryRemove

func (_mock *ApiprotoCentrifugoApiServer) HistoryRemove(context1 context.Context, historyRemoveRequest *apiproto.HistoryRemoveRequest) (*apiproto.HistoryRemoveResponse, error)

HistoryRemove provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Info

func (_mock *ApiprotoCentrifugoApiServer) Info(context1 context.Context, infoRequest *apiproto.InfoRequest) (*apiproto.InfoResponse, error)

Info provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) InvalidateUserTokens

func (_mock *ApiprotoCentrifugoApiServer) InvalidateUserTokens(context1 context.Context, invalidateUserTokensRequest *apiproto.InvalidateUserTokensRequest) (*apiproto.InvalidateUserTokensResponse, error)

InvalidateUserTokens provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Presence

func (_mock *ApiprotoCentrifugoApiServer) Presence(context1 context.Context, presenceRequest *apiproto.PresenceRequest) (*apiproto.PresenceResponse, error)

Presence provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) PresenceStats

func (_mock *ApiprotoCentrifugoApiServer) PresenceStats(context1 context.Context, presenceStatsRequest *apiproto.PresenceStatsRequest) (*apiproto.PresenceStatsResponse, error)

PresenceStats provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Publish

func (_mock *ApiprotoCentrifugoApiServer) Publish(context1 context.Context, publishRequest *apiproto.PublishRequest) (*apiproto.PublishResponse, error)

Publish provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) RPC

func (_mock *ApiprotoCentrifugoApiServer) RPC(context1 context.Context, rPCRequest *apiproto.RPCRequest) (*apiproto.RPCResponse, error)

RPC provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) RateLimit

func (_mock *ApiprotoCentrifugoApiServer) RateLimit(context1 context.Context, rateLimitRequest *apiproto.RateLimitRequest) (*apiproto.RateLimitResponse, error)

RateLimit provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Refresh

func (_mock *ApiprotoCentrifugoApiServer) Refresh(context1 context.Context, refreshRequest *apiproto.RefreshRequest) (*apiproto.RefreshResponse, error)

Refresh provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) RevokeToken

func (_mock *ApiprotoCentrifugoApiServer) RevokeToken(context1 context.Context, revokeTokenRequest *apiproto.RevokeTokenRequest) (*apiproto.RevokeTokenResponse, error)

RevokeToken provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) SendPushNotification

func (_mock *ApiprotoCentrifugoApiServer) SendPushNotification(context1 context.Context, sendPushNotificationRequest *apiproto.SendPushNotificationRequest) (*apiproto.SendPushNotificationResponse, error)

SendPushNotification provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Subscribe

func (_mock *ApiprotoCentrifugoApiServer) Subscribe(context1 context.Context, subscribeRequest *apiproto.SubscribeRequest) (*apiproto.SubscribeResponse, error)

Subscribe provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) UnblockUser

func (_mock *ApiprotoCentrifugoApiServer) UnblockUser(context1 context.Context, unblockUserRequest *apiproto.UnblockUserRequest) (*apiproto.UnblockUserResponse, error)

UnblockUser provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) Unsubscribe

func (_mock *ApiprotoCentrifugoApiServer) Unsubscribe(context1 context.Context, unsubscribeRequest *apiproto.UnsubscribeRequest) (*apiproto.UnsubscribeResponse, error)

Unsubscribe provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) UpdatePushStatus

func (_mock *ApiprotoCentrifugoApiServer) UpdatePushStatus(context1 context.Context, updatePushStatusRequest *apiproto.UpdatePushStatusRequest) (*apiproto.UpdatePushStatusResponse, error)

UpdatePushStatus provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) UpdateUserStatus

func (_mock *ApiprotoCentrifugoApiServer) UpdateUserStatus(context1 context.Context, updateUserStatusRequest *apiproto.UpdateUserStatusRequest) (*apiproto.UpdateUserStatusResponse, error)

UpdateUserStatus provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) UserTopicList

func (_mock *ApiprotoCentrifugoApiServer) UserTopicList(context1 context.Context, userTopicListRequest *apiproto.UserTopicListRequest) (*apiproto.UserTopicListResponse, error)

UserTopicList provides a mock function for the type ApiprotoCentrifugoApiServer

func (*ApiprotoCentrifugoApiServer) UserTopicUpdate

func (_mock *ApiprotoCentrifugoApiServer) UserTopicUpdate(context1 context.Context, userTopicUpdateRequest *apiproto.UserTopicUpdateRequest) (*apiproto.UserTopicUpdateResponse, error)

UserTopicUpdate provides a mock function for the type ApiprotoCentrifugoApiServer

type ApiprotoCentrifugoApiServer_Batch_Call

type ApiprotoCentrifugoApiServer_Batch_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Batch_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Batch_Call) Return(batchResponse *apiproto.BatchResponse, err error) *ApiprotoCentrifugoApiServer_Batch_Call

func (*ApiprotoCentrifugoApiServer_Batch_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Batch_Call) Run(run func(context1 context.Context, batchRequest *apiproto.BatchRequest)) *ApiprotoCentrifugoApiServer_Batch_Call

func (*ApiprotoCentrifugoApiServer_Batch_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Batch_Call) RunAndReturn(run func(context1 context.Context, batchRequest *apiproto.BatchRequest) (*apiproto.BatchResponse, error)) *ApiprotoCentrifugoApiServer_Batch_Call

type ApiprotoCentrifugoApiServer_BlockUser_Call

type ApiprotoCentrifugoApiServer_BlockUser_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_BlockUser_Call) Return

func (_c *ApiprotoCentrifugoApiServer_BlockUser_Call) Return(blockUserResponse *apiproto.BlockUserResponse, err error) *ApiprotoCentrifugoApiServer_BlockUser_Call

func (*ApiprotoCentrifugoApiServer_BlockUser_Call) Run

func (_c *ApiprotoCentrifugoApiServer_BlockUser_Call) Run(run func(context1 context.Context, blockUserRequest *apiproto.BlockUserRequest)) *ApiprotoCentrifugoApiServer_BlockUser_Call

func (*ApiprotoCentrifugoApiServer_BlockUser_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_BlockUser_Call) RunAndReturn(run func(context1 context.Context, blockUserRequest *apiproto.BlockUserRequest) (*apiproto.BlockUserResponse, error)) *ApiprotoCentrifugoApiServer_BlockUser_Call

type ApiprotoCentrifugoApiServer_Broadcast_Call

type ApiprotoCentrifugoApiServer_Broadcast_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Broadcast_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Broadcast_Call) Return(broadcastResponse *apiproto.BroadcastResponse, err error) *ApiprotoCentrifugoApiServer_Broadcast_Call

func (*ApiprotoCentrifugoApiServer_Broadcast_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Broadcast_Call) Run(run func(context1 context.Context, broadcastRequest *apiproto.BroadcastRequest)) *ApiprotoCentrifugoApiServer_Broadcast_Call

func (*ApiprotoCentrifugoApiServer_Broadcast_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Broadcast_Call) RunAndReturn(run func(context1 context.Context, broadcastRequest *apiproto.BroadcastRequest) (*apiproto.BroadcastResponse, error)) *ApiprotoCentrifugoApiServer_Broadcast_Call

type ApiprotoCentrifugoApiServer_CancelPush_Call

type ApiprotoCentrifugoApiServer_CancelPush_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_CancelPush_Call) Return

func (_c *ApiprotoCentrifugoApiServer_CancelPush_Call) Return(cancelPushResponse *apiproto.CancelPushResponse, err error) *ApiprotoCentrifugoApiServer_CancelPush_Call

func (*ApiprotoCentrifugoApiServer_CancelPush_Call) Run

func (_c *ApiprotoCentrifugoApiServer_CancelPush_Call) Run(run func(context1 context.Context, cancelPushRequest *apiproto.CancelPushRequest)) *ApiprotoCentrifugoApiServer_CancelPush_Call

func (*ApiprotoCentrifugoApiServer_CancelPush_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_CancelPush_Call) RunAndReturn(run func(context1 context.Context, cancelPushRequest *apiproto.CancelPushRequest) (*apiproto.CancelPushResponse, error)) *ApiprotoCentrifugoApiServer_CancelPush_Call

type ApiprotoCentrifugoApiServer_Channels_Call

type ApiprotoCentrifugoApiServer_Channels_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Channels_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Channels_Call) Return(channelsResponse *apiproto.ChannelsResponse, err error) *ApiprotoCentrifugoApiServer_Channels_Call

func (*ApiprotoCentrifugoApiServer_Channels_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Channels_Call) Run(run func(context1 context.Context, channelsRequest *apiproto.ChannelsRequest)) *ApiprotoCentrifugoApiServer_Channels_Call

func (*ApiprotoCentrifugoApiServer_Channels_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Channels_Call) RunAndReturn(run func(context1 context.Context, channelsRequest *apiproto.ChannelsRequest) (*apiproto.ChannelsResponse, error)) *ApiprotoCentrifugoApiServer_Channels_Call

type ApiprotoCentrifugoApiServer_Connections_Call

type ApiprotoCentrifugoApiServer_Connections_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Connections_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Connections_Call) Return(connectionsResponse *apiproto.ConnectionsResponse, err error) *ApiprotoCentrifugoApiServer_Connections_Call

func (*ApiprotoCentrifugoApiServer_Connections_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Connections_Call) Run(run func(context1 context.Context, connectionsRequest *apiproto.ConnectionsRequest)) *ApiprotoCentrifugoApiServer_Connections_Call

func (*ApiprotoCentrifugoApiServer_Connections_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Connections_Call) RunAndReturn(run func(context1 context.Context, connectionsRequest *apiproto.ConnectionsRequest) (*apiproto.ConnectionsResponse, error)) *ApiprotoCentrifugoApiServer_Connections_Call

type ApiprotoCentrifugoApiServer_DeleteUserStatus_Call

type ApiprotoCentrifugoApiServer_DeleteUserStatus_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) Return

func (_c *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) Return(deleteUserStatusResponse *apiproto.DeleteUserStatusResponse, err error) *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call

func (*ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) Run

func (_c *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) Run(run func(context1 context.Context, deleteUserStatusRequest *apiproto.DeleteUserStatusRequest)) *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call

func (*ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) RunAndReturn(run func(context1 context.Context, deleteUserStatusRequest *apiproto.DeleteUserStatusRequest) (*apiproto.DeleteUserStatusResponse, error)) *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call

type ApiprotoCentrifugoApiServer_DeviceList_Call

type ApiprotoCentrifugoApiServer_DeviceList_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_DeviceList_Call) Return

func (_c *ApiprotoCentrifugoApiServer_DeviceList_Call) Return(deviceListResponse *apiproto.DeviceListResponse, err error) *ApiprotoCentrifugoApiServer_DeviceList_Call

func (*ApiprotoCentrifugoApiServer_DeviceList_Call) Run

func (_c *ApiprotoCentrifugoApiServer_DeviceList_Call) Run(run func(context1 context.Context, deviceListRequest *apiproto.DeviceListRequest)) *ApiprotoCentrifugoApiServer_DeviceList_Call

func (*ApiprotoCentrifugoApiServer_DeviceList_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_DeviceList_Call) RunAndReturn(run func(context1 context.Context, deviceListRequest *apiproto.DeviceListRequest) (*apiproto.DeviceListResponse, error)) *ApiprotoCentrifugoApiServer_DeviceList_Call

type ApiprotoCentrifugoApiServer_DeviceRegister_Call

type ApiprotoCentrifugoApiServer_DeviceRegister_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_DeviceRegister_Call) Return

func (_c *ApiprotoCentrifugoApiServer_DeviceRegister_Call) Return(deviceRegisterResponse *apiproto.DeviceRegisterResponse, err error) *ApiprotoCentrifugoApiServer_DeviceRegister_Call

func (*ApiprotoCentrifugoApiServer_DeviceRegister_Call) Run

func (_c *ApiprotoCentrifugoApiServer_DeviceRegister_Call) Run(run func(context1 context.Context, deviceRegisterRequest *apiproto.DeviceRegisterRequest)) *ApiprotoCentrifugoApiServer_DeviceRegister_Call

func (*ApiprotoCentrifugoApiServer_DeviceRegister_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_DeviceRegister_Call) RunAndReturn(run func(context1 context.Context, deviceRegisterRequest *apiproto.DeviceRegisterRequest) (*apiproto.DeviceRegisterResponse, error)) *ApiprotoCentrifugoApiServer_DeviceRegister_Call

type ApiprotoCentrifugoApiServer_DeviceRemove_Call

type ApiprotoCentrifugoApiServer_DeviceRemove_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_DeviceRemove_Call) Return

func (_c *ApiprotoCentrifugoApiServer_DeviceRemove_Call) Return(deviceRemoveResponse *apiproto.DeviceRemoveResponse, err error) *ApiprotoCentrifugoApiServer_DeviceRemove_Call

func (*ApiprotoCentrifugoApiServer_DeviceRemove_Call) Run

func (_c *ApiprotoCentrifugoApiServer_DeviceRemove_Call) Run(run func(context1 context.Context, deviceRemoveRequest *apiproto.DeviceRemoveRequest)) *ApiprotoCentrifugoApiServer_DeviceRemove_Call

func (*ApiprotoCentrifugoApiServer_DeviceRemove_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_DeviceRemove_Call) RunAndReturn(run func(context1 context.Context, deviceRemoveRequest *apiproto.DeviceRemoveRequest) (*apiproto.DeviceRemoveResponse, error)) *ApiprotoCentrifugoApiServer_DeviceRemove_Call

type ApiprotoCentrifugoApiServer_DeviceTopicList_Call

type ApiprotoCentrifugoApiServer_DeviceTopicList_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_DeviceTopicList_Call) Return

func (_c *ApiprotoCentrifugoApiServer_DeviceTopicList_Call) Return(deviceTopicListResponse *apiproto.DeviceTopicListResponse, err error) *ApiprotoCentrifugoApiServer_DeviceTopicList_Call

func (*ApiprotoCentrifugoApiServer_DeviceTopicList_Call) Run

func (_c *ApiprotoCentrifugoApiServer_DeviceTopicList_Call) Run(run func(context1 context.Context, deviceTopicListRequest *apiproto.DeviceTopicListRequest)) *ApiprotoCentrifugoApiServer_DeviceTopicList_Call

func (*ApiprotoCentrifugoApiServer_DeviceTopicList_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_DeviceTopicList_Call) RunAndReturn(run func(context1 context.Context, deviceTopicListRequest *apiproto.DeviceTopicListRequest) (*apiproto.DeviceTopicListResponse, error)) *ApiprotoCentrifugoApiServer_DeviceTopicList_Call

type ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call

type ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) Return

func (_c *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) Return(deviceTopicUpdateResponse *apiproto.DeviceTopicUpdateResponse, err error) *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call

func (*ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) Run

func (_c *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) Run(run func(context1 context.Context, deviceTopicUpdateRequest *apiproto.DeviceTopicUpdateRequest)) *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call

func (*ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) RunAndReturn(run func(context1 context.Context, deviceTopicUpdateRequest *apiproto.DeviceTopicUpdateRequest) (*apiproto.DeviceTopicUpdateResponse, error)) *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call

type ApiprotoCentrifugoApiServer_DeviceUpdate_Call

type ApiprotoCentrifugoApiServer_DeviceUpdate_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_DeviceUpdate_Call) Return

func (_c *ApiprotoCentrifugoApiServer_DeviceUpdate_Call) Return(deviceUpdateResponse *apiproto.DeviceUpdateResponse, err error) *ApiprotoCentrifugoApiServer_DeviceUpdate_Call

func (*ApiprotoCentrifugoApiServer_DeviceUpdate_Call) Run

func (_c *ApiprotoCentrifugoApiServer_DeviceUpdate_Call) Run(run func(context1 context.Context, deviceUpdateRequest *apiproto.DeviceUpdateRequest)) *ApiprotoCentrifugoApiServer_DeviceUpdate_Call

func (*ApiprotoCentrifugoApiServer_DeviceUpdate_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_DeviceUpdate_Call) RunAndReturn(run func(context1 context.Context, deviceUpdateRequest *apiproto.DeviceUpdateRequest) (*apiproto.DeviceUpdateResponse, error)) *ApiprotoCentrifugoApiServer_DeviceUpdate_Call

type ApiprotoCentrifugoApiServer_Disconnect_Call

type ApiprotoCentrifugoApiServer_Disconnect_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Disconnect_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Disconnect_Call) Return(disconnectResponse *apiproto.DisconnectResponse, err error) *ApiprotoCentrifugoApiServer_Disconnect_Call

func (*ApiprotoCentrifugoApiServer_Disconnect_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Disconnect_Call) Run(run func(context1 context.Context, disconnectRequest *apiproto.DisconnectRequest)) *ApiprotoCentrifugoApiServer_Disconnect_Call

func (*ApiprotoCentrifugoApiServer_Disconnect_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Disconnect_Call) RunAndReturn(run func(context1 context.Context, disconnectRequest *apiproto.DisconnectRequest) (*apiproto.DisconnectResponse, error)) *ApiprotoCentrifugoApiServer_Disconnect_Call

type ApiprotoCentrifugoApiServer_Expecter

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

func (*ApiprotoCentrifugoApiServer_Expecter) Batch

func (_e *ApiprotoCentrifugoApiServer_Expecter) Batch(context1 interface{}, batchRequest interface{}) *ApiprotoCentrifugoApiServer_Batch_Call

Batch is a helper method to define mock.On call

  • context1 context.Context
  • batchRequest *apiproto.BatchRequest

func (*ApiprotoCentrifugoApiServer_Expecter) BlockUser

func (_e *ApiprotoCentrifugoApiServer_Expecter) BlockUser(context1 interface{}, blockUserRequest interface{}) *ApiprotoCentrifugoApiServer_BlockUser_Call

BlockUser is a helper method to define mock.On call

  • context1 context.Context
  • blockUserRequest *apiproto.BlockUserRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Broadcast

func (_e *ApiprotoCentrifugoApiServer_Expecter) Broadcast(context1 interface{}, broadcastRequest interface{}) *ApiprotoCentrifugoApiServer_Broadcast_Call

Broadcast is a helper method to define mock.On call

  • context1 context.Context
  • broadcastRequest *apiproto.BroadcastRequest

func (*ApiprotoCentrifugoApiServer_Expecter) CancelPush

func (_e *ApiprotoCentrifugoApiServer_Expecter) CancelPush(context1 interface{}, cancelPushRequest interface{}) *ApiprotoCentrifugoApiServer_CancelPush_Call

CancelPush is a helper method to define mock.On call

  • context1 context.Context
  • cancelPushRequest *apiproto.CancelPushRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Channels

func (_e *ApiprotoCentrifugoApiServer_Expecter) Channels(context1 interface{}, channelsRequest interface{}) *ApiprotoCentrifugoApiServer_Channels_Call

Channels is a helper method to define mock.On call

  • context1 context.Context
  • channelsRequest *apiproto.ChannelsRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Connections

func (_e *ApiprotoCentrifugoApiServer_Expecter) Connections(context1 interface{}, connectionsRequest interface{}) *ApiprotoCentrifugoApiServer_Connections_Call

Connections is a helper method to define mock.On call

  • context1 context.Context
  • connectionsRequest *apiproto.ConnectionsRequest

func (*ApiprotoCentrifugoApiServer_Expecter) DeleteUserStatus

func (_e *ApiprotoCentrifugoApiServer_Expecter) DeleteUserStatus(context1 interface{}, deleteUserStatusRequest interface{}) *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call

DeleteUserStatus is a helper method to define mock.On call

  • context1 context.Context
  • deleteUserStatusRequest *apiproto.DeleteUserStatusRequest

func (*ApiprotoCentrifugoApiServer_Expecter) DeviceList

func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceList(context1 interface{}, deviceListRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceList_Call

DeviceList is a helper method to define mock.On call

  • context1 context.Context
  • deviceListRequest *apiproto.DeviceListRequest

func (*ApiprotoCentrifugoApiServer_Expecter) DeviceRegister

func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceRegister(context1 interface{}, deviceRegisterRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceRegister_Call

DeviceRegister is a helper method to define mock.On call

  • context1 context.Context
  • deviceRegisterRequest *apiproto.DeviceRegisterRequest

func (*ApiprotoCentrifugoApiServer_Expecter) DeviceRemove

func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceRemove(context1 interface{}, deviceRemoveRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceRemove_Call

DeviceRemove is a helper method to define mock.On call

  • context1 context.Context
  • deviceRemoveRequest *apiproto.DeviceRemoveRequest

func (*ApiprotoCentrifugoApiServer_Expecter) DeviceTopicList

func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceTopicList(context1 interface{}, deviceTopicListRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceTopicList_Call

DeviceTopicList is a helper method to define mock.On call

  • context1 context.Context
  • deviceTopicListRequest *apiproto.DeviceTopicListRequest

func (*ApiprotoCentrifugoApiServer_Expecter) DeviceTopicUpdate

func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceTopicUpdate(context1 interface{}, deviceTopicUpdateRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call

DeviceTopicUpdate is a helper method to define mock.On call

  • context1 context.Context
  • deviceTopicUpdateRequest *apiproto.DeviceTopicUpdateRequest

func (*ApiprotoCentrifugoApiServer_Expecter) DeviceUpdate

func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceUpdate(context1 interface{}, deviceUpdateRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceUpdate_Call

DeviceUpdate is a helper method to define mock.On call

  • context1 context.Context
  • deviceUpdateRequest *apiproto.DeviceUpdateRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Disconnect

func (_e *ApiprotoCentrifugoApiServer_Expecter) Disconnect(context1 interface{}, disconnectRequest interface{}) *ApiprotoCentrifugoApiServer_Disconnect_Call

Disconnect is a helper method to define mock.On call

  • context1 context.Context
  • disconnectRequest *apiproto.DisconnectRequest

func (*ApiprotoCentrifugoApiServer_Expecter) GetUserStatus

func (_e *ApiprotoCentrifugoApiServer_Expecter) GetUserStatus(context1 interface{}, getUserStatusRequest interface{}) *ApiprotoCentrifugoApiServer_GetUserStatus_Call

GetUserStatus is a helper method to define mock.On call

  • context1 context.Context
  • getUserStatusRequest *apiproto.GetUserStatusRequest

func (*ApiprotoCentrifugoApiServer_Expecter) History

func (_e *ApiprotoCentrifugoApiServer_Expecter) History(context1 interface{}, historyRequest interface{}) *ApiprotoCentrifugoApiServer_History_Call

History is a helper method to define mock.On call

  • context1 context.Context
  • historyRequest *apiproto.HistoryRequest

func (*ApiprotoCentrifugoApiServer_Expecter) HistoryRemove

func (_e *ApiprotoCentrifugoApiServer_Expecter) HistoryRemove(context1 interface{}, historyRemoveRequest interface{}) *ApiprotoCentrifugoApiServer_HistoryRemove_Call

HistoryRemove is a helper method to define mock.On call

  • context1 context.Context
  • historyRemoveRequest *apiproto.HistoryRemoveRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Info

func (_e *ApiprotoCentrifugoApiServer_Expecter) Info(context1 interface{}, infoRequest interface{}) *ApiprotoCentrifugoApiServer_Info_Call

Info is a helper method to define mock.On call

  • context1 context.Context
  • infoRequest *apiproto.InfoRequest

func (*ApiprotoCentrifugoApiServer_Expecter) InvalidateUserTokens

func (_e *ApiprotoCentrifugoApiServer_Expecter) InvalidateUserTokens(context1 interface{}, invalidateUserTokensRequest interface{}) *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call

InvalidateUserTokens is a helper method to define mock.On call

  • context1 context.Context
  • invalidateUserTokensRequest *apiproto.InvalidateUserTokensRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Presence

func (_e *ApiprotoCentrifugoApiServer_Expecter) Presence(context1 interface{}, presenceRequest interface{}) *ApiprotoCentrifugoApiServer_Presence_Call

Presence is a helper method to define mock.On call

  • context1 context.Context
  • presenceRequest *apiproto.PresenceRequest

func (*ApiprotoCentrifugoApiServer_Expecter) PresenceStats

func (_e *ApiprotoCentrifugoApiServer_Expecter) PresenceStats(context1 interface{}, presenceStatsRequest interface{}) *ApiprotoCentrifugoApiServer_PresenceStats_Call

PresenceStats is a helper method to define mock.On call

  • context1 context.Context
  • presenceStatsRequest *apiproto.PresenceStatsRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Publish

func (_e *ApiprotoCentrifugoApiServer_Expecter) Publish(context1 interface{}, publishRequest interface{}) *ApiprotoCentrifugoApiServer_Publish_Call

Publish is a helper method to define mock.On call

  • context1 context.Context
  • publishRequest *apiproto.PublishRequest

func (*ApiprotoCentrifugoApiServer_Expecter) RPC

func (_e *ApiprotoCentrifugoApiServer_Expecter) RPC(context1 interface{}, rPCRequest interface{}) *ApiprotoCentrifugoApiServer_RPC_Call

RPC is a helper method to define mock.On call

  • context1 context.Context
  • rPCRequest *apiproto.RPCRequest

func (*ApiprotoCentrifugoApiServer_Expecter) RateLimit

func (_e *ApiprotoCentrifugoApiServer_Expecter) RateLimit(context1 interface{}, rateLimitRequest interface{}) *ApiprotoCentrifugoApiServer_RateLimit_Call

RateLimit is a helper method to define mock.On call

  • context1 context.Context
  • rateLimitRequest *apiproto.RateLimitRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Refresh

func (_e *ApiprotoCentrifugoApiServer_Expecter) Refresh(context1 interface{}, refreshRequest interface{}) *ApiprotoCentrifugoApiServer_Refresh_Call

Refresh is a helper method to define mock.On call

  • context1 context.Context
  • refreshRequest *apiproto.RefreshRequest

func (*ApiprotoCentrifugoApiServer_Expecter) RevokeToken

func (_e *ApiprotoCentrifugoApiServer_Expecter) RevokeToken(context1 interface{}, revokeTokenRequest interface{}) *ApiprotoCentrifugoApiServer_RevokeToken_Call

RevokeToken is a helper method to define mock.On call

  • context1 context.Context
  • revokeTokenRequest *apiproto.RevokeTokenRequest

func (*ApiprotoCentrifugoApiServer_Expecter) SendPushNotification

func (_e *ApiprotoCentrifugoApiServer_Expecter) SendPushNotification(context1 interface{}, sendPushNotificationRequest interface{}) *ApiprotoCentrifugoApiServer_SendPushNotification_Call

SendPushNotification is a helper method to define mock.On call

  • context1 context.Context
  • sendPushNotificationRequest *apiproto.SendPushNotificationRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Subscribe

func (_e *ApiprotoCentrifugoApiServer_Expecter) Subscribe(context1 interface{}, subscribeRequest interface{}) *ApiprotoCentrifugoApiServer_Subscribe_Call

Subscribe is a helper method to define mock.On call

  • context1 context.Context
  • subscribeRequest *apiproto.SubscribeRequest

func (*ApiprotoCentrifugoApiServer_Expecter) UnblockUser

func (_e *ApiprotoCentrifugoApiServer_Expecter) UnblockUser(context1 interface{}, unblockUserRequest interface{}) *ApiprotoCentrifugoApiServer_UnblockUser_Call

UnblockUser is a helper method to define mock.On call

  • context1 context.Context
  • unblockUserRequest *apiproto.UnblockUserRequest

func (*ApiprotoCentrifugoApiServer_Expecter) Unsubscribe

func (_e *ApiprotoCentrifugoApiServer_Expecter) Unsubscribe(context1 interface{}, unsubscribeRequest interface{}) *ApiprotoCentrifugoApiServer_Unsubscribe_Call

Unsubscribe is a helper method to define mock.On call

  • context1 context.Context
  • unsubscribeRequest *apiproto.UnsubscribeRequest

func (*ApiprotoCentrifugoApiServer_Expecter) UpdatePushStatus

func (_e *ApiprotoCentrifugoApiServer_Expecter) UpdatePushStatus(context1 interface{}, updatePushStatusRequest interface{}) *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call

UpdatePushStatus is a helper method to define mock.On call

  • context1 context.Context
  • updatePushStatusRequest *apiproto.UpdatePushStatusRequest

func (*ApiprotoCentrifugoApiServer_Expecter) UpdateUserStatus

func (_e *ApiprotoCentrifugoApiServer_Expecter) UpdateUserStatus(context1 interface{}, updateUserStatusRequest interface{}) *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call

UpdateUserStatus is a helper method to define mock.On call

  • context1 context.Context
  • updateUserStatusRequest *apiproto.UpdateUserStatusRequest

func (*ApiprotoCentrifugoApiServer_Expecter) UserTopicList

func (_e *ApiprotoCentrifugoApiServer_Expecter) UserTopicList(context1 interface{}, userTopicListRequest interface{}) *ApiprotoCentrifugoApiServer_UserTopicList_Call

UserTopicList is a helper method to define mock.On call

  • context1 context.Context
  • userTopicListRequest *apiproto.UserTopicListRequest

func (*ApiprotoCentrifugoApiServer_Expecter) UserTopicUpdate

func (_e *ApiprotoCentrifugoApiServer_Expecter) UserTopicUpdate(context1 interface{}, userTopicUpdateRequest interface{}) *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call

UserTopicUpdate is a helper method to define mock.On call

  • context1 context.Context
  • userTopicUpdateRequest *apiproto.UserTopicUpdateRequest

type ApiprotoCentrifugoApiServer_GetUserStatus_Call

type ApiprotoCentrifugoApiServer_GetUserStatus_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_GetUserStatus_Call) Return

func (_c *ApiprotoCentrifugoApiServer_GetUserStatus_Call) Return(getUserStatusResponse *apiproto.GetUserStatusResponse, err error) *ApiprotoCentrifugoApiServer_GetUserStatus_Call

func (*ApiprotoCentrifugoApiServer_GetUserStatus_Call) Run

func (_c *ApiprotoCentrifugoApiServer_GetUserStatus_Call) Run(run func(context1 context.Context, getUserStatusRequest *apiproto.GetUserStatusRequest)) *ApiprotoCentrifugoApiServer_GetUserStatus_Call

func (*ApiprotoCentrifugoApiServer_GetUserStatus_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_GetUserStatus_Call) RunAndReturn(run func(context1 context.Context, getUserStatusRequest *apiproto.GetUserStatusRequest) (*apiproto.GetUserStatusResponse, error)) *ApiprotoCentrifugoApiServer_GetUserStatus_Call

type ApiprotoCentrifugoApiServer_HistoryRemove_Call

type ApiprotoCentrifugoApiServer_HistoryRemove_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_HistoryRemove_Call) Return

func (_c *ApiprotoCentrifugoApiServer_HistoryRemove_Call) Return(historyRemoveResponse *apiproto.HistoryRemoveResponse, err error) *ApiprotoCentrifugoApiServer_HistoryRemove_Call

func (*ApiprotoCentrifugoApiServer_HistoryRemove_Call) Run

func (_c *ApiprotoCentrifugoApiServer_HistoryRemove_Call) Run(run func(context1 context.Context, historyRemoveRequest *apiproto.HistoryRemoveRequest)) *ApiprotoCentrifugoApiServer_HistoryRemove_Call

func (*ApiprotoCentrifugoApiServer_HistoryRemove_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_HistoryRemove_Call) RunAndReturn(run func(context1 context.Context, historyRemoveRequest *apiproto.HistoryRemoveRequest) (*apiproto.HistoryRemoveResponse, error)) *ApiprotoCentrifugoApiServer_HistoryRemove_Call

type ApiprotoCentrifugoApiServer_History_Call

type ApiprotoCentrifugoApiServer_History_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_History_Call) Return

func (_c *ApiprotoCentrifugoApiServer_History_Call) Return(historyResponse *apiproto.HistoryResponse, err error) *ApiprotoCentrifugoApiServer_History_Call

func (*ApiprotoCentrifugoApiServer_History_Call) Run

func (_c *ApiprotoCentrifugoApiServer_History_Call) Run(run func(context1 context.Context, historyRequest *apiproto.HistoryRequest)) *ApiprotoCentrifugoApiServer_History_Call

func (*ApiprotoCentrifugoApiServer_History_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_History_Call) RunAndReturn(run func(context1 context.Context, historyRequest *apiproto.HistoryRequest) (*apiproto.HistoryResponse, error)) *ApiprotoCentrifugoApiServer_History_Call

type ApiprotoCentrifugoApiServer_Info_Call

type ApiprotoCentrifugoApiServer_Info_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Info_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Info_Call) Return(infoResponse *apiproto.InfoResponse, err error) *ApiprotoCentrifugoApiServer_Info_Call

func (*ApiprotoCentrifugoApiServer_Info_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Info_Call) Run(run func(context1 context.Context, infoRequest *apiproto.InfoRequest)) *ApiprotoCentrifugoApiServer_Info_Call

func (*ApiprotoCentrifugoApiServer_Info_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Info_Call) RunAndReturn(run func(context1 context.Context, infoRequest *apiproto.InfoRequest) (*apiproto.InfoResponse, error)) *ApiprotoCentrifugoApiServer_Info_Call

type ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call

type ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) Return

func (_c *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) Return(invalidateUserTokensResponse *apiproto.InvalidateUserTokensResponse, err error) *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call

func (*ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) Run

func (_c *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) Run(run func(context1 context.Context, invalidateUserTokensRequest *apiproto.InvalidateUserTokensRequest)) *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call

func (*ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) RunAndReturn(run func(context1 context.Context, invalidateUserTokensRequest *apiproto.InvalidateUserTokensRequest) (*apiproto.InvalidateUserTokensResponse, error)) *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call

type ApiprotoCentrifugoApiServer_PresenceStats_Call

type ApiprotoCentrifugoApiServer_PresenceStats_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_PresenceStats_Call) Return

func (_c *ApiprotoCentrifugoApiServer_PresenceStats_Call) Return(presenceStatsResponse *apiproto.PresenceStatsResponse, err error) *ApiprotoCentrifugoApiServer_PresenceStats_Call

func (*ApiprotoCentrifugoApiServer_PresenceStats_Call) Run

func (_c *ApiprotoCentrifugoApiServer_PresenceStats_Call) Run(run func(context1 context.Context, presenceStatsRequest *apiproto.PresenceStatsRequest)) *ApiprotoCentrifugoApiServer_PresenceStats_Call

func (*ApiprotoCentrifugoApiServer_PresenceStats_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_PresenceStats_Call) RunAndReturn(run func(context1 context.Context, presenceStatsRequest *apiproto.PresenceStatsRequest) (*apiproto.PresenceStatsResponse, error)) *ApiprotoCentrifugoApiServer_PresenceStats_Call

type ApiprotoCentrifugoApiServer_Presence_Call

type ApiprotoCentrifugoApiServer_Presence_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Presence_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Presence_Call) Return(presenceResponse *apiproto.PresenceResponse, err error) *ApiprotoCentrifugoApiServer_Presence_Call

func (*ApiprotoCentrifugoApiServer_Presence_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Presence_Call) Run(run func(context1 context.Context, presenceRequest *apiproto.PresenceRequest)) *ApiprotoCentrifugoApiServer_Presence_Call

func (*ApiprotoCentrifugoApiServer_Presence_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Presence_Call) RunAndReturn(run func(context1 context.Context, presenceRequest *apiproto.PresenceRequest) (*apiproto.PresenceResponse, error)) *ApiprotoCentrifugoApiServer_Presence_Call

type ApiprotoCentrifugoApiServer_Publish_Call

type ApiprotoCentrifugoApiServer_Publish_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Publish_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Publish_Call) Return(publishResponse *apiproto.PublishResponse, err error) *ApiprotoCentrifugoApiServer_Publish_Call

func (*ApiprotoCentrifugoApiServer_Publish_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Publish_Call) Run(run func(context1 context.Context, publishRequest *apiproto.PublishRequest)) *ApiprotoCentrifugoApiServer_Publish_Call

func (*ApiprotoCentrifugoApiServer_Publish_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Publish_Call) RunAndReturn(run func(context1 context.Context, publishRequest *apiproto.PublishRequest) (*apiproto.PublishResponse, error)) *ApiprotoCentrifugoApiServer_Publish_Call

type ApiprotoCentrifugoApiServer_RPC_Call

type ApiprotoCentrifugoApiServer_RPC_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_RPC_Call) Return

func (_c *ApiprotoCentrifugoApiServer_RPC_Call) Return(rPCResponse *apiproto.RPCResponse, err error) *ApiprotoCentrifugoApiServer_RPC_Call

func (*ApiprotoCentrifugoApiServer_RPC_Call) Run

func (_c *ApiprotoCentrifugoApiServer_RPC_Call) Run(run func(context1 context.Context, rPCRequest *apiproto.RPCRequest)) *ApiprotoCentrifugoApiServer_RPC_Call

func (*ApiprotoCentrifugoApiServer_RPC_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_RPC_Call) RunAndReturn(run func(context1 context.Context, rPCRequest *apiproto.RPCRequest) (*apiproto.RPCResponse, error)) *ApiprotoCentrifugoApiServer_RPC_Call

type ApiprotoCentrifugoApiServer_RateLimit_Call

type ApiprotoCentrifugoApiServer_RateLimit_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_RateLimit_Call) Return

func (_c *ApiprotoCentrifugoApiServer_RateLimit_Call) Return(rateLimitResponse *apiproto.RateLimitResponse, err error) *ApiprotoCentrifugoApiServer_RateLimit_Call

func (*ApiprotoCentrifugoApiServer_RateLimit_Call) Run

func (_c *ApiprotoCentrifugoApiServer_RateLimit_Call) Run(run func(context1 context.Context, rateLimitRequest *apiproto.RateLimitRequest)) *ApiprotoCentrifugoApiServer_RateLimit_Call

func (*ApiprotoCentrifugoApiServer_RateLimit_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_RateLimit_Call) RunAndReturn(run func(context1 context.Context, rateLimitRequest *apiproto.RateLimitRequest) (*apiproto.RateLimitResponse, error)) *ApiprotoCentrifugoApiServer_RateLimit_Call

type ApiprotoCentrifugoApiServer_Refresh_Call

type ApiprotoCentrifugoApiServer_Refresh_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Refresh_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Refresh_Call) Return(refreshResponse *apiproto.RefreshResponse, err error) *ApiprotoCentrifugoApiServer_Refresh_Call

func (*ApiprotoCentrifugoApiServer_Refresh_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Refresh_Call) Run(run func(context1 context.Context, refreshRequest *apiproto.RefreshRequest)) *ApiprotoCentrifugoApiServer_Refresh_Call

func (*ApiprotoCentrifugoApiServer_Refresh_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Refresh_Call) RunAndReturn(run func(context1 context.Context, refreshRequest *apiproto.RefreshRequest) (*apiproto.RefreshResponse, error)) *ApiprotoCentrifugoApiServer_Refresh_Call

type ApiprotoCentrifugoApiServer_RevokeToken_Call

type ApiprotoCentrifugoApiServer_RevokeToken_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_RevokeToken_Call) Return

func (_c *ApiprotoCentrifugoApiServer_RevokeToken_Call) Return(revokeTokenResponse *apiproto.RevokeTokenResponse, err error) *ApiprotoCentrifugoApiServer_RevokeToken_Call

func (*ApiprotoCentrifugoApiServer_RevokeToken_Call) Run

func (_c *ApiprotoCentrifugoApiServer_RevokeToken_Call) Run(run func(context1 context.Context, revokeTokenRequest *apiproto.RevokeTokenRequest)) *ApiprotoCentrifugoApiServer_RevokeToken_Call

func (*ApiprotoCentrifugoApiServer_RevokeToken_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_RevokeToken_Call) RunAndReturn(run func(context1 context.Context, revokeTokenRequest *apiproto.RevokeTokenRequest) (*apiproto.RevokeTokenResponse, error)) *ApiprotoCentrifugoApiServer_RevokeToken_Call

type ApiprotoCentrifugoApiServer_SendPushNotification_Call

type ApiprotoCentrifugoApiServer_SendPushNotification_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_SendPushNotification_Call) Return

func (_c *ApiprotoCentrifugoApiServer_SendPushNotification_Call) Return(sendPushNotificationResponse *apiproto.SendPushNotificationResponse, err error) *ApiprotoCentrifugoApiServer_SendPushNotification_Call

func (*ApiprotoCentrifugoApiServer_SendPushNotification_Call) Run

func (_c *ApiprotoCentrifugoApiServer_SendPushNotification_Call) Run(run func(context1 context.Context, sendPushNotificationRequest *apiproto.SendPushNotificationRequest)) *ApiprotoCentrifugoApiServer_SendPushNotification_Call

func (*ApiprotoCentrifugoApiServer_SendPushNotification_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_SendPushNotification_Call) RunAndReturn(run func(context1 context.Context, sendPushNotificationRequest *apiproto.SendPushNotificationRequest) (*apiproto.SendPushNotificationResponse, error)) *ApiprotoCentrifugoApiServer_SendPushNotification_Call

type ApiprotoCentrifugoApiServer_Subscribe_Call

type ApiprotoCentrifugoApiServer_Subscribe_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Subscribe_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Subscribe_Call) Return(subscribeResponse *apiproto.SubscribeResponse, err error) *ApiprotoCentrifugoApiServer_Subscribe_Call

func (*ApiprotoCentrifugoApiServer_Subscribe_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Subscribe_Call) Run(run func(context1 context.Context, subscribeRequest *apiproto.SubscribeRequest)) *ApiprotoCentrifugoApiServer_Subscribe_Call

func (*ApiprotoCentrifugoApiServer_Subscribe_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Subscribe_Call) RunAndReturn(run func(context1 context.Context, subscribeRequest *apiproto.SubscribeRequest) (*apiproto.SubscribeResponse, error)) *ApiprotoCentrifugoApiServer_Subscribe_Call

type ApiprotoCentrifugoApiServer_UnblockUser_Call

type ApiprotoCentrifugoApiServer_UnblockUser_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_UnblockUser_Call) Return

func (_c *ApiprotoCentrifugoApiServer_UnblockUser_Call) Return(unblockUserResponse *apiproto.UnblockUserResponse, err error) *ApiprotoCentrifugoApiServer_UnblockUser_Call

func (*ApiprotoCentrifugoApiServer_UnblockUser_Call) Run

func (_c *ApiprotoCentrifugoApiServer_UnblockUser_Call) Run(run func(context1 context.Context, unblockUserRequest *apiproto.UnblockUserRequest)) *ApiprotoCentrifugoApiServer_UnblockUser_Call

func (*ApiprotoCentrifugoApiServer_UnblockUser_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_UnblockUser_Call) RunAndReturn(run func(context1 context.Context, unblockUserRequest *apiproto.UnblockUserRequest) (*apiproto.UnblockUserResponse, error)) *ApiprotoCentrifugoApiServer_UnblockUser_Call

type ApiprotoCentrifugoApiServer_Unsubscribe_Call

type ApiprotoCentrifugoApiServer_Unsubscribe_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_Unsubscribe_Call) Return

func (_c *ApiprotoCentrifugoApiServer_Unsubscribe_Call) Return(unsubscribeResponse *apiproto.UnsubscribeResponse, err error) *ApiprotoCentrifugoApiServer_Unsubscribe_Call

func (*ApiprotoCentrifugoApiServer_Unsubscribe_Call) Run

func (_c *ApiprotoCentrifugoApiServer_Unsubscribe_Call) Run(run func(context1 context.Context, unsubscribeRequest *apiproto.UnsubscribeRequest)) *ApiprotoCentrifugoApiServer_Unsubscribe_Call

func (*ApiprotoCentrifugoApiServer_Unsubscribe_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_Unsubscribe_Call) RunAndReturn(run func(context1 context.Context, unsubscribeRequest *apiproto.UnsubscribeRequest) (*apiproto.UnsubscribeResponse, error)) *ApiprotoCentrifugoApiServer_Unsubscribe_Call

type ApiprotoCentrifugoApiServer_UpdatePushStatus_Call

type ApiprotoCentrifugoApiServer_UpdatePushStatus_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) Return

func (_c *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) Return(updatePushStatusResponse *apiproto.UpdatePushStatusResponse, err error) *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call

func (*ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) Run

func (_c *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) Run(run func(context1 context.Context, updatePushStatusRequest *apiproto.UpdatePushStatusRequest)) *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call

func (*ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) RunAndReturn(run func(context1 context.Context, updatePushStatusRequest *apiproto.UpdatePushStatusRequest) (*apiproto.UpdatePushStatusResponse, error)) *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call

type ApiprotoCentrifugoApiServer_UpdateUserStatus_Call

type ApiprotoCentrifugoApiServer_UpdateUserStatus_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) Return

func (_c *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) Return(updateUserStatusResponse *apiproto.UpdateUserStatusResponse, err error) *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call

func (*ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) Run

func (_c *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) Run(run func(context1 context.Context, updateUserStatusRequest *apiproto.UpdateUserStatusRequest)) *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call

func (*ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) RunAndReturn(run func(context1 context.Context, updateUserStatusRequest *apiproto.UpdateUserStatusRequest) (*apiproto.UpdateUserStatusResponse, error)) *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call

type ApiprotoCentrifugoApiServer_UserTopicList_Call

type ApiprotoCentrifugoApiServer_UserTopicList_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_UserTopicList_Call) Return

func (_c *ApiprotoCentrifugoApiServer_UserTopicList_Call) Return(userTopicListResponse *apiproto.UserTopicListResponse, err error) *ApiprotoCentrifugoApiServer_UserTopicList_Call

func (*ApiprotoCentrifugoApiServer_UserTopicList_Call) Run

func (_c *ApiprotoCentrifugoApiServer_UserTopicList_Call) Run(run func(context1 context.Context, userTopicListRequest *apiproto.UserTopicListRequest)) *ApiprotoCentrifugoApiServer_UserTopicList_Call

func (*ApiprotoCentrifugoApiServer_UserTopicList_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_UserTopicList_Call) RunAndReturn(run func(context1 context.Context, userTopicListRequest *apiproto.UserTopicListRequest) (*apiproto.UserTopicListResponse, error)) *ApiprotoCentrifugoApiServer_UserTopicList_Call

type ApiprotoCentrifugoApiServer_UserTopicUpdate_Call

type ApiprotoCentrifugoApiServer_UserTopicUpdate_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) Return

func (_c *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) Return(userTopicUpdateResponse *apiproto.UserTopicUpdateResponse, err error) *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call

func (*ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) Run

func (_c *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) Run(run func(context1 context.Context, userTopicUpdateRequest *apiproto.UserTopicUpdateRequest)) *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call

func (*ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) RunAndReturn

func (_c *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) RunAndReturn(run func(context1 context.Context, userTopicUpdateRequest *apiproto.UserTopicUpdateRequest) (*apiproto.UserTopicUpdateResponse, error)) *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call

type ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call

type ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call struct {
	*mock.Call
}

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

func (*ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) Return

func (*ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) Run

func (*ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) RunAndReturn

type ApiprotoUnsafeCentrifugoApiServer

type ApiprotoUnsafeCentrifugoApiServer struct {
	mock.Mock
}

ApiprotoUnsafeCentrifugoApiServer is an autogenerated mock type for the UnsafeCentrifugoApiServer type

func NewApiprotoUnsafeCentrifugoApiServer

func NewApiprotoUnsafeCentrifugoApiServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApiprotoUnsafeCentrifugoApiServer

NewApiprotoUnsafeCentrifugoApiServer creates a new instance of ApiprotoUnsafeCentrifugoApiServer. 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 (*ApiprotoUnsafeCentrifugoApiServer) EXPECT

type ApiprotoUnsafeCentrifugoApiServer_Expecter

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

type ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call

type ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call struct {
	*mock.Call
}

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

func (*ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) Return

func (*ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) Run

func (*ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) RunAndReturn

type BatchWorker

type BatchWorker[T any] struct {
	mock.Mock
}

BatchWorker is an autogenerated mock type for the Worker type

func NewBatchWorker

func NewBatchWorker[T any](t interface {
	mock.TestingT
	Cleanup(func())
}) *BatchWorker[T]

NewBatchWorker creates a new instance of BatchWorker. 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 (*BatchWorker[T]) Close

func (_mock *BatchWorker[T]) Close(ctx context.Context)

Close provides a mock function for the type BatchWorker

func (*BatchWorker[T]) EXPECT

func (_m *BatchWorker[T]) EXPECT() *BatchWorker_Expecter[T]

func (*BatchWorker[T]) Start

func (_mock *BatchWorker[T]) Start(ctx context.Context)

Start provides a mock function for the type BatchWorker

func (*BatchWorker[T]) Write

func (_mock *BatchWorker[T]) Write(ctx context.Context, item *T)

Write provides a mock function for the type BatchWorker

type BatchWorker_Close_Call

type BatchWorker_Close_Call[T any] struct {
	*mock.Call
}

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

func (*BatchWorker_Close_Call[T]) Return

func (_c *BatchWorker_Close_Call[T]) Return() *BatchWorker_Close_Call[T]

func (*BatchWorker_Close_Call[T]) Run

func (_c *BatchWorker_Close_Call[T]) Run(run func(ctx context.Context)) *BatchWorker_Close_Call[T]

func (*BatchWorker_Close_Call[T]) RunAndReturn

func (_c *BatchWorker_Close_Call[T]) RunAndReturn(run func(ctx context.Context)) *BatchWorker_Close_Call[T]

type BatchWorker_Expecter

type BatchWorker_Expecter[T any] struct {
	// contains filtered or unexported fields
}

func (*BatchWorker_Expecter[T]) Close

func (_e *BatchWorker_Expecter[T]) Close(ctx interface{}) *BatchWorker_Close_Call[T]

Close is a helper method to define mock.On call

  • ctx context.Context

func (*BatchWorker_Expecter[T]) Start

func (_e *BatchWorker_Expecter[T]) Start(ctx interface{}) *BatchWorker_Start_Call[T]

Start is a helper method to define mock.On call

  • ctx context.Context

func (*BatchWorker_Expecter[T]) Write

func (_e *BatchWorker_Expecter[T]) Write(ctx interface{}, item interface{}) *BatchWorker_Write_Call[T]

Write is a helper method to define mock.On call

  • ctx context.Context
  • item *T

type BatchWorker_Start_Call

type BatchWorker_Start_Call[T any] struct {
	*mock.Call
}

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

func (*BatchWorker_Start_Call[T]) Return

func (_c *BatchWorker_Start_Call[T]) Return() *BatchWorker_Start_Call[T]

func (*BatchWorker_Start_Call[T]) Run

func (_c *BatchWorker_Start_Call[T]) Run(run func(ctx context.Context)) *BatchWorker_Start_Call[T]

func (*BatchWorker_Start_Call[T]) RunAndReturn

func (_c *BatchWorker_Start_Call[T]) RunAndReturn(run func(ctx context.Context)) *BatchWorker_Start_Call[T]

type BatchWorker_Write_Call

type BatchWorker_Write_Call[T any] struct {
	*mock.Call
}

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

func (*BatchWorker_Write_Call[T]) Return

func (_c *BatchWorker_Write_Call[T]) Return() *BatchWorker_Write_Call[T]

func (*BatchWorker_Write_Call[T]) Run

func (_c *BatchWorker_Write_Call[T]) Run(run func(ctx context.Context, item *T)) *BatchWorker_Write_Call[T]

func (*BatchWorker_Write_Call[T]) RunAndReturn

func (_c *BatchWorker_Write_Call[T]) RunAndReturn(run func(ctx context.Context, item *T)) *BatchWorker_Write_Call[T]

type BatchWriter

type BatchWriter[T any] struct {
	mock.Mock
}

BatchWriter is an autogenerated mock type for the Writer type

func NewBatchWriter

func NewBatchWriter[T any](t interface {
	mock.TestingT
	Cleanup(func())
}) *BatchWriter[T]

NewBatchWriter creates a new instance of BatchWriter. 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 (*BatchWriter[T]) EXPECT

func (_m *BatchWriter[T]) EXPECT() *BatchWriter_Expecter[T]

func (*BatchWriter[T]) Write

func (_mock *BatchWriter[T]) Write(ctx context.Context, items []*T) error

Write provides a mock function for the type BatchWriter

type BatchWriter_Expecter

type BatchWriter_Expecter[T any] struct {
	// contains filtered or unexported fields
}

func (*BatchWriter_Expecter[T]) Write

func (_e *BatchWriter_Expecter[T]) Write(ctx interface{}, items interface{}) *BatchWriter_Write_Call[T]

Write is a helper method to define mock.On call

  • ctx context.Context
  • items []*T

type BatchWriter_Write_Call

type BatchWriter_Write_Call[T any] struct {
	*mock.Call
}

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

func (*BatchWriter_Write_Call[T]) Return

func (_c *BatchWriter_Write_Call[T]) Return(err error) *BatchWriter_Write_Call[T]

func (*BatchWriter_Write_Call[T]) Run

func (_c *BatchWriter_Write_Call[T]) Run(run func(ctx context.Context, items []*T)) *BatchWriter_Write_Call[T]

func (*BatchWriter_Write_Call[T]) RunAndReturn

func (_c *BatchWriter_Write_Call[T]) RunAndReturn(run func(ctx context.Context, items []*T) error) *BatchWriter_Write_Call[T]

type CentrifugoClient

type CentrifugoClient struct {
	mock.Mock
}

CentrifugoClient is an autogenerated mock type for the Client type

func NewCentrifugoClient

func NewCentrifugoClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *CentrifugoClient

NewCentrifugoClient creates a new instance of CentrifugoClient. 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 (*CentrifugoClient) ClientId

func (_mock *CentrifugoClient) ClientId() string

ClientId provides a mock function for the type CentrifugoClient

func (*CentrifugoClient) Close

func (_mock *CentrifugoClient) Close(ctx context.Context) error

Close provides a mock function for the type CentrifugoClient

func (*CentrifugoClient) Connect

func (_mock *CentrifugoClient) Connect(ctx context.Context, token string) error

Connect provides a mock function for the type CentrifugoClient

func (*CentrifugoClient) Connected

func (_mock *CentrifugoClient) Connected() bool

Connected provides a mock function for the type CentrifugoClient

func (*CentrifugoClient) EXPECT

func (*CentrifugoClient) OnPublication

func (_mock *CentrifugoClient) OnPublication(ctx context.Context, handler func(p centrifuge.ServerPublicationEvent) error) error

OnPublication provides a mock function for the type CentrifugoClient

func (*CentrifugoClient) Subscribe

func (_mock *CentrifugoClient) Subscribe(ctx context.Context, token string, channel string, handler func(p centrifuge.Publication) error) error

Subscribe provides a mock function for the type CentrifugoClient

type CentrifugoClient_ClientId_Call

type CentrifugoClient_ClientId_Call struct {
	*mock.Call
}

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

func (*CentrifugoClient_ClientId_Call) Return

func (*CentrifugoClient_ClientId_Call) Run

func (*CentrifugoClient_ClientId_Call) RunAndReturn

type CentrifugoClient_Close_Call

type CentrifugoClient_Close_Call struct {
	*mock.Call
}

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

func (*CentrifugoClient_Close_Call) Return

func (*CentrifugoClient_Close_Call) Run

func (*CentrifugoClient_Close_Call) RunAndReturn

type CentrifugoClient_Connect_Call

type CentrifugoClient_Connect_Call struct {
	*mock.Call
}

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

func (*CentrifugoClient_Connect_Call) Return

func (*CentrifugoClient_Connect_Call) Run

func (*CentrifugoClient_Connect_Call) RunAndReturn

type CentrifugoClient_Connected_Call

type CentrifugoClient_Connected_Call struct {
	*mock.Call
}

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

func (*CentrifugoClient_Connected_Call) Return

func (*CentrifugoClient_Connected_Call) Run

func (*CentrifugoClient_Connected_Call) RunAndReturn

type CentrifugoClient_Expecter

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

func (*CentrifugoClient_Expecter) ClientId

ClientId is a helper method to define mock.On call

func (*CentrifugoClient_Expecter) Close

func (_e *CentrifugoClient_Expecter) Close(ctx interface{}) *CentrifugoClient_Close_Call

Close is a helper method to define mock.On call

  • ctx context.Context

func (*CentrifugoClient_Expecter) Connect

func (_e *CentrifugoClient_Expecter) Connect(ctx interface{}, token interface{}) *CentrifugoClient_Connect_Call

Connect is a helper method to define mock.On call

  • ctx context.Context
  • token string

func (*CentrifugoClient_Expecter) Connected

Connected is a helper method to define mock.On call

func (*CentrifugoClient_Expecter) OnPublication

func (_e *CentrifugoClient_Expecter) OnPublication(ctx interface{}, handler interface{}) *CentrifugoClient_OnPublication_Call

OnPublication is a helper method to define mock.On call

  • ctx context.Context
  • handler func(p centrifuge.ServerPublicationEvent) error

func (*CentrifugoClient_Expecter) Subscribe

func (_e *CentrifugoClient_Expecter) Subscribe(ctx interface{}, token interface{}, channel interface{}, handler interface{}) *CentrifugoClient_Subscribe_Call

Subscribe is a helper method to define mock.On call

  • ctx context.Context
  • token string
  • channel string
  • handler func(p centrifuge.Publication) error

type CentrifugoClient_OnPublication_Call

type CentrifugoClient_OnPublication_Call struct {
	*mock.Call
}

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

func (*CentrifugoClient_OnPublication_Call) Return

func (*CentrifugoClient_OnPublication_Call) Run

func (*CentrifugoClient_OnPublication_Call) RunAndReturn

type CentrifugoClient_Subscribe_Call

type CentrifugoClient_Subscribe_Call struct {
	*mock.Call
}

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

func (*CentrifugoClient_Subscribe_Call) Return

func (*CentrifugoClient_Subscribe_Call) Run

func (*CentrifugoClient_Subscribe_Call) RunAndReturn

func (_c *CentrifugoClient_Subscribe_Call) RunAndReturn(run func(ctx context.Context, token string, channel string, handler func(p centrifuge.Publication) error) error) *CentrifugoClient_Subscribe_Call

type CentrifugoServer

type CentrifugoServer struct {
	mock.Mock
}

CentrifugoServer is an autogenerated mock type for the Server type

func NewCentrifugoServer

func NewCentrifugoServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *CentrifugoServer

NewCentrifugoServer creates a new instance of CentrifugoServer. 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 (*CentrifugoServer) BatchPublish

func (_mock *CentrifugoServer) BatchPublish(ctx context.Context, channels []string, msg any) error

BatchPublish provides a mock function for the type CentrifugoServer

func (*CentrifugoServer) Close

func (_mock *CentrifugoServer) Close(ctx context.Context) error

Close provides a mock function for the type CentrifugoServer

func (*CentrifugoServer) Connect

func (_mock *CentrifugoServer) Connect(ctx context.Context) error

Connect provides a mock function for the type CentrifugoServer

func (*CentrifugoServer) DisconnectUser

func (_mock *CentrifugoServer) DisconnectUser(ctx context.Context, userId string) error

DisconnectUser provides a mock function for the type CentrifugoServer

func (*CentrifugoServer) EXPECT

func (*CentrifugoServer) GetPresence

func (_mock *CentrifugoServer) GetPresence(ctx context.Context, channel string) (*apiproto.PresenceResult, error)

GetPresence provides a mock function for the type CentrifugoServer

func (*CentrifugoServer) Publish

func (_mock *CentrifugoServer) Publish(ctx context.Context, channel string, msg any) error

Publish provides a mock function for the type CentrifugoServer

type CentrifugoServer_BatchPublish_Call

type CentrifugoServer_BatchPublish_Call struct {
	*mock.Call
}

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

func (*CentrifugoServer_BatchPublish_Call) Return

func (*CentrifugoServer_BatchPublish_Call) Run

func (*CentrifugoServer_BatchPublish_Call) RunAndReturn

func (_c *CentrifugoServer_BatchPublish_Call) RunAndReturn(run func(ctx context.Context, channels []string, msg any) error) *CentrifugoServer_BatchPublish_Call

type CentrifugoServer_Close_Call

type CentrifugoServer_Close_Call struct {
	*mock.Call
}

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

func (*CentrifugoServer_Close_Call) Return

func (*CentrifugoServer_Close_Call) Run

func (*CentrifugoServer_Close_Call) RunAndReturn

type CentrifugoServer_Connect_Call

type CentrifugoServer_Connect_Call struct {
	*mock.Call
}

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

func (*CentrifugoServer_Connect_Call) Return

func (*CentrifugoServer_Connect_Call) Run

func (*CentrifugoServer_Connect_Call) RunAndReturn

type CentrifugoServer_DisconnectUser_Call

type CentrifugoServer_DisconnectUser_Call struct {
	*mock.Call
}

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

func (*CentrifugoServer_DisconnectUser_Call) Return

func (*CentrifugoServer_DisconnectUser_Call) Run

func (*CentrifugoServer_DisconnectUser_Call) RunAndReturn

type CentrifugoServer_Expecter

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

func (*CentrifugoServer_Expecter) BatchPublish

func (_e *CentrifugoServer_Expecter) BatchPublish(ctx interface{}, channels interface{}, msg interface{}) *CentrifugoServer_BatchPublish_Call

BatchPublish is a helper method to define mock.On call

  • ctx context.Context
  • channels []string
  • msg any

func (*CentrifugoServer_Expecter) Close

func (_e *CentrifugoServer_Expecter) Close(ctx interface{}) *CentrifugoServer_Close_Call

Close is a helper method to define mock.On call

  • ctx context.Context

func (*CentrifugoServer_Expecter) Connect

func (_e *CentrifugoServer_Expecter) Connect(ctx interface{}) *CentrifugoServer_Connect_Call

Connect is a helper method to define mock.On call

  • ctx context.Context

func (*CentrifugoServer_Expecter) DisconnectUser

func (_e *CentrifugoServer_Expecter) DisconnectUser(ctx interface{}, userId interface{}) *CentrifugoServer_DisconnectUser_Call

DisconnectUser is a helper method to define mock.On call

  • ctx context.Context
  • userId string

func (*CentrifugoServer_Expecter) GetPresence

func (_e *CentrifugoServer_Expecter) GetPresence(ctx interface{}, channel interface{}) *CentrifugoServer_GetPresence_Call

GetPresence is a helper method to define mock.On call

  • ctx context.Context
  • channel string

func (*CentrifugoServer_Expecter) Publish

func (_e *CentrifugoServer_Expecter) Publish(ctx interface{}, channel interface{}, msg interface{}) *CentrifugoServer_Publish_Call

Publish is a helper method to define mock.On call

  • ctx context.Context
  • channel string
  • msg any

type CentrifugoServer_GetPresence_Call

type CentrifugoServer_GetPresence_Call struct {
	*mock.Call
}

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

func (*CentrifugoServer_GetPresence_Call) Return

func (_c *CentrifugoServer_GetPresence_Call) Return(presenceResult *apiproto.PresenceResult, err error) *CentrifugoServer_GetPresence_Call

func (*CentrifugoServer_GetPresence_Call) Run

func (*CentrifugoServer_GetPresence_Call) RunAndReturn

func (_c *CentrifugoServer_GetPresence_Call) RunAndReturn(run func(ctx context.Context, channel string) (*apiproto.PresenceResult, error)) *CentrifugoServer_GetPresence_Call

type CentrifugoServer_Publish_Call

type CentrifugoServer_Publish_Call struct {
	*mock.Call
}

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

func (*CentrifugoServer_Publish_Call) Return

func (*CentrifugoServer_Publish_Call) Run

func (*CentrifugoServer_Publish_Call) RunAndReturn

func (_c *CentrifugoServer_Publish_Call) RunAndReturn(run func(ctx context.Context, channel string, msg any) error) *CentrifugoServer_Publish_Call

type ClusterBootstrap

type ClusterBootstrap struct {
	mock.Mock
}

ClusterBootstrap is an autogenerated mock type for the Bootstrap type

func NewClusterBootstrap

func NewClusterBootstrap(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterBootstrap

NewClusterBootstrap creates a new instance of ClusterBootstrap. 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 (*ClusterBootstrap) Close

func (_mock *ClusterBootstrap) Close(ctx context.Context)

Close provides a mock function for the type ClusterBootstrap

func (*ClusterBootstrap) EXPECT

func (*ClusterBootstrap) Init

func (_mock *ClusterBootstrap) Init(ctx context.Context, cfg any) error

Init provides a mock function for the type ClusterBootstrap

func (*ClusterBootstrap) Start

func (_mock *ClusterBootstrap) Start(ctx context.Context) error

Start provides a mock function for the type ClusterBootstrap

type ClusterBootstrap_Close_Call

type ClusterBootstrap_Close_Call struct {
	*mock.Call
}

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

func (*ClusterBootstrap_Close_Call) Return

func (*ClusterBootstrap_Close_Call) Run

func (*ClusterBootstrap_Close_Call) RunAndReturn

type ClusterBootstrap_Expecter

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

func (*ClusterBootstrap_Expecter) Close

func (_e *ClusterBootstrap_Expecter) Close(ctx interface{}) *ClusterBootstrap_Close_Call

Close is a helper method to define mock.On call

  • ctx context.Context

func (*ClusterBootstrap_Expecter) Init

func (_e *ClusterBootstrap_Expecter) Init(ctx interface{}, cfg interface{}) *ClusterBootstrap_Init_Call

Init is a helper method to define mock.On call

  • ctx context.Context
  • cfg any

func (*ClusterBootstrap_Expecter) Start

func (_e *ClusterBootstrap_Expecter) Start(ctx interface{}) *ClusterBootstrap_Start_Call

Start is a helper method to define mock.On call

  • ctx context.Context

type ClusterBootstrap_Init_Call

type ClusterBootstrap_Init_Call struct {
	*mock.Call
}

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

func (*ClusterBootstrap_Init_Call) Return

func (*ClusterBootstrap_Init_Call) Run

func (*ClusterBootstrap_Init_Call) RunAndReturn

func (_c *ClusterBootstrap_Init_Call) RunAndReturn(run func(ctx context.Context, cfg any) error) *ClusterBootstrap_Init_Call

type ClusterBootstrap_Start_Call

type ClusterBootstrap_Start_Call struct {
	*mock.Call
}

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

func (*ClusterBootstrap_Start_Call) Return

func (*ClusterBootstrap_Start_Call) Run

func (*ClusterBootstrap_Start_Call) RunAndReturn

type ClusterDistributedKeys added in v0.2.0

type ClusterDistributedKeys struct {
	mock.Mock
}

ClusterDistributedKeys is an autogenerated mock type for the DistributedKeys type

func NewClusterDistributedKeys added in v0.2.0

func NewClusterDistributedKeys(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterDistributedKeys

NewClusterDistributedKeys creates a new instance of ClusterDistributedKeys. 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 (*ClusterDistributedKeys) Check added in v0.2.0

func (_mock *ClusterDistributedKeys) Check(key string) bool

Check provides a mock function for the type ClusterDistributedKeys

func (*ClusterDistributedKeys) EXPECT added in v0.2.0

func (*ClusterDistributedKeys) Remove added in v0.2.0

func (_mock *ClusterDistributedKeys) Remove(key string)

Remove provides a mock function for the type ClusterDistributedKeys

func (*ClusterDistributedKeys) Set added in v0.2.0

func (_mock *ClusterDistributedKeys) Set(key string)

Set provides a mock function for the type ClusterDistributedKeys

type ClusterDistributedKeys_Check_Call added in v0.2.0

type ClusterDistributedKeys_Check_Call struct {
	*mock.Call
}

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

func (*ClusterDistributedKeys_Check_Call) Return added in v0.2.0

func (*ClusterDistributedKeys_Check_Call) Run added in v0.2.0

func (*ClusterDistributedKeys_Check_Call) RunAndReturn added in v0.2.0

type ClusterDistributedKeys_Expecter added in v0.2.0

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

func (*ClusterDistributedKeys_Expecter) Check added in v0.2.0

Check is a helper method to define mock.On call

  • key string

func (*ClusterDistributedKeys_Expecter) Remove added in v0.2.0

Remove is a helper method to define mock.On call

  • key string

func (*ClusterDistributedKeys_Expecter) Set added in v0.2.0

Set is a helper method to define mock.On call

  • key string

type ClusterDistributedKeys_Remove_Call added in v0.2.0

type ClusterDistributedKeys_Remove_Call struct {
	*mock.Call
}

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

func (*ClusterDistributedKeys_Remove_Call) Return added in v0.2.0

func (*ClusterDistributedKeys_Remove_Call) Run added in v0.2.0

func (*ClusterDistributedKeys_Remove_Call) RunAndReturn added in v0.2.0

type ClusterDistributedKeys_Set_Call added in v0.2.0

type ClusterDistributedKeys_Set_Call struct {
	*mock.Call
}

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

func (*ClusterDistributedKeys_Set_Call) Return added in v0.2.0

func (*ClusterDistributedKeys_Set_Call) Run added in v0.2.0

func (*ClusterDistributedKeys_Set_Call) RunAndReturn added in v0.2.0

type ElasticsearchIndexBuilder

type ElasticsearchIndexBuilder struct {
	mock.Mock
}

ElasticsearchIndexBuilder is an autogenerated mock type for the IndexBuilder type

func NewElasticsearchIndexBuilder

func NewElasticsearchIndexBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *ElasticsearchIndexBuilder

NewElasticsearchIndexBuilder creates a new instance of ElasticsearchIndexBuilder. 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 (*ElasticsearchIndexBuilder) Build

func (_mock *ElasticsearchIndexBuilder) Build(ctx context.Context) error

Build provides a mock function for the type ElasticsearchIndexBuilder

func (*ElasticsearchIndexBuilder) EXPECT

func (*ElasticsearchIndexBuilder) WithAlias

WithAlias provides a mock function for the type ElasticsearchIndexBuilder

func (*ElasticsearchIndexBuilder) WithExplicitMapping

func (_mock *ElasticsearchIndexBuilder) WithExplicitMapping(mapping string) elasticsearch.IndexBuilder

WithExplicitMapping provides a mock function for the type ElasticsearchIndexBuilder

func (*ElasticsearchIndexBuilder) WithIndex

WithIndex provides a mock function for the type ElasticsearchIndexBuilder

func (*ElasticsearchIndexBuilder) WithMappingModel

func (_mock *ElasticsearchIndexBuilder) WithMappingModel(model interface{}) elasticsearch.IndexBuilder

WithMappingModel provides a mock function for the type ElasticsearchIndexBuilder

type ElasticsearchIndexBuilder_Build_Call

type ElasticsearchIndexBuilder_Build_Call struct {
	*mock.Call
}

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

func (*ElasticsearchIndexBuilder_Build_Call) Return

func (*ElasticsearchIndexBuilder_Build_Call) Run

func (*ElasticsearchIndexBuilder_Build_Call) RunAndReturn

type ElasticsearchIndexBuilder_Expecter

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

func (*ElasticsearchIndexBuilder_Expecter) Build

Build is a helper method to define mock.On call

  • ctx context.Context

func (*ElasticsearchIndexBuilder_Expecter) WithAlias

WithAlias is a helper method to define mock.On call

  • name string

func (*ElasticsearchIndexBuilder_Expecter) WithExplicitMapping

func (_e *ElasticsearchIndexBuilder_Expecter) WithExplicitMapping(mapping interface{}) *ElasticsearchIndexBuilder_WithExplicitMapping_Call

WithExplicitMapping is a helper method to define mock.On call

  • mapping string

func (*ElasticsearchIndexBuilder_Expecter) WithIndex

WithIndex is a helper method to define mock.On call

  • name string

func (*ElasticsearchIndexBuilder_Expecter) WithMappingModel

WithMappingModel is a helper method to define mock.On call

  • model interface{}

type ElasticsearchIndexBuilder_WithAlias_Call

type ElasticsearchIndexBuilder_WithAlias_Call struct {
	*mock.Call
}

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

func (*ElasticsearchIndexBuilder_WithAlias_Call) Return

func (*ElasticsearchIndexBuilder_WithAlias_Call) Run

func (*ElasticsearchIndexBuilder_WithAlias_Call) RunAndReturn

type ElasticsearchIndexBuilder_WithExplicitMapping_Call

type ElasticsearchIndexBuilder_WithExplicitMapping_Call struct {
	*mock.Call
}

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

func (*ElasticsearchIndexBuilder_WithExplicitMapping_Call) Return

func (*ElasticsearchIndexBuilder_WithExplicitMapping_Call) Run

func (*ElasticsearchIndexBuilder_WithExplicitMapping_Call) RunAndReturn

type ElasticsearchIndexBuilder_WithIndex_Call

type ElasticsearchIndexBuilder_WithIndex_Call struct {
	*mock.Call
}

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

func (*ElasticsearchIndexBuilder_WithIndex_Call) Return

func (*ElasticsearchIndexBuilder_WithIndex_Call) Run

func (*ElasticsearchIndexBuilder_WithIndex_Call) RunAndReturn

type ElasticsearchIndexBuilder_WithMappingModel_Call

type ElasticsearchIndexBuilder_WithMappingModel_Call struct {
	*mock.Call
}

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

func (*ElasticsearchIndexBuilder_WithMappingModel_Call) Return

func (*ElasticsearchIndexBuilder_WithMappingModel_Call) Run

func (*ElasticsearchIndexBuilder_WithMappingModel_Call) RunAndReturn

type ElasticsearchSearch

type ElasticsearchSearch struct {
	mock.Mock
}

ElasticsearchSearch is an autogenerated mock type for the Search type

func NewElasticsearchSearch

func NewElasticsearchSearch(t interface {
	mock.TestingT
	Cleanup(func())
}) *ElasticsearchSearch

NewElasticsearchSearch creates a new instance of ElasticsearchSearch. 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 (*ElasticsearchSearch) Close

func (_mock *ElasticsearchSearch) Close(ctx context.Context)

Close provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) Delete

func (_mock *ElasticsearchSearch) Delete(ctx context.Context, index string, id string) error

Delete provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) DeleteBulk

func (_mock *ElasticsearchSearch) DeleteBulk(ctx context.Context, index string, ids []string) error

DeleteBulk provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) DeleteIndex

func (_mock *ElasticsearchSearch) DeleteIndex(ctx context.Context, index string) error

DeleteIndex provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) EXPECT

func (*ElasticsearchSearch) Exists

func (_mock *ElasticsearchSearch) Exists(ctx context.Context, index string, id string) (bool, error)

Exists provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) GetClient

func (_mock *ElasticsearchSearch) GetClient() *elastic.Client

GetClient provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) Index

func (_mock *ElasticsearchSearch) Index(ctx context.Context, index string, id string, data interface{}) error

Index provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) IndexAsync

func (_mock *ElasticsearchSearch) IndexAsync(ctx context.Context, index string, id string, data interface{})

IndexAsync provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) IndexBulk

func (_mock *ElasticsearchSearch) IndexBulk(ctx context.Context, index string, docs map[string]interface{}) error

IndexBulk provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) IndexBulkAsync

func (_mock *ElasticsearchSearch) IndexBulkAsync(ctx context.Context, index string, docs map[string]interface{})

IndexBulkAsync provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) NewBuilder

func (_mock *ElasticsearchSearch) NewBuilder() elasticsearch.IndexBuilder

NewBuilder provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) Ping

func (_mock *ElasticsearchSearch) Ping() bool

Ping provides a mock function for the type ElasticsearchSearch

func (*ElasticsearchSearch) Refresh

func (_mock *ElasticsearchSearch) Refresh(ctx context.Context, index string) error

Refresh provides a mock function for the type ElasticsearchSearch

type ElasticsearchSearch_Close_Call

type ElasticsearchSearch_Close_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_Close_Call) Return

func (*ElasticsearchSearch_Close_Call) Run

func (*ElasticsearchSearch_Close_Call) RunAndReturn

type ElasticsearchSearch_DeleteBulk_Call

type ElasticsearchSearch_DeleteBulk_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_DeleteBulk_Call) Return

func (*ElasticsearchSearch_DeleteBulk_Call) Run

func (*ElasticsearchSearch_DeleteBulk_Call) RunAndReturn

type ElasticsearchSearch_DeleteIndex_Call

type ElasticsearchSearch_DeleteIndex_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_DeleteIndex_Call) Return

func (*ElasticsearchSearch_DeleteIndex_Call) Run

func (*ElasticsearchSearch_DeleteIndex_Call) RunAndReturn

type ElasticsearchSearch_Delete_Call

type ElasticsearchSearch_Delete_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_Delete_Call) Return

func (*ElasticsearchSearch_Delete_Call) Run

func (*ElasticsearchSearch_Delete_Call) RunAndReturn

type ElasticsearchSearch_Exists_Call

type ElasticsearchSearch_Exists_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_Exists_Call) Return

func (*ElasticsearchSearch_Exists_Call) Run

func (*ElasticsearchSearch_Exists_Call) RunAndReturn

type ElasticsearchSearch_Expecter

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

func (*ElasticsearchSearch_Expecter) Close

Close is a helper method to define mock.On call

  • ctx context.Context

func (*ElasticsearchSearch_Expecter) Delete

func (_e *ElasticsearchSearch_Expecter) Delete(ctx interface{}, index interface{}, id interface{}) *ElasticsearchSearch_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • index string
  • id string

func (*ElasticsearchSearch_Expecter) DeleteBulk

func (_e *ElasticsearchSearch_Expecter) DeleteBulk(ctx interface{}, index interface{}, ids interface{}) *ElasticsearchSearch_DeleteBulk_Call

DeleteBulk is a helper method to define mock.On call

  • ctx context.Context
  • index string
  • ids []string

func (*ElasticsearchSearch_Expecter) DeleteIndex

func (_e *ElasticsearchSearch_Expecter) DeleteIndex(ctx interface{}, index interface{}) *ElasticsearchSearch_DeleteIndex_Call

DeleteIndex is a helper method to define mock.On call

  • ctx context.Context
  • index string

func (*ElasticsearchSearch_Expecter) Exists

func (_e *ElasticsearchSearch_Expecter) Exists(ctx interface{}, index interface{}, id interface{}) *ElasticsearchSearch_Exists_Call

Exists is a helper method to define mock.On call

  • ctx context.Context
  • index string
  • id string

func (*ElasticsearchSearch_Expecter) GetClient

GetClient is a helper method to define mock.On call

func (*ElasticsearchSearch_Expecter) Index

func (_e *ElasticsearchSearch_Expecter) Index(ctx interface{}, index interface{}, id interface{}, data interface{}) *ElasticsearchSearch_Index_Call

Index is a helper method to define mock.On call

  • ctx context.Context
  • index string
  • id string
  • data interface{}

func (*ElasticsearchSearch_Expecter) IndexAsync

func (_e *ElasticsearchSearch_Expecter) IndexAsync(ctx interface{}, index interface{}, id interface{}, data interface{}) *ElasticsearchSearch_IndexAsync_Call

IndexAsync is a helper method to define mock.On call

  • ctx context.Context
  • index string
  • id string
  • data interface{}

func (*ElasticsearchSearch_Expecter) IndexBulk

func (_e *ElasticsearchSearch_Expecter) IndexBulk(ctx interface{}, index interface{}, docs interface{}) *ElasticsearchSearch_IndexBulk_Call

IndexBulk is a helper method to define mock.On call

  • ctx context.Context
  • index string
  • docs map[string]interface{}

func (*ElasticsearchSearch_Expecter) IndexBulkAsync

func (_e *ElasticsearchSearch_Expecter) IndexBulkAsync(ctx interface{}, index interface{}, docs interface{}) *ElasticsearchSearch_IndexBulkAsync_Call

IndexBulkAsync is a helper method to define mock.On call

  • ctx context.Context
  • index string
  • docs map[string]interface{}

func (*ElasticsearchSearch_Expecter) NewBuilder

NewBuilder is a helper method to define mock.On call

func (*ElasticsearchSearch_Expecter) Ping

Ping is a helper method to define mock.On call

func (*ElasticsearchSearch_Expecter) Refresh

func (_e *ElasticsearchSearch_Expecter) Refresh(ctx interface{}, index interface{}) *ElasticsearchSearch_Refresh_Call

Refresh is a helper method to define mock.On call

  • ctx context.Context
  • index string

type ElasticsearchSearch_GetClient_Call

type ElasticsearchSearch_GetClient_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_GetClient_Call) Return

func (*ElasticsearchSearch_GetClient_Call) Run

func (*ElasticsearchSearch_GetClient_Call) RunAndReturn

type ElasticsearchSearch_IndexAsync_Call

type ElasticsearchSearch_IndexAsync_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_IndexAsync_Call) Return

func (*ElasticsearchSearch_IndexAsync_Call) Run

func (_c *ElasticsearchSearch_IndexAsync_Call) Run(run func(ctx context.Context, index string, id string, data interface{})) *ElasticsearchSearch_IndexAsync_Call

func (*ElasticsearchSearch_IndexAsync_Call) RunAndReturn

func (_c *ElasticsearchSearch_IndexAsync_Call) RunAndReturn(run func(ctx context.Context, index string, id string, data interface{})) *ElasticsearchSearch_IndexAsync_Call

type ElasticsearchSearch_IndexBulkAsync_Call

type ElasticsearchSearch_IndexBulkAsync_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_IndexBulkAsync_Call) Return

func (*ElasticsearchSearch_IndexBulkAsync_Call) Run

func (*ElasticsearchSearch_IndexBulkAsync_Call) RunAndReturn

func (_c *ElasticsearchSearch_IndexBulkAsync_Call) RunAndReturn(run func(ctx context.Context, index string, docs map[string]interface{})) *ElasticsearchSearch_IndexBulkAsync_Call

type ElasticsearchSearch_IndexBulk_Call

type ElasticsearchSearch_IndexBulk_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_IndexBulk_Call) Return

func (*ElasticsearchSearch_IndexBulk_Call) Run

func (_c *ElasticsearchSearch_IndexBulk_Call) Run(run func(ctx context.Context, index string, docs map[string]interface{})) *ElasticsearchSearch_IndexBulk_Call

func (*ElasticsearchSearch_IndexBulk_Call) RunAndReturn

func (_c *ElasticsearchSearch_IndexBulk_Call) RunAndReturn(run func(ctx context.Context, index string, docs map[string]interface{}) error) *ElasticsearchSearch_IndexBulk_Call

type ElasticsearchSearch_Index_Call

type ElasticsearchSearch_Index_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_Index_Call) Return

func (*ElasticsearchSearch_Index_Call) Run

func (_c *ElasticsearchSearch_Index_Call) Run(run func(ctx context.Context, index string, id string, data interface{})) *ElasticsearchSearch_Index_Call

func (*ElasticsearchSearch_Index_Call) RunAndReturn

func (_c *ElasticsearchSearch_Index_Call) RunAndReturn(run func(ctx context.Context, index string, id string, data interface{}) error) *ElasticsearchSearch_Index_Call

type ElasticsearchSearch_NewBuilder_Call

type ElasticsearchSearch_NewBuilder_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_NewBuilder_Call) Return

func (*ElasticsearchSearch_NewBuilder_Call) Run

func (*ElasticsearchSearch_NewBuilder_Call) RunAndReturn

type ElasticsearchSearch_Ping_Call

type ElasticsearchSearch_Ping_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_Ping_Call) Return

func (*ElasticsearchSearch_Ping_Call) Run

func (*ElasticsearchSearch_Ping_Call) RunAndReturn

type ElasticsearchSearch_Refresh_Call

type ElasticsearchSearch_Refresh_Call struct {
	*mock.Call
}

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

func (*ElasticsearchSearch_Refresh_Call) Return

func (*ElasticsearchSearch_Refresh_Call) Run

func (*ElasticsearchSearch_Refresh_Call) RunAndReturn

type EventBus

type EventBus struct {
	mock.Mock
}

EventBus is an autogenerated mock type for the Bus type

func NewEventBus

func NewEventBus(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventBus

NewEventBus creates a new instance of EventBus. 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 (*EventBus) EXPECT

func (_m *EventBus) EXPECT() *EventBus_Expecter

func (*EventBus) HasCallback

func (_mock *EventBus) HasCallback(topic string) bool

HasCallback provides a mock function for the type EventBus

func (*EventBus) Publish

func (_mock *EventBus) Publish(ctx context.Context, topic string, args ...interface{})

Publish provides a mock function for the type EventBus

func (*EventBus) Subscribe

func (_mock *EventBus) Subscribe(topic string, fn interface{}) error

Subscribe provides a mock function for the type EventBus

func (*EventBus) SubscribeAsync

func (_mock *EventBus) SubscribeAsync(topic string, fn interface{}, transactional bool) error

SubscribeAsync provides a mock function for the type EventBus

func (*EventBus) SubscribeOnce

func (_mock *EventBus) SubscribeOnce(topic string, fn interface{}) error

SubscribeOnce provides a mock function for the type EventBus

func (*EventBus) SubscribeOnceAsync

func (_mock *EventBus) SubscribeOnceAsync(topic string, fn interface{}) error

SubscribeOnceAsync provides a mock function for the type EventBus

func (*EventBus) Unsubscribe

func (_mock *EventBus) Unsubscribe(topic string, handler interface{}) error

Unsubscribe provides a mock function for the type EventBus

func (*EventBus) WaitAsync

func (_mock *EventBus) WaitAsync()

WaitAsync provides a mock function for the type EventBus

type EventBusController

type EventBusController struct {
	mock.Mock
}

EventBusController is an autogenerated mock type for the BusController type

func NewEventBusController

func NewEventBusController(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventBusController

NewEventBusController creates a new instance of EventBusController. 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 (*EventBusController) EXPECT

func (*EventBusController) HasCallback

func (_mock *EventBusController) HasCallback(topic string) bool

HasCallback provides a mock function for the type EventBusController

func (*EventBusController) WaitAsync

func (_mock *EventBusController) WaitAsync()

WaitAsync provides a mock function for the type EventBusController

type EventBusController_Expecter

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

func (*EventBusController_Expecter) HasCallback

func (_e *EventBusController_Expecter) HasCallback(topic interface{}) *EventBusController_HasCallback_Call

HasCallback is a helper method to define mock.On call

  • topic string

func (*EventBusController_Expecter) WaitAsync

WaitAsync is a helper method to define mock.On call

type EventBusController_HasCallback_Call

type EventBusController_HasCallback_Call struct {
	*mock.Call
}

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

func (*EventBusController_HasCallback_Call) Return

func (*EventBusController_HasCallback_Call) Run

func (*EventBusController_HasCallback_Call) RunAndReturn

type EventBusController_WaitAsync_Call

type EventBusController_WaitAsync_Call struct {
	*mock.Call
}

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

func (*EventBusController_WaitAsync_Call) Return

func (*EventBusController_WaitAsync_Call) Run

func (*EventBusController_WaitAsync_Call) RunAndReturn

type EventBusPublisher

type EventBusPublisher struct {
	mock.Mock
}

EventBusPublisher is an autogenerated mock type for the BusPublisher type

func NewEventBusPublisher

func NewEventBusPublisher(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventBusPublisher

NewEventBusPublisher creates a new instance of EventBusPublisher. 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 (*EventBusPublisher) EXPECT

func (*EventBusPublisher) Publish

func (_mock *EventBusPublisher) Publish(ctx context.Context, topic string, args ...interface{})

Publish provides a mock function for the type EventBusPublisher

type EventBusPublisher_Expecter

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

func (*EventBusPublisher_Expecter) Publish

func (_e *EventBusPublisher_Expecter) Publish(ctx interface{}, topic interface{}, args ...interface{}) *EventBusPublisher_Publish_Call

Publish is a helper method to define mock.On call

  • ctx context.Context
  • topic string
  • args ...interface{}

type EventBusPublisher_Publish_Call

type EventBusPublisher_Publish_Call struct {
	*mock.Call
}

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

func (*EventBusPublisher_Publish_Call) Return

func (*EventBusPublisher_Publish_Call) Run

func (_c *EventBusPublisher_Publish_Call) Run(run func(ctx context.Context, topic string, args ...interface{})) *EventBusPublisher_Publish_Call

func (*EventBusPublisher_Publish_Call) RunAndReturn

func (_c *EventBusPublisher_Publish_Call) RunAndReturn(run func(ctx context.Context, topic string, args ...interface{})) *EventBusPublisher_Publish_Call

type EventBusSubscriber

type EventBusSubscriber struct {
	mock.Mock
}

EventBusSubscriber is an autogenerated mock type for the BusSubscriber type

func NewEventBusSubscriber

func NewEventBusSubscriber(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventBusSubscriber

NewEventBusSubscriber creates a new instance of EventBusSubscriber. 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 (*EventBusSubscriber) EXPECT

func (*EventBusSubscriber) Subscribe

func (_mock *EventBusSubscriber) Subscribe(topic string, fn interface{}) error

Subscribe provides a mock function for the type EventBusSubscriber

func (*EventBusSubscriber) SubscribeAsync

func (_mock *EventBusSubscriber) SubscribeAsync(topic string, fn interface{}, transactional bool) error

SubscribeAsync provides a mock function for the type EventBusSubscriber

func (*EventBusSubscriber) SubscribeOnce

func (_mock *EventBusSubscriber) SubscribeOnce(topic string, fn interface{}) error

SubscribeOnce provides a mock function for the type EventBusSubscriber

func (*EventBusSubscriber) SubscribeOnceAsync

func (_mock *EventBusSubscriber) SubscribeOnceAsync(topic string, fn interface{}) error

SubscribeOnceAsync provides a mock function for the type EventBusSubscriber

func (*EventBusSubscriber) Unsubscribe

func (_mock *EventBusSubscriber) Unsubscribe(topic string, handler interface{}) error

Unsubscribe provides a mock function for the type EventBusSubscriber

type EventBusSubscriber_Expecter

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

func (*EventBusSubscriber_Expecter) Subscribe

func (_e *EventBusSubscriber_Expecter) Subscribe(topic interface{}, fn interface{}) *EventBusSubscriber_Subscribe_Call

Subscribe is a helper method to define mock.On call

  • topic string
  • fn interface{}

func (*EventBusSubscriber_Expecter) SubscribeAsync

func (_e *EventBusSubscriber_Expecter) SubscribeAsync(topic interface{}, fn interface{}, transactional interface{}) *EventBusSubscriber_SubscribeAsync_Call

SubscribeAsync is a helper method to define mock.On call

  • topic string
  • fn interface{}
  • transactional bool

func (*EventBusSubscriber_Expecter) SubscribeOnce

func (_e *EventBusSubscriber_Expecter) SubscribeOnce(topic interface{}, fn interface{}) *EventBusSubscriber_SubscribeOnce_Call

SubscribeOnce is a helper method to define mock.On call

  • topic string
  • fn interface{}

func (*EventBusSubscriber_Expecter) SubscribeOnceAsync

func (_e *EventBusSubscriber_Expecter) SubscribeOnceAsync(topic interface{}, fn interface{}) *EventBusSubscriber_SubscribeOnceAsync_Call

SubscribeOnceAsync is a helper method to define mock.On call

  • topic string
  • fn interface{}

func (*EventBusSubscriber_Expecter) Unsubscribe

func (_e *EventBusSubscriber_Expecter) Unsubscribe(topic interface{}, handler interface{}) *EventBusSubscriber_Unsubscribe_Call

Unsubscribe is a helper method to define mock.On call

  • topic string
  • handler interface{}

type EventBusSubscriber_SubscribeAsync_Call

type EventBusSubscriber_SubscribeAsync_Call struct {
	*mock.Call
}

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

func (*EventBusSubscriber_SubscribeAsync_Call) Return

func (*EventBusSubscriber_SubscribeAsync_Call) Run

func (_c *EventBusSubscriber_SubscribeAsync_Call) Run(run func(topic string, fn interface{}, transactional bool)) *EventBusSubscriber_SubscribeAsync_Call

func (*EventBusSubscriber_SubscribeAsync_Call) RunAndReturn

func (_c *EventBusSubscriber_SubscribeAsync_Call) RunAndReturn(run func(topic string, fn interface{}, transactional bool) error) *EventBusSubscriber_SubscribeAsync_Call

type EventBusSubscriber_SubscribeOnceAsync_Call

type EventBusSubscriber_SubscribeOnceAsync_Call struct {
	*mock.Call
}

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

func (*EventBusSubscriber_SubscribeOnceAsync_Call) Return

func (*EventBusSubscriber_SubscribeOnceAsync_Call) Run

func (*EventBusSubscriber_SubscribeOnceAsync_Call) RunAndReturn

type EventBusSubscriber_SubscribeOnce_Call

type EventBusSubscriber_SubscribeOnce_Call struct {
	*mock.Call
}

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

func (*EventBusSubscriber_SubscribeOnce_Call) Return

func (*EventBusSubscriber_SubscribeOnce_Call) Run

func (*EventBusSubscriber_SubscribeOnce_Call) RunAndReturn

func (_c *EventBusSubscriber_SubscribeOnce_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBusSubscriber_SubscribeOnce_Call

type EventBusSubscriber_Subscribe_Call

type EventBusSubscriber_Subscribe_Call struct {
	*mock.Call
}

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

func (*EventBusSubscriber_Subscribe_Call) Return

func (*EventBusSubscriber_Subscribe_Call) Run

func (_c *EventBusSubscriber_Subscribe_Call) Run(run func(topic string, fn interface{})) *EventBusSubscriber_Subscribe_Call

func (*EventBusSubscriber_Subscribe_Call) RunAndReturn

func (_c *EventBusSubscriber_Subscribe_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBusSubscriber_Subscribe_Call

type EventBusSubscriber_Unsubscribe_Call

type EventBusSubscriber_Unsubscribe_Call struct {
	*mock.Call
}

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

func (*EventBusSubscriber_Unsubscribe_Call) Return

func (*EventBusSubscriber_Unsubscribe_Call) Run

func (_c *EventBusSubscriber_Unsubscribe_Call) Run(run func(topic string, handler interface{})) *EventBusSubscriber_Unsubscribe_Call

func (*EventBusSubscriber_Unsubscribe_Call) RunAndReturn

func (_c *EventBusSubscriber_Unsubscribe_Call) RunAndReturn(run func(topic string, handler interface{}) error) *EventBusSubscriber_Unsubscribe_Call

type EventBus_Expecter

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

func (*EventBus_Expecter) HasCallback

func (_e *EventBus_Expecter) HasCallback(topic interface{}) *EventBus_HasCallback_Call

HasCallback is a helper method to define mock.On call

  • topic string

func (*EventBus_Expecter) Publish

func (_e *EventBus_Expecter) Publish(ctx interface{}, topic interface{}, args ...interface{}) *EventBus_Publish_Call

Publish is a helper method to define mock.On call

  • ctx context.Context
  • topic string
  • args ...interface{}

func (*EventBus_Expecter) Subscribe

func (_e *EventBus_Expecter) Subscribe(topic interface{}, fn interface{}) *EventBus_Subscribe_Call

Subscribe is a helper method to define mock.On call

  • topic string
  • fn interface{}

func (*EventBus_Expecter) SubscribeAsync

func (_e *EventBus_Expecter) SubscribeAsync(topic interface{}, fn interface{}, transactional interface{}) *EventBus_SubscribeAsync_Call

SubscribeAsync is a helper method to define mock.On call

  • topic string
  • fn interface{}
  • transactional bool

func (*EventBus_Expecter) SubscribeOnce

func (_e *EventBus_Expecter) SubscribeOnce(topic interface{}, fn interface{}) *EventBus_SubscribeOnce_Call

SubscribeOnce is a helper method to define mock.On call

  • topic string
  • fn interface{}

func (*EventBus_Expecter) SubscribeOnceAsync

func (_e *EventBus_Expecter) SubscribeOnceAsync(topic interface{}, fn interface{}) *EventBus_SubscribeOnceAsync_Call

SubscribeOnceAsync is a helper method to define mock.On call

  • topic string
  • fn interface{}

func (*EventBus_Expecter) Unsubscribe

func (_e *EventBus_Expecter) Unsubscribe(topic interface{}, handler interface{}) *EventBus_Unsubscribe_Call

Unsubscribe is a helper method to define mock.On call

  • topic string
  • handler interface{}

func (*EventBus_Expecter) WaitAsync

func (_e *EventBus_Expecter) WaitAsync() *EventBus_WaitAsync_Call

WaitAsync is a helper method to define mock.On call

type EventBus_HasCallback_Call

type EventBus_HasCallback_Call struct {
	*mock.Call
}

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

func (*EventBus_HasCallback_Call) Return

func (*EventBus_HasCallback_Call) Run

func (*EventBus_HasCallback_Call) RunAndReturn

func (_c *EventBus_HasCallback_Call) RunAndReturn(run func(topic string) bool) *EventBus_HasCallback_Call

type EventBus_Publish_Call

type EventBus_Publish_Call struct {
	*mock.Call
}

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

func (*EventBus_Publish_Call) Return

func (*EventBus_Publish_Call) Run

func (_c *EventBus_Publish_Call) Run(run func(ctx context.Context, topic string, args ...interface{})) *EventBus_Publish_Call

func (*EventBus_Publish_Call) RunAndReturn

func (_c *EventBus_Publish_Call) RunAndReturn(run func(ctx context.Context, topic string, args ...interface{})) *EventBus_Publish_Call

type EventBus_SubscribeAsync_Call

type EventBus_SubscribeAsync_Call struct {
	*mock.Call
}

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

func (*EventBus_SubscribeAsync_Call) Return

func (*EventBus_SubscribeAsync_Call) Run

func (_c *EventBus_SubscribeAsync_Call) Run(run func(topic string, fn interface{}, transactional bool)) *EventBus_SubscribeAsync_Call

func (*EventBus_SubscribeAsync_Call) RunAndReturn

func (_c *EventBus_SubscribeAsync_Call) RunAndReturn(run func(topic string, fn interface{}, transactional bool) error) *EventBus_SubscribeAsync_Call

type EventBus_SubscribeOnceAsync_Call

type EventBus_SubscribeOnceAsync_Call struct {
	*mock.Call
}

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

func (*EventBus_SubscribeOnceAsync_Call) Return

func (*EventBus_SubscribeOnceAsync_Call) Run

func (_c *EventBus_SubscribeOnceAsync_Call) Run(run func(topic string, fn interface{})) *EventBus_SubscribeOnceAsync_Call

func (*EventBus_SubscribeOnceAsync_Call) RunAndReturn

func (_c *EventBus_SubscribeOnceAsync_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBus_SubscribeOnceAsync_Call

type EventBus_SubscribeOnce_Call

type EventBus_SubscribeOnce_Call struct {
	*mock.Call
}

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

func (*EventBus_SubscribeOnce_Call) Return

func (*EventBus_SubscribeOnce_Call) Run

func (_c *EventBus_SubscribeOnce_Call) Run(run func(topic string, fn interface{})) *EventBus_SubscribeOnce_Call

func (*EventBus_SubscribeOnce_Call) RunAndReturn

func (_c *EventBus_SubscribeOnce_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBus_SubscribeOnce_Call

type EventBus_Subscribe_Call

type EventBus_Subscribe_Call struct {
	*mock.Call
}

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

func (*EventBus_Subscribe_Call) Return

func (*EventBus_Subscribe_Call) Run

func (_c *EventBus_Subscribe_Call) Run(run func(topic string, fn interface{})) *EventBus_Subscribe_Call

func (*EventBus_Subscribe_Call) RunAndReturn

func (_c *EventBus_Subscribe_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBus_Subscribe_Call

type EventBus_Unsubscribe_Call

type EventBus_Unsubscribe_Call struct {
	*mock.Call
}

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

func (*EventBus_Unsubscribe_Call) Return

func (*EventBus_Unsubscribe_Call) Run

func (_c *EventBus_Unsubscribe_Call) Run(run func(topic string, handler interface{})) *EventBus_Unsubscribe_Call

func (*EventBus_Unsubscribe_Call) RunAndReturn

func (_c *EventBus_Unsubscribe_Call) RunAndReturn(run func(topic string, handler interface{}) error) *EventBus_Unsubscribe_Call

type EventBus_WaitAsync_Call

type EventBus_WaitAsync_Call struct {
	*mock.Call
}

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

func (*EventBus_WaitAsync_Call) Return

func (*EventBus_WaitAsync_Call) Run

func (_c *EventBus_WaitAsync_Call) Run(run func()) *EventBus_WaitAsync_Call

func (*EventBus_WaitAsync_Call) RunAndReturn

func (_c *EventBus_WaitAsync_Call) RunAndReturn(run func()) *EventBus_WaitAsync_Call

type EventEvent

type EventEvent[T any] struct {
	mock.Mock
}

EventEvent is an autogenerated mock type for the Event type

func NewEventEvent

func NewEventEvent[T any](t interface {
	mock.TestingT
	Cleanup(func())
}) *EventEvent[T]

NewEventEvent creates a new instance of EventEvent. 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 (*EventEvent[T]) EXPECT

func (_m *EventEvent[T]) EXPECT() *EventEvent_Expecter[T]

func (*EventEvent[T]) Execute

func (_mock *EventEvent[T]) Execute(ctx context.Context, data T) error

Execute provides a mock function for the type EventEvent

func (*EventEvent[T]) ExecuteAsync

func (_mock *EventEvent[T]) ExecuteAsync(ctx context.Context, data T)

ExecuteAsync provides a mock function for the type EventEvent

func (*EventEvent[T]) Register

func (_mock *EventEvent[T]) Register(handler func(ctx context.Context, data T) error)

Register provides a mock function for the type EventEvent

func (*EventEvent[T]) Wait

func (_mock *EventEvent[T]) Wait()

Wait provides a mock function for the type EventEvent

type EventEvent_ExecuteAsync_Call

type EventEvent_ExecuteAsync_Call[T any] struct {
	*mock.Call
}

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

func (*EventEvent_ExecuteAsync_Call[T]) Return

func (*EventEvent_ExecuteAsync_Call[T]) Run

func (_c *EventEvent_ExecuteAsync_Call[T]) Run(run func(ctx context.Context, data T)) *EventEvent_ExecuteAsync_Call[T]

func (*EventEvent_ExecuteAsync_Call[T]) RunAndReturn

func (_c *EventEvent_ExecuteAsync_Call[T]) RunAndReturn(run func(ctx context.Context, data T)) *EventEvent_ExecuteAsync_Call[T]

type EventEvent_Execute_Call

type EventEvent_Execute_Call[T any] struct {
	*mock.Call
}

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

func (*EventEvent_Execute_Call[T]) Return

func (_c *EventEvent_Execute_Call[T]) Return(err error) *EventEvent_Execute_Call[T]

func (*EventEvent_Execute_Call[T]) Run

func (_c *EventEvent_Execute_Call[T]) Run(run func(ctx context.Context, data T)) *EventEvent_Execute_Call[T]

func (*EventEvent_Execute_Call[T]) RunAndReturn

func (_c *EventEvent_Execute_Call[T]) RunAndReturn(run func(ctx context.Context, data T) error) *EventEvent_Execute_Call[T]

type EventEvent_Expecter

type EventEvent_Expecter[T any] struct {
	// contains filtered or unexported fields
}

func (*EventEvent_Expecter[T]) Execute

func (_e *EventEvent_Expecter[T]) Execute(ctx interface{}, data interface{}) *EventEvent_Execute_Call[T]

Execute is a helper method to define mock.On call

  • ctx context.Context
  • data T

func (*EventEvent_Expecter[T]) ExecuteAsync

func (_e *EventEvent_Expecter[T]) ExecuteAsync(ctx interface{}, data interface{}) *EventEvent_ExecuteAsync_Call[T]

ExecuteAsync is a helper method to define mock.On call

  • ctx context.Context
  • data T

func (*EventEvent_Expecter[T]) Register

func (_e *EventEvent_Expecter[T]) Register(handler interface{}) *EventEvent_Register_Call[T]

Register is a helper method to define mock.On call

  • handler func(ctx context.Context, data T) error

func (*EventEvent_Expecter[T]) Wait

func (_e *EventEvent_Expecter[T]) Wait() *EventEvent_Wait_Call[T]

Wait is a helper method to define mock.On call

type EventEvent_Register_Call

type EventEvent_Register_Call[T any] struct {
	*mock.Call
}

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

func (*EventEvent_Register_Call[T]) Return

func (*EventEvent_Register_Call[T]) Run

func (_c *EventEvent_Register_Call[T]) Run(run func(handler func(ctx context.Context, data T) error)) *EventEvent_Register_Call[T]

func (*EventEvent_Register_Call[T]) RunAndReturn

func (_c *EventEvent_Register_Call[T]) RunAndReturn(run func(handler func(ctx context.Context, data T) error)) *EventEvent_Register_Call[T]

type EventEvent_Wait_Call

type EventEvent_Wait_Call[T any] struct {
	*mock.Call
}

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

func (*EventEvent_Wait_Call[T]) Return

func (_c *EventEvent_Wait_Call[T]) Return() *EventEvent_Wait_Call[T]

func (*EventEvent_Wait_Call[T]) Run

func (_c *EventEvent_Wait_Call[T]) Run(run func()) *EventEvent_Wait_Call[T]

func (*EventEvent_Wait_Call[T]) RunAndReturn

func (_c *EventEvent_Wait_Call[T]) RunAndReturn(run func()) *EventEvent_Wait_Call[T]

type GoogleCaptcha

type GoogleCaptcha struct {
	mock.Mock
}

GoogleCaptcha is an autogenerated mock type for the Captcha type

func NewGoogleCaptcha

func NewGoogleCaptcha(t interface {
	mock.TestingT
	Cleanup(func())
}) *GoogleCaptcha

NewGoogleCaptcha creates a new instance of GoogleCaptcha. 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 (*GoogleCaptcha) EXPECT

func (_m *GoogleCaptcha) EXPECT() *GoogleCaptcha_Expecter

func (*GoogleCaptcha) Verify

func (_mock *GoogleCaptcha) Verify(ctx context.Context, rq *google.CaptchaRequest) (bool, error)

Verify provides a mock function for the type GoogleCaptcha

type GoogleCaptcha_Expecter

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

func (*GoogleCaptcha_Expecter) Verify

func (_e *GoogleCaptcha_Expecter) Verify(ctx interface{}, rq interface{}) *GoogleCaptcha_Verify_Call

Verify is a helper method to define mock.On call

  • ctx context.Context
  • rq *google.CaptchaRequest

type GoogleCaptcha_Verify_Call

type GoogleCaptcha_Verify_Call struct {
	*mock.Call
}

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

func (*GoogleCaptcha_Verify_Call) Return

func (*GoogleCaptcha_Verify_Call) Run

func (*GoogleCaptcha_Verify_Call) RunAndReturn

type GoogleOAuth2

type GoogleOAuth2 struct {
	mock.Mock
}

GoogleOAuth2 is an autogenerated mock type for the OAuth2 type

func NewGoogleOAuth2

func NewGoogleOAuth2(t interface {
	mock.TestingT
	Cleanup(func())
}) *GoogleOAuth2

NewGoogleOAuth2 creates a new instance of GoogleOAuth2. 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 (*GoogleOAuth2) EXPECT

func (_m *GoogleOAuth2) EXPECT() *GoogleOAuth2_Expecter

func (*GoogleOAuth2) GetGoogleUser

func (_mock *GoogleOAuth2) GetGoogleUser(ctx context.Context, token string) (*oauth2.Userinfo, error)

GetGoogleUser provides a mock function for the type GoogleOAuth2

type GoogleOAuth2_Expecter

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

func (*GoogleOAuth2_Expecter) GetGoogleUser

func (_e *GoogleOAuth2_Expecter) GetGoogleUser(ctx interface{}, token interface{}) *GoogleOAuth2_GetGoogleUser_Call

GetGoogleUser is a helper method to define mock.On call

  • ctx context.Context
  • token string

type GoogleOAuth2_GetGoogleUser_Call

type GoogleOAuth2_GetGoogleUser_Call struct {
	*mock.Call
}

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

func (*GoogleOAuth2_GetGoogleUser_Call) Return

func (*GoogleOAuth2_GetGoogleUser_Call) Run

func (*GoogleOAuth2_GetGoogleUser_Call) RunAndReturn

type GoroutineErrGroup

type GoroutineErrGroup struct {
	mock.Mock
}

GoroutineErrGroup is an autogenerated mock type for the ErrGroup type

func NewGoroutineErrGroup

func NewGoroutineErrGroup(t interface {
	mock.TestingT
	Cleanup(func())
}) *GoroutineErrGroup

NewGoroutineErrGroup creates a new instance of GoroutineErrGroup. 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 (*GoroutineErrGroup) Cancel

func (_mock *GoroutineErrGroup) Cancel()

Cancel provides a mock function for the type GoroutineErrGroup

func (*GoroutineErrGroup) CancelFunc

func (_mock *GoroutineErrGroup) CancelFunc() func()

CancelFunc provides a mock function for the type GoroutineErrGroup

func (*GoroutineErrGroup) Cmp

func (_mock *GoroutineErrGroup) Cmp(component string) goroutine.ErrGroup

Cmp provides a mock function for the type GoroutineErrGroup

func (*GoroutineErrGroup) EXPECT

func (*GoroutineErrGroup) Go

func (_mock *GoroutineErrGroup) Go(f func() error)

Go provides a mock function for the type GoroutineErrGroup

func (*GoroutineErrGroup) Mth

func (_mock *GoroutineErrGroup) Mth(method string) goroutine.ErrGroup

Mth provides a mock function for the type GoroutineErrGroup

func (*GoroutineErrGroup) Wait

func (_mock *GoroutineErrGroup) Wait() error

Wait provides a mock function for the type GoroutineErrGroup

func (*GoroutineErrGroup) WithLogger

func (_mock *GoroutineErrGroup) WithLogger(logger jet.CLogger) goroutine.ErrGroup

WithLogger provides a mock function for the type GoroutineErrGroup

func (*GoroutineErrGroup) WithLoggerFn

func (_mock *GoroutineErrGroup) WithLoggerFn(loggerFn jet.CLoggerFunc) goroutine.ErrGroup

WithLoggerFn provides a mock function for the type GoroutineErrGroup

type GoroutineErrGroup_CancelFunc_Call

type GoroutineErrGroup_CancelFunc_Call struct {
	*mock.Call
}

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

func (*GoroutineErrGroup_CancelFunc_Call) Return

func (*GoroutineErrGroup_CancelFunc_Call) Run

func (*GoroutineErrGroup_CancelFunc_Call) RunAndReturn

func (_c *GoroutineErrGroup_CancelFunc_Call) RunAndReturn(run func() func()) *GoroutineErrGroup_CancelFunc_Call

type GoroutineErrGroup_Cancel_Call

type GoroutineErrGroup_Cancel_Call struct {
	*mock.Call
}

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

func (*GoroutineErrGroup_Cancel_Call) Return

func (*GoroutineErrGroup_Cancel_Call) Run

func (*GoroutineErrGroup_Cancel_Call) RunAndReturn

func (_c *GoroutineErrGroup_Cancel_Call) RunAndReturn(run func()) *GoroutineErrGroup_Cancel_Call

type GoroutineErrGroup_Cmp_Call

type GoroutineErrGroup_Cmp_Call struct {
	*mock.Call
}

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

func (*GoroutineErrGroup_Cmp_Call) Return

func (*GoroutineErrGroup_Cmp_Call) Run

func (_c *GoroutineErrGroup_Cmp_Call) Run(run func(component string)) *GoroutineErrGroup_Cmp_Call

func (*GoroutineErrGroup_Cmp_Call) RunAndReturn

func (_c *GoroutineErrGroup_Cmp_Call) RunAndReturn(run func(component string) goroutine.ErrGroup) *GoroutineErrGroup_Cmp_Call

type GoroutineErrGroup_Expecter

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

func (*GoroutineErrGroup_Expecter) Cancel

Cancel is a helper method to define mock.On call

func (*GoroutineErrGroup_Expecter) CancelFunc

CancelFunc is a helper method to define mock.On call

func (*GoroutineErrGroup_Expecter) Cmp

func (_e *GoroutineErrGroup_Expecter) Cmp(component interface{}) *GoroutineErrGroup_Cmp_Call

Cmp is a helper method to define mock.On call

  • component string

func (*GoroutineErrGroup_Expecter) Go

Go is a helper method to define mock.On call

  • f func() error

func (*GoroutineErrGroup_Expecter) Mth

func (_e *GoroutineErrGroup_Expecter) Mth(method interface{}) *GoroutineErrGroup_Mth_Call

Mth is a helper method to define mock.On call

  • method string

func (*GoroutineErrGroup_Expecter) Wait

Wait is a helper method to define mock.On call

func (*GoroutineErrGroup_Expecter) WithLogger

func (_e *GoroutineErrGroup_Expecter) WithLogger(logger interface{}) *GoroutineErrGroup_WithLogger_Call

WithLogger is a helper method to define mock.On call

  • logger jet.CLogger

func (*GoroutineErrGroup_Expecter) WithLoggerFn

func (_e *GoroutineErrGroup_Expecter) WithLoggerFn(loggerFn interface{}) *GoroutineErrGroup_WithLoggerFn_Call

WithLoggerFn is a helper method to define mock.On call

  • loggerFn jet.CLoggerFunc

type GoroutineErrGroup_Go_Call

type GoroutineErrGroup_Go_Call struct {
	*mock.Call
}

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

func (*GoroutineErrGroup_Go_Call) Return

func (*GoroutineErrGroup_Go_Call) Run

func (_c *GoroutineErrGroup_Go_Call) Run(run func(f func() error)) *GoroutineErrGroup_Go_Call

func (*GoroutineErrGroup_Go_Call) RunAndReturn

func (_c *GoroutineErrGroup_Go_Call) RunAndReturn(run func(f func() error)) *GoroutineErrGroup_Go_Call

type GoroutineErrGroup_Mth_Call

type GoroutineErrGroup_Mth_Call struct {
	*mock.Call
}

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

func (*GoroutineErrGroup_Mth_Call) Return

func (*GoroutineErrGroup_Mth_Call) Run

func (*GoroutineErrGroup_Mth_Call) RunAndReturn

type GoroutineErrGroup_Wait_Call

type GoroutineErrGroup_Wait_Call struct {
	*mock.Call
}

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

func (*GoroutineErrGroup_Wait_Call) Return

func (*GoroutineErrGroup_Wait_Call) Run

func (*GoroutineErrGroup_Wait_Call) RunAndReturn

func (_c *GoroutineErrGroup_Wait_Call) RunAndReturn(run func() error) *GoroutineErrGroup_Wait_Call

type GoroutineErrGroup_WithLoggerFn_Call

type GoroutineErrGroup_WithLoggerFn_Call struct {
	*mock.Call
}

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

func (*GoroutineErrGroup_WithLoggerFn_Call) Return

func (*GoroutineErrGroup_WithLoggerFn_Call) Run

func (*GoroutineErrGroup_WithLoggerFn_Call) RunAndReturn

type GoroutineErrGroup_WithLogger_Call

type GoroutineErrGroup_WithLogger_Call struct {
	*mock.Call
}

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

func (*GoroutineErrGroup_WithLogger_Call) Return

func (*GoroutineErrGroup_WithLogger_Call) Run

func (*GoroutineErrGroup_WithLogger_Call) RunAndReturn

type GoroutineGoroutine

type GoroutineGoroutine struct {
	mock.Mock
}

GoroutineGoroutine is an autogenerated mock type for the Goroutine type

func NewGoroutineGoroutine

func NewGoroutineGoroutine(t interface {
	mock.TestingT
	Cleanup(func())
}) *GoroutineGoroutine

NewGoroutineGoroutine creates a new instance of GoroutineGoroutine. 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 (*GoroutineGoroutine) Cmp

func (_mock *GoroutineGoroutine) Cmp(component string) goroutine.Goroutine

Cmp provides a mock function for the type GoroutineGoroutine

func (*GoroutineGoroutine) EXPECT

func (*GoroutineGoroutine) Go

func (_mock *GoroutineGoroutine) Go(ctx context.Context, f func())

Go provides a mock function for the type GoroutineGoroutine

func (*GoroutineGoroutine) Mth

func (_mock *GoroutineGoroutine) Mth(method string) goroutine.Goroutine

Mth provides a mock function for the type GoroutineGoroutine

func (*GoroutineGoroutine) WithLogger

func (_mock *GoroutineGoroutine) WithLogger(logger jet.CLogger) goroutine.Goroutine

WithLogger provides a mock function for the type GoroutineGoroutine

func (*GoroutineGoroutine) WithLoggerFn

func (_mock *GoroutineGoroutine) WithLoggerFn(loggerFn jet.CLoggerFunc) goroutine.Goroutine

WithLoggerFn provides a mock function for the type GoroutineGoroutine

func (*GoroutineGoroutine) WithRetry

func (_mock *GoroutineGoroutine) WithRetry(retry int) goroutine.Goroutine

WithRetry provides a mock function for the type GoroutineGoroutine

func (*GoroutineGoroutine) WithRetryDelay

func (_mock *GoroutineGoroutine) WithRetryDelay(delay time.Duration) goroutine.Goroutine

WithRetryDelay provides a mock function for the type GoroutineGoroutine

type GoroutineGoroutine_Cmp_Call

type GoroutineGoroutine_Cmp_Call struct {
	*mock.Call
}

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

func (*GoroutineGoroutine_Cmp_Call) Return

func (*GoroutineGoroutine_Cmp_Call) Run

func (_c *GoroutineGoroutine_Cmp_Call) Run(run func(component string)) *GoroutineGoroutine_Cmp_Call

func (*GoroutineGoroutine_Cmp_Call) RunAndReturn

func (_c *GoroutineGoroutine_Cmp_Call) RunAndReturn(run func(component string) goroutine.Goroutine) *GoroutineGoroutine_Cmp_Call

type GoroutineGoroutine_Expecter

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

func (*GoroutineGoroutine_Expecter) Cmp

func (_e *GoroutineGoroutine_Expecter) Cmp(component interface{}) *GoroutineGoroutine_Cmp_Call

Cmp is a helper method to define mock.On call

  • component string

func (*GoroutineGoroutine_Expecter) Go

func (_e *GoroutineGoroutine_Expecter) Go(ctx interface{}, f interface{}) *GoroutineGoroutine_Go_Call

Go is a helper method to define mock.On call

  • ctx context.Context
  • f func()

func (*GoroutineGoroutine_Expecter) Mth

func (_e *GoroutineGoroutine_Expecter) Mth(method interface{}) *GoroutineGoroutine_Mth_Call

Mth is a helper method to define mock.On call

  • method string

func (*GoroutineGoroutine_Expecter) WithLogger

func (_e *GoroutineGoroutine_Expecter) WithLogger(logger interface{}) *GoroutineGoroutine_WithLogger_Call

WithLogger is a helper method to define mock.On call

  • logger jet.CLogger

func (*GoroutineGoroutine_Expecter) WithLoggerFn

func (_e *GoroutineGoroutine_Expecter) WithLoggerFn(loggerFn interface{}) *GoroutineGoroutine_WithLoggerFn_Call

WithLoggerFn is a helper method to define mock.On call

  • loggerFn jet.CLoggerFunc

func (*GoroutineGoroutine_Expecter) WithRetry

func (_e *GoroutineGoroutine_Expecter) WithRetry(retry interface{}) *GoroutineGoroutine_WithRetry_Call

WithRetry is a helper method to define mock.On call

  • retry int

func (*GoroutineGoroutine_Expecter) WithRetryDelay

func (_e *GoroutineGoroutine_Expecter) WithRetryDelay(delay interface{}) *GoroutineGoroutine_WithRetryDelay_Call

WithRetryDelay is a helper method to define mock.On call

  • delay time.Duration

type GoroutineGoroutine_Go_Call

type GoroutineGoroutine_Go_Call struct {
	*mock.Call
}

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

func (*GoroutineGoroutine_Go_Call) Return

func (*GoroutineGoroutine_Go_Call) Run

func (_c *GoroutineGoroutine_Go_Call) Run(run func(ctx context.Context, f func())) *GoroutineGoroutine_Go_Call

func (*GoroutineGoroutine_Go_Call) RunAndReturn

func (_c *GoroutineGoroutine_Go_Call) RunAndReturn(run func(ctx context.Context, f func())) *GoroutineGoroutine_Go_Call

type GoroutineGoroutine_Mth_Call

type GoroutineGoroutine_Mth_Call struct {
	*mock.Call
}

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

func (*GoroutineGoroutine_Mth_Call) Return

func (*GoroutineGoroutine_Mth_Call) Run

func (*GoroutineGoroutine_Mth_Call) RunAndReturn

type GoroutineGoroutine_WithLoggerFn_Call

type GoroutineGoroutine_WithLoggerFn_Call struct {
	*mock.Call
}

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

func (*GoroutineGoroutine_WithLoggerFn_Call) Return

func (*GoroutineGoroutine_WithLoggerFn_Call) Run

func (*GoroutineGoroutine_WithLoggerFn_Call) RunAndReturn

type GoroutineGoroutine_WithLogger_Call

type GoroutineGoroutine_WithLogger_Call struct {
	*mock.Call
}

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

func (*GoroutineGoroutine_WithLogger_Call) Return

func (*GoroutineGoroutine_WithLogger_Call) Run

func (*GoroutineGoroutine_WithLogger_Call) RunAndReturn

type GoroutineGoroutine_WithRetryDelay_Call

type GoroutineGoroutine_WithRetryDelay_Call struct {
	*mock.Call
}

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

func (*GoroutineGoroutine_WithRetryDelay_Call) Return

func (*GoroutineGoroutine_WithRetryDelay_Call) Run

func (*GoroutineGoroutine_WithRetryDelay_Call) RunAndReturn

type GoroutineGoroutine_WithRetry_Call

type GoroutineGoroutine_WithRetry_Call struct {
	*mock.Call
}

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

func (*GoroutineGoroutine_WithRetry_Call) Return

func (*GoroutineGoroutine_WithRetry_Call) Run

func (*GoroutineGoroutine_WithRetry_Call) RunAndReturn

type GrpcTestServiceClient

type GrpcTestServiceClient struct {
	mock.Mock
}

GrpcTestServiceClient is an autogenerated mock type for the TestServiceClient type

func NewGrpcTestServiceClient

func NewGrpcTestServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *GrpcTestServiceClient

NewGrpcTestServiceClient creates a new instance of GrpcTestServiceClient. 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 (*GrpcTestServiceClient) Do

func (_mock *GrpcTestServiceClient) Do(ctx context.Context, in *grpc.Empty, opts ...grpc0.CallOption) (*grpc.Empty, error)

Do provides a mock function for the type GrpcTestServiceClient

func (*GrpcTestServiceClient) EXPECT

func (*GrpcTestServiceClient) WithError

WithError provides a mock function for the type GrpcTestServiceClient

func (*GrpcTestServiceClient) WithPanic

WithPanic provides a mock function for the type GrpcTestServiceClient

type GrpcTestServiceClient_Do_Call

type GrpcTestServiceClient_Do_Call struct {
	*mock.Call
}

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

func (*GrpcTestServiceClient_Do_Call) Return

func (*GrpcTestServiceClient_Do_Call) Run

func (*GrpcTestServiceClient_Do_Call) RunAndReturn

type GrpcTestServiceClient_Expecter

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

func (*GrpcTestServiceClient_Expecter) Do

func (_e *GrpcTestServiceClient_Expecter) Do(ctx interface{}, in interface{}, opts ...interface{}) *GrpcTestServiceClient_Do_Call

Do is a helper method to define mock.On call

  • ctx context.Context
  • in *grpc.Empty
  • opts ...grpc0.CallOption

func (*GrpcTestServiceClient_Expecter) WithError

func (_e *GrpcTestServiceClient_Expecter) WithError(ctx interface{}, in interface{}, opts ...interface{}) *GrpcTestServiceClient_WithError_Call

WithError is a helper method to define mock.On call

  • ctx context.Context
  • in *grpc.WithErrorRequest
  • opts ...grpc0.CallOption

func (*GrpcTestServiceClient_Expecter) WithPanic

func (_e *GrpcTestServiceClient_Expecter) WithPanic(ctx interface{}, in interface{}, opts ...interface{}) *GrpcTestServiceClient_WithPanic_Call

WithPanic is a helper method to define mock.On call

  • ctx context.Context
  • in *grpc.WithPanicRequest
  • opts ...grpc0.CallOption

type GrpcTestServiceClient_WithError_Call

type GrpcTestServiceClient_WithError_Call struct {
	*mock.Call
}

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

func (*GrpcTestServiceClient_WithError_Call) Return

func (*GrpcTestServiceClient_WithError_Call) Run

func (*GrpcTestServiceClient_WithError_Call) RunAndReturn

type GrpcTestServiceClient_WithPanic_Call

type GrpcTestServiceClient_WithPanic_Call struct {
	*mock.Call
}

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

func (*GrpcTestServiceClient_WithPanic_Call) Return

func (*GrpcTestServiceClient_WithPanic_Call) Run

func (*GrpcTestServiceClient_WithPanic_Call) RunAndReturn

type GrpcTestServiceServer

type GrpcTestServiceServer struct {
	mock.Mock
}

GrpcTestServiceServer is an autogenerated mock type for the TestServiceServer type

func NewGrpcTestServiceServer

func NewGrpcTestServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *GrpcTestServiceServer

NewGrpcTestServiceServer creates a new instance of GrpcTestServiceServer. 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 (*GrpcTestServiceServer) Do

func (_mock *GrpcTestServiceServer) Do(context1 context.Context, empty *grpc.Empty) (*grpc.Empty, error)

Do provides a mock function for the type GrpcTestServiceServer

func (*GrpcTestServiceServer) EXPECT

func (*GrpcTestServiceServer) WithError

func (_mock *GrpcTestServiceServer) WithError(context1 context.Context, withErrorRequest *grpc.WithErrorRequest) (*grpc.WithErrorResponse, error)

WithError provides a mock function for the type GrpcTestServiceServer

func (*GrpcTestServiceServer) WithPanic

func (_mock *GrpcTestServiceServer) WithPanic(context1 context.Context, withPanicRequest *grpc.WithPanicRequest) (*grpc.WithPanicResponse, error)

WithPanic provides a mock function for the type GrpcTestServiceServer

type GrpcTestServiceServer_Do_Call

type GrpcTestServiceServer_Do_Call struct {
	*mock.Call
}

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

func (*GrpcTestServiceServer_Do_Call) Return

func (*GrpcTestServiceServer_Do_Call) Run

func (*GrpcTestServiceServer_Do_Call) RunAndReturn

func (_c *GrpcTestServiceServer_Do_Call) RunAndReturn(run func(context1 context.Context, empty *grpc.Empty) (*grpc.Empty, error)) *GrpcTestServiceServer_Do_Call

type GrpcTestServiceServer_Expecter

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

func (*GrpcTestServiceServer_Expecter) Do

func (_e *GrpcTestServiceServer_Expecter) Do(context1 interface{}, empty interface{}) *GrpcTestServiceServer_Do_Call

Do is a helper method to define mock.On call

  • context1 context.Context
  • empty *grpc.Empty

func (*GrpcTestServiceServer_Expecter) WithError

func (_e *GrpcTestServiceServer_Expecter) WithError(context1 interface{}, withErrorRequest interface{}) *GrpcTestServiceServer_WithError_Call

WithError is a helper method to define mock.On call

  • context1 context.Context
  • withErrorRequest *grpc.WithErrorRequest

func (*GrpcTestServiceServer_Expecter) WithPanic

func (_e *GrpcTestServiceServer_Expecter) WithPanic(context1 interface{}, withPanicRequest interface{}) *GrpcTestServiceServer_WithPanic_Call

WithPanic is a helper method to define mock.On call

  • context1 context.Context
  • withPanicRequest *grpc.WithPanicRequest

type GrpcTestServiceServer_WithError_Call

type GrpcTestServiceServer_WithError_Call struct {
	*mock.Call
}

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

func (*GrpcTestServiceServer_WithError_Call) Return

func (*GrpcTestServiceServer_WithError_Call) Run

func (*GrpcTestServiceServer_WithError_Call) RunAndReturn

type GrpcTestServiceServer_WithPanic_Call

type GrpcTestServiceServer_WithPanic_Call struct {
	*mock.Call
}

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

func (*GrpcTestServiceServer_WithPanic_Call) Return

func (*GrpcTestServiceServer_WithPanic_Call) Run

func (*GrpcTestServiceServer_WithPanic_Call) RunAndReturn

type GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call

type GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call struct {
	*mock.Call
}

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

func (*GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Return

func (*GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Run

func (*GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn

type GrpcUnsafeTestServiceServer

type GrpcUnsafeTestServiceServer struct {
	mock.Mock
}

GrpcUnsafeTestServiceServer is an autogenerated mock type for the UnsafeTestServiceServer type

func NewGrpcUnsafeTestServiceServer

func NewGrpcUnsafeTestServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *GrpcUnsafeTestServiceServer

NewGrpcUnsafeTestServiceServer creates a new instance of GrpcUnsafeTestServiceServer. 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 (*GrpcUnsafeTestServiceServer) EXPECT

type GrpcUnsafeTestServiceServer_Expecter

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

type GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call

type GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call struct {
	*mock.Call
}

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

func (*GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Return

func (*GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Run

func (*GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn

type HttpController

type HttpController struct {
	mock.Mock
}

HttpController is an autogenerated mock type for the Controller type

func NewHttpController

func NewHttpController(t interface {
	mock.TestingT
	Cleanup(func())
}) *HttpController

NewHttpController creates a new instance of HttpController. 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 (*HttpController) EXPECT

func (*HttpController) HasRoles

func (_mock *HttpController) HasRoles(roles ...string) func(ctx context.Context, r *http.Request) (bool, error)

HasRoles provides a mock function for the type HttpController

func (*HttpController) MyUser

func (_mock *HttpController) MyUser(ctx context.Context, r *http.Request) (bool, error)

MyUser provides a mock function for the type HttpController

type HttpController_Expecter

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

func (*HttpController_Expecter) HasRoles

func (_e *HttpController_Expecter) HasRoles(roles ...interface{}) *HttpController_HasRoles_Call

HasRoles is a helper method to define mock.On call

  • roles ...string

func (*HttpController_Expecter) MyUser

func (_e *HttpController_Expecter) MyUser(ctx interface{}, r interface{}) *HttpController_MyUser_Call

MyUser is a helper method to define mock.On call

  • ctx context.Context
  • r *http.Request

type HttpController_HasRoles_Call

type HttpController_HasRoles_Call struct {
	*mock.Call
}

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

func (*HttpController_HasRoles_Call) Return

func (*HttpController_HasRoles_Call) Run

func (*HttpController_HasRoles_Call) RunAndReturn

func (_c *HttpController_HasRoles_Call) RunAndReturn(run func(roles ...string) func(ctx context.Context, r *http.Request) (bool, error)) *HttpController_HasRoles_Call

type HttpController_MyUser_Call

type HttpController_MyUser_Call struct {
	*mock.Call
}

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

func (*HttpController_MyUser_Call) Return

func (*HttpController_MyUser_Call) Run

func (*HttpController_MyUser_Call) RunAndReturn

type HttpHttpClient

type HttpHttpClient struct {
	mock.Mock
}

HttpHttpClient is an autogenerated mock type for the HttpClient type

func NewHttpHttpClient

func NewHttpHttpClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *HttpHttpClient

NewHttpHttpClient creates a new instance of HttpHttpClient. 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 (*HttpHttpClient) Do

func (_mock *HttpHttpClient) Do(req *http.Request) (*http.Response, error)

Do provides a mock function for the type HttpHttpClient

func (*HttpHttpClient) EXPECT

type HttpHttpClient_Do_Call

type HttpHttpClient_Do_Call struct {
	*mock.Call
}

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

func (*HttpHttpClient_Do_Call) Return

func (_c *HttpHttpClient_Do_Call) Return(response *http.Response, err error) *HttpHttpClient_Do_Call

func (*HttpHttpClient_Do_Call) Run

func (_c *HttpHttpClient_Do_Call) Run(run func(req *http.Request)) *HttpHttpClient_Do_Call

func (*HttpHttpClient_Do_Call) RunAndReturn

func (_c *HttpHttpClient_Do_Call) RunAndReturn(run func(req *http.Request) (*http.Response, error)) *HttpHttpClient_Do_Call

type HttpHttpClient_Expecter

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

func (*HttpHttpClient_Expecter) Do

func (_e *HttpHttpClient_Expecter) Do(req interface{}) *HttpHttpClient_Do_Call

Do is a helper method to define mock.On call

  • req *http.Request

type HttpMetricsProvider

type HttpMetricsProvider struct {
	mock.Mock
}

HttpMetricsProvider is an autogenerated mock type for the MetricsProvider type

func NewHttpMetricsProvider

func NewHttpMetricsProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *HttpMetricsProvider

NewHttpMetricsProvider creates a new instance of HttpMetricsProvider. 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 (*HttpMetricsProvider) EXPECT

func (*HttpMetricsProvider) GetCollector

func (_mock *HttpMetricsProvider) GetCollector() monitoring.MetricsCollector

GetCollector provides a mock function for the type HttpMetricsProvider

func (*HttpMetricsProvider) RequestErrorInc

func (_mock *HttpMetricsProvider) RequestErrorInc(ctx context.Context, metric *http0.RequestError)

RequestErrorInc provides a mock function for the type HttpMetricsProvider

func (*HttpMetricsProvider) RequestLatencySet

func (_mock *HttpMetricsProvider) RequestLatencySet(ctx context.Context, metric *http0.RequestLatency)

RequestLatencySet provides a mock function for the type HttpMetricsProvider

type HttpMetricsProvider_Expecter

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

func (*HttpMetricsProvider_Expecter) GetCollector

GetCollector is a helper method to define mock.On call

func (*HttpMetricsProvider_Expecter) RequestErrorInc

func (_e *HttpMetricsProvider_Expecter) RequestErrorInc(ctx interface{}, metric interface{}) *HttpMetricsProvider_RequestErrorInc_Call

RequestErrorInc is a helper method to define mock.On call

  • ctx context.Context
  • metric *http0.RequestError

func (*HttpMetricsProvider_Expecter) RequestLatencySet

func (_e *HttpMetricsProvider_Expecter) RequestLatencySet(ctx interface{}, metric interface{}) *HttpMetricsProvider_RequestLatencySet_Call

RequestLatencySet is a helper method to define mock.On call

  • ctx context.Context
  • metric *http0.RequestLatency

type HttpMetricsProvider_GetCollector_Call

type HttpMetricsProvider_GetCollector_Call struct {
	*mock.Call
}

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

func (*HttpMetricsProvider_GetCollector_Call) Return

func (*HttpMetricsProvider_GetCollector_Call) Run

func (*HttpMetricsProvider_GetCollector_Call) RunAndReturn

type HttpMetricsProvider_RequestErrorInc_Call

type HttpMetricsProvider_RequestErrorInc_Call struct {
	*mock.Call
}

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

func (*HttpMetricsProvider_RequestErrorInc_Call) Return

func (*HttpMetricsProvider_RequestErrorInc_Call) Run

func (*HttpMetricsProvider_RequestErrorInc_Call) RunAndReturn

type HttpMetricsProvider_RequestLatencySet_Call

type HttpMetricsProvider_RequestLatencySet_Call struct {
	*mock.Call
}

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

func (*HttpMetricsProvider_RequestLatencySet_Call) Return

func (*HttpMetricsProvider_RequestLatencySet_Call) Run

func (*HttpMetricsProvider_RequestLatencySet_Call) RunAndReturn

type HttpResourcePolicy

type HttpResourcePolicy struct {
	mock.Mock
}

HttpResourcePolicy is an autogenerated mock type for the ResourcePolicy type

func NewHttpResourcePolicy

func NewHttpResourcePolicy(t interface {
	mock.TestingT
	Cleanup(func())
}) *HttpResourcePolicy

NewHttpResourcePolicy creates a new instance of HttpResourcePolicy. 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 (*HttpResourcePolicy) EXPECT

func (*HttpResourcePolicy) Resolve

Resolve provides a mock function for the type HttpResourcePolicy

type HttpResourcePolicyManager

type HttpResourcePolicyManager struct {
	mock.Mock
}

HttpResourcePolicyManager is an autogenerated mock type for the ResourcePolicyManager type

func NewHttpResourcePolicyManager

func NewHttpResourcePolicyManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *HttpResourcePolicyManager

NewHttpResourcePolicyManager creates a new instance of HttpResourcePolicyManager. 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 (*HttpResourcePolicyManager) EXPECT

func (*HttpResourcePolicyManager) GetRequestedResources

func (_mock *HttpResourcePolicyManager) GetRequestedResources(ctx context.Context, routeId string, r *http.Request) ([]*http0.AuthorizationResource, error)

GetRequestedResources provides a mock function for the type HttpResourcePolicyManager

func (*HttpResourcePolicyManager) RegisterResourceMapping

func (_mock *HttpResourcePolicyManager) RegisterResourceMapping(routeId string, policies ...http0.ResourcePolicy)

RegisterResourceMapping provides a mock function for the type HttpResourcePolicyManager

type HttpResourcePolicyManager_Expecter

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

func (*HttpResourcePolicyManager_Expecter) GetRequestedResources

func (_e *HttpResourcePolicyManager_Expecter) GetRequestedResources(ctx interface{}, routeId interface{}, r interface{}) *HttpResourcePolicyManager_GetRequestedResources_Call

GetRequestedResources is a helper method to define mock.On call

  • ctx context.Context
  • routeId string
  • r *http.Request

func (*HttpResourcePolicyManager_Expecter) RegisterResourceMapping

func (_e *HttpResourcePolicyManager_Expecter) RegisterResourceMapping(routeId interface{}, policies ...interface{}) *HttpResourcePolicyManager_RegisterResourceMapping_Call

RegisterResourceMapping is a helper method to define mock.On call

  • routeId string
  • policies ...http0.ResourcePolicy

type HttpResourcePolicyManager_GetRequestedResources_Call

type HttpResourcePolicyManager_GetRequestedResources_Call struct {
	*mock.Call
}

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

func (*HttpResourcePolicyManager_GetRequestedResources_Call) Return

func (*HttpResourcePolicyManager_GetRequestedResources_Call) Run

func (*HttpResourcePolicyManager_GetRequestedResources_Call) RunAndReturn

type HttpResourcePolicyManager_RegisterResourceMapping_Call

type HttpResourcePolicyManager_RegisterResourceMapping_Call struct {
	*mock.Call
}

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

func (*HttpResourcePolicyManager_RegisterResourceMapping_Call) Return

func (*HttpResourcePolicyManager_RegisterResourceMapping_Call) Run

func (*HttpResourcePolicyManager_RegisterResourceMapping_Call) RunAndReturn

type HttpResourcePolicy_Expecter

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

func (*HttpResourcePolicy_Expecter) Resolve

func (_e *HttpResourcePolicy_Expecter) Resolve(ctx interface{}, r interface{}) *HttpResourcePolicy_Resolve_Call

Resolve is a helper method to define mock.On call

  • ctx context.Context
  • r *http.Request

type HttpResourcePolicy_Resolve_Call

type HttpResourcePolicy_Resolve_Call struct {
	*mock.Call
}

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

func (*HttpResourcePolicy_Resolve_Call) Return

func (*HttpResourcePolicy_Resolve_Call) Run

func (*HttpResourcePolicy_Resolve_Call) RunAndReturn

type HttpRouteSetter

type HttpRouteSetter struct {
	mock.Mock
}

HttpRouteSetter is an autogenerated mock type for the RouteSetter type

func NewHttpRouteSetter

func NewHttpRouteSetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *HttpRouteSetter

NewHttpRouteSetter creates a new instance of HttpRouteSetter. 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 (*HttpRouteSetter) EXPECT

func (*HttpRouteSetter) Set

func (_mock *HttpRouteSetter) Set() error

Set provides a mock function for the type HttpRouteSetter

type HttpRouteSetter_Expecter

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

func (*HttpRouteSetter_Expecter) Set

Set is a helper method to define mock.On call

type HttpRouteSetter_Set_Call

type HttpRouteSetter_Set_Call struct {
	*mock.Call
}

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

func (*HttpRouteSetter_Set_Call) Return

func (*HttpRouteSetter_Set_Call) Run

func (*HttpRouteSetter_Set_Call) RunAndReturn

func (_c *HttpRouteSetter_Set_Call) RunAndReturn(run func() error) *HttpRouteSetter_Set_Call

type HttpWsUpgrader

type HttpWsUpgrader struct {
	mock.Mock
}

HttpWsUpgrader is an autogenerated mock type for the WsUpgrader type

func NewHttpWsUpgrader

func NewHttpWsUpgrader(t interface {
	mock.TestingT
	Cleanup(func())
}) *HttpWsUpgrader

NewHttpWsUpgrader creates a new instance of HttpWsUpgrader. 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 (*HttpWsUpgrader) EXPECT

func (*HttpWsUpgrader) Set

func (_mock *HttpWsUpgrader) Set(router *mux.Router, upgrader *websocket.Upgrader)

Set provides a mock function for the type HttpWsUpgrader

type HttpWsUpgrader_Expecter

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

func (*HttpWsUpgrader_Expecter) Set

func (_e *HttpWsUpgrader_Expecter) Set(router interface{}, upgrader interface{}) *HttpWsUpgrader_Set_Call

Set is a helper method to define mock.On call

  • router *mux.Router
  • upgrader *websocket.Upgrader

type HttpWsUpgrader_Set_Call

type HttpWsUpgrader_Set_Call struct {
	*mock.Call
}

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

func (*HttpWsUpgrader_Set_Call) Return

func (*HttpWsUpgrader_Set_Call) Run

func (_c *HttpWsUpgrader_Set_Call) Run(run func(router *mux.Router, upgrader *websocket.Upgrader)) *HttpWsUpgrader_Set_Call

func (*HttpWsUpgrader_Set_Call) RunAndReturn

func (_c *HttpWsUpgrader_Set_Call) RunAndReturn(run func(router *mux.Router, upgrader *websocket.Upgrader)) *HttpWsUpgrader_Set_Call

type JetAdapter added in v0.2.0

type JetAdapter[T any] struct {
	mock.Mock
}

JetAdapter is an autogenerated mock type for the Adapter type

func NewJetAdapter added in v0.2.0

func NewJetAdapter[T any](t interface {
	mock.TestingT
	Cleanup(func())
}) *JetAdapter[T]

NewJetAdapter creates a new instance of JetAdapter. 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 (*JetAdapter[T]) Close added in v0.2.0

func (_mock *JetAdapter[T]) Close(ctx context.Context) error

Close provides a mock function for the type JetAdapter

func (*JetAdapter[T]) EXPECT added in v0.2.0

func (_m *JetAdapter[T]) EXPECT() *JetAdapter_Expecter[T]

func (*JetAdapter[T]) Init added in v0.2.0

func (_mock *JetAdapter[T]) Init(ctx context.Context, cfg *T) error

Init provides a mock function for the type JetAdapter

type JetAdapterListener added in v0.2.0

type JetAdapterListener[T any] struct {
	mock.Mock
}

JetAdapterListener is an autogenerated mock type for the AdapterListener type

func NewJetAdapterListener added in v0.2.0

func NewJetAdapterListener[T any](t interface {
	mock.TestingT
	Cleanup(func())
}) *JetAdapterListener[T]

NewJetAdapterListener creates a new instance of JetAdapterListener. 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 (*JetAdapterListener[T]) Close added in v0.2.0

func (_mock *JetAdapterListener[T]) Close(ctx context.Context) error

Close provides a mock function for the type JetAdapterListener

func (*JetAdapterListener[T]) EXPECT added in v0.2.0

func (_m *JetAdapterListener[T]) EXPECT() *JetAdapterListener_Expecter[T]

func (*JetAdapterListener[T]) Init added in v0.2.0

func (_mock *JetAdapterListener[T]) Init(ctx context.Context, cfg *T) error

Init provides a mock function for the type JetAdapterListener

func (*JetAdapterListener[T]) ListenAsync added in v0.2.0

func (_mock *JetAdapterListener[T]) ListenAsync(ctx context.Context) error

ListenAsync provides a mock function for the type JetAdapterListener

type JetAdapterListener_Close_Call added in v0.2.0

type JetAdapterListener_Close_Call[T any] struct {
	*mock.Call
}

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

func (*JetAdapterListener_Close_Call[T]) Return added in v0.2.0

func (*JetAdapterListener_Close_Call[T]) Run added in v0.2.0

func (*JetAdapterListener_Close_Call[T]) RunAndReturn added in v0.2.0

func (_c *JetAdapterListener_Close_Call[T]) RunAndReturn(run func(ctx context.Context) error) *JetAdapterListener_Close_Call[T]

type JetAdapterListener_Expecter added in v0.2.0

type JetAdapterListener_Expecter[T any] struct {
	// contains filtered or unexported fields
}

func (*JetAdapterListener_Expecter[T]) Close added in v0.2.0

func (_e *JetAdapterListener_Expecter[T]) Close(ctx interface{}) *JetAdapterListener_Close_Call[T]

Close is a helper method to define mock.On call

  • ctx context.Context

func (*JetAdapterListener_Expecter[T]) Init added in v0.2.0

func (_e *JetAdapterListener_Expecter[T]) Init(ctx interface{}, cfg interface{}) *JetAdapterListener_Init_Call[T]

Init is a helper method to define mock.On call

  • ctx context.Context
  • cfg *T

func (*JetAdapterListener_Expecter[T]) ListenAsync added in v0.2.0

func (_e *JetAdapterListener_Expecter[T]) ListenAsync(ctx interface{}) *JetAdapterListener_ListenAsync_Call[T]

ListenAsync is a helper method to define mock.On call

  • ctx context.Context

type JetAdapterListener_Init_Call added in v0.2.0

type JetAdapterListener_Init_Call[T any] struct {
	*mock.Call
}

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

func (*JetAdapterListener_Init_Call[T]) Return added in v0.2.0

func (*JetAdapterListener_Init_Call[T]) Run added in v0.2.0

func (_c *JetAdapterListener_Init_Call[T]) Run(run func(ctx context.Context, cfg *T)) *JetAdapterListener_Init_Call[T]

func (*JetAdapterListener_Init_Call[T]) RunAndReturn added in v0.2.0

func (_c *JetAdapterListener_Init_Call[T]) RunAndReturn(run func(ctx context.Context, cfg *T) error) *JetAdapterListener_Init_Call[T]

type JetAdapterListener_ListenAsync_Call added in v0.2.0

type JetAdapterListener_ListenAsync_Call[T any] struct {
	*mock.Call
}

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

func (*JetAdapterListener_ListenAsync_Call[T]) Return added in v0.2.0

func (*JetAdapterListener_ListenAsync_Call[T]) Run added in v0.2.0

func (*JetAdapterListener_ListenAsync_Call[T]) RunAndReturn added in v0.2.0

type JetAdapter_Close_Call added in v0.2.0

type JetAdapter_Close_Call[T any] struct {
	*mock.Call
}

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

func (*JetAdapter_Close_Call[T]) Return added in v0.2.0

func (_c *JetAdapter_Close_Call[T]) Return(err error) *JetAdapter_Close_Call[T]

func (*JetAdapter_Close_Call[T]) Run added in v0.2.0

func (_c *JetAdapter_Close_Call[T]) Run(run func(ctx context.Context)) *JetAdapter_Close_Call[T]

func (*JetAdapter_Close_Call[T]) RunAndReturn added in v0.2.0

func (_c *JetAdapter_Close_Call[T]) RunAndReturn(run func(ctx context.Context) error) *JetAdapter_Close_Call[T]

type JetAdapter_Expecter added in v0.2.0

type JetAdapter_Expecter[T any] struct {
	// contains filtered or unexported fields
}

func (*JetAdapter_Expecter[T]) Close added in v0.2.0

func (_e *JetAdapter_Expecter[T]) Close(ctx interface{}) *JetAdapter_Close_Call[T]

Close is a helper method to define mock.On call

  • ctx context.Context

func (*JetAdapter_Expecter[T]) Init added in v0.2.0

func (_e *JetAdapter_Expecter[T]) Init(ctx interface{}, cfg interface{}) *JetAdapter_Init_Call[T]

Init is a helper method to define mock.On call

  • ctx context.Context
  • cfg *T

type JetAdapter_Init_Call added in v0.2.0

type JetAdapter_Init_Call[T any] struct {
	*mock.Call
}

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

func (*JetAdapter_Init_Call[T]) Return added in v0.2.0

func (_c *JetAdapter_Init_Call[T]) Return(err error) *JetAdapter_Init_Call[T]

func (*JetAdapter_Init_Call[T]) Run added in v0.2.0

func (_c *JetAdapter_Init_Call[T]) Run(run func(ctx context.Context, cfg *T)) *JetAdapter_Init_Call[T]

func (*JetAdapter_Init_Call[T]) RunAndReturn added in v0.2.0

func (_c *JetAdapter_Init_Call[T]) RunAndReturn(run func(ctx context.Context, cfg *T) error) *JetAdapter_Init_Call[T]

type JetAppErrBuilder added in v0.2.0

type JetAppErrBuilder struct {
	mock.Mock
}

JetAppErrBuilder is an autogenerated mock type for the AppErrBuilder type

func NewJetAppErrBuilder added in v0.2.0

func NewJetAppErrBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *JetAppErrBuilder

NewJetAppErrBuilder creates a new instance of JetAppErrBuilder. 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 (*JetAppErrBuilder) Business added in v0.2.0

func (_mock *JetAppErrBuilder) Business() jet.AppErrBuilder

Business provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) C added in v0.2.0

C provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) EXPECT added in v0.2.0

func (*JetAppErrBuilder) Err added in v0.2.0

func (_mock *JetAppErrBuilder) Err() error

Err provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) F added in v0.2.0

func (_mock *JetAppErrBuilder) F(fields jet.KV) jet.AppErrBuilder

F provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) GrpcSt added in v0.2.0

func (_mock *JetAppErrBuilder) GrpcSt(status uint32) jet.AppErrBuilder

GrpcSt provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) HttpSt added in v0.2.0

func (_mock *JetAppErrBuilder) HttpSt(status uint32) jet.AppErrBuilder

HttpSt provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) Panic added in v0.2.0

func (_mock *JetAppErrBuilder) Panic() jet.AppErrBuilder

Panic provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) System added in v0.2.0

func (_mock *JetAppErrBuilder) System() jet.AppErrBuilder

System provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) Type added in v0.2.0

func (_mock *JetAppErrBuilder) Type(t string) jet.AppErrBuilder

Type provides a mock function for the type JetAppErrBuilder

func (*JetAppErrBuilder) Wrap added in v0.2.0

func (_mock *JetAppErrBuilder) Wrap(cause error) jet.AppErrBuilder

Wrap provides a mock function for the type JetAppErrBuilder

type JetAppErrBuilder_Business_Call added in v0.2.0

type JetAppErrBuilder_Business_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_Business_Call) Return added in v0.2.0

func (*JetAppErrBuilder_Business_Call) Run added in v0.2.0

func (*JetAppErrBuilder_Business_Call) RunAndReturn added in v0.2.0

type JetAppErrBuilder_C_Call added in v0.2.0

type JetAppErrBuilder_C_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_C_Call) Return added in v0.2.0

func (*JetAppErrBuilder_C_Call) Run added in v0.2.0

func (*JetAppErrBuilder_C_Call) RunAndReturn added in v0.2.0

type JetAppErrBuilder_Err_Call added in v0.2.0

type JetAppErrBuilder_Err_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_Err_Call) Return added in v0.2.0

func (*JetAppErrBuilder_Err_Call) Run added in v0.2.0

func (*JetAppErrBuilder_Err_Call) RunAndReturn added in v0.2.0

func (_c *JetAppErrBuilder_Err_Call) RunAndReturn(run func() error) *JetAppErrBuilder_Err_Call

type JetAppErrBuilder_Expecter added in v0.2.0

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

func (*JetAppErrBuilder_Expecter) Business added in v0.2.0

Business is a helper method to define mock.On call

func (*JetAppErrBuilder_Expecter) C added in v0.2.0

func (_e *JetAppErrBuilder_Expecter) C(ctx interface{}) *JetAppErrBuilder_C_Call

C is a helper method to define mock.On call

  • ctx context.Context

func (*JetAppErrBuilder_Expecter) Err added in v0.2.0

Err is a helper method to define mock.On call

func (*JetAppErrBuilder_Expecter) F added in v0.2.0

func (_e *JetAppErrBuilder_Expecter) F(fields interface{}) *JetAppErrBuilder_F_Call

F is a helper method to define mock.On call

  • fields jet.KV

func (*JetAppErrBuilder_Expecter) GrpcSt added in v0.2.0

func (_e *JetAppErrBuilder_Expecter) GrpcSt(status interface{}) *JetAppErrBuilder_GrpcSt_Call

GrpcSt is a helper method to define mock.On call

  • status uint32

func (*JetAppErrBuilder_Expecter) HttpSt added in v0.2.0

func (_e *JetAppErrBuilder_Expecter) HttpSt(status interface{}) *JetAppErrBuilder_HttpSt_Call

HttpSt is a helper method to define mock.On call

  • status uint32

func (*JetAppErrBuilder_Expecter) Panic added in v0.2.0

Panic is a helper method to define mock.On call

func (*JetAppErrBuilder_Expecter) System added in v0.2.0

System is a helper method to define mock.On call

func (*JetAppErrBuilder_Expecter) Type added in v0.2.0

func (_e *JetAppErrBuilder_Expecter) Type(t interface{}) *JetAppErrBuilder_Type_Call

Type is a helper method to define mock.On call

  • t string

func (*JetAppErrBuilder_Expecter) Wrap added in v0.2.0

func (_e *JetAppErrBuilder_Expecter) Wrap(cause interface{}) *JetAppErrBuilder_Wrap_Call

Wrap is a helper method to define mock.On call

  • cause error

type JetAppErrBuilder_F_Call added in v0.2.0

type JetAppErrBuilder_F_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_F_Call) Return added in v0.2.0

func (*JetAppErrBuilder_F_Call) Run added in v0.2.0

func (_c *JetAppErrBuilder_F_Call) Run(run func(fields jet.KV)) *JetAppErrBuilder_F_Call

func (*JetAppErrBuilder_F_Call) RunAndReturn added in v0.2.0

func (_c *JetAppErrBuilder_F_Call) RunAndReturn(run func(fields jet.KV) jet.AppErrBuilder) *JetAppErrBuilder_F_Call

type JetAppErrBuilder_GrpcSt_Call added in v0.2.0

type JetAppErrBuilder_GrpcSt_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_GrpcSt_Call) Return added in v0.2.0

func (*JetAppErrBuilder_GrpcSt_Call) Run added in v0.2.0

func (*JetAppErrBuilder_GrpcSt_Call) RunAndReturn added in v0.2.0

type JetAppErrBuilder_HttpSt_Call added in v0.2.0

type JetAppErrBuilder_HttpSt_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_HttpSt_Call) Return added in v0.2.0

func (*JetAppErrBuilder_HttpSt_Call) Run added in v0.2.0

func (*JetAppErrBuilder_HttpSt_Call) RunAndReturn added in v0.2.0

type JetAppErrBuilder_Panic_Call added in v0.2.0

type JetAppErrBuilder_Panic_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_Panic_Call) Return added in v0.2.0

func (*JetAppErrBuilder_Panic_Call) Run added in v0.2.0

func (*JetAppErrBuilder_Panic_Call) RunAndReturn added in v0.2.0

type JetAppErrBuilder_System_Call added in v0.2.0

type JetAppErrBuilder_System_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_System_Call) Return added in v0.2.0

func (*JetAppErrBuilder_System_Call) Run added in v0.2.0

func (*JetAppErrBuilder_System_Call) RunAndReturn added in v0.2.0

type JetAppErrBuilder_Type_Call added in v0.2.0

type JetAppErrBuilder_Type_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_Type_Call) Return added in v0.2.0

func (*JetAppErrBuilder_Type_Call) Run added in v0.2.0

func (*JetAppErrBuilder_Type_Call) RunAndReturn added in v0.2.0

type JetAppErrBuilder_Wrap_Call added in v0.2.0

type JetAppErrBuilder_Wrap_Call struct {
	*mock.Call
}

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

func (*JetAppErrBuilder_Wrap_Call) Return added in v0.2.0

func (*JetAppErrBuilder_Wrap_Call) Run added in v0.2.0

func (*JetAppErrBuilder_Wrap_Call) RunAndReturn added in v0.2.0

type JetCLogger added in v0.2.0

type JetCLogger struct {
	mock.Mock
}

JetCLogger is an autogenerated mock type for the CLogger type

func NewJetCLogger added in v0.2.0

func NewJetCLogger(t interface {
	mock.TestingT
	Cleanup(func())
}) *JetCLogger

NewJetCLogger creates a new instance of JetCLogger. 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 (*JetCLogger) C added in v0.2.0

func (_mock *JetCLogger) C(ctx context.Context) jet.CLogger

C provides a mock function for the type JetCLogger

func (*JetCLogger) Clone added in v0.2.0

func (_mock *JetCLogger) Clone() jet.CLogger

Clone provides a mock function for the type JetCLogger

func (*JetCLogger) Cmp added in v0.2.0

func (_mock *JetCLogger) Cmp(c string) jet.CLogger

Cmp provides a mock function for the type JetCLogger

func (*JetCLogger) Dbg added in v0.2.0

func (_mock *JetCLogger) Dbg(args ...interface{}) jet.CLogger

Dbg provides a mock function for the type JetCLogger

func (*JetCLogger) DbgF added in v0.2.0

func (_mock *JetCLogger) DbgF(format string, args ...interface{}) jet.CLogger

DbgF provides a mock function for the type JetCLogger

func (*JetCLogger) E added in v0.2.0

func (_mock *JetCLogger) E(err error) jet.CLogger

E provides a mock function for the type JetCLogger

func (*JetCLogger) EXPECT added in v0.2.0

func (_m *JetCLogger) EXPECT() *JetCLogger_Expecter

func (*JetCLogger) Err added in v0.2.0

func (_mock *JetCLogger) Err(args ...interface{}) jet.CLogger

Err provides a mock function for the type JetCLogger

func (*JetCLogger) ErrF added in v0.2.0

func (_mock *JetCLogger) ErrF(format string, args ...interface{}) jet.CLogger

ErrF provides a mock function for the type JetCLogger

func (*JetCLogger) F added in v0.2.0

func (_mock *JetCLogger) F(fields jet.KV) jet.CLogger

F provides a mock function for the type JetCLogger

func (*JetCLogger) Fatal added in v0.2.0

func (_mock *JetCLogger) Fatal(args ...interface{}) jet.CLogger

Fatal provides a mock function for the type JetCLogger

func (*JetCLogger) FatalF added in v0.2.0

func (_mock *JetCLogger) FatalF(format string, args ...interface{}) jet.CLogger

FatalF provides a mock function for the type JetCLogger

func (*JetCLogger) Inf added in v0.2.0

func (_mock *JetCLogger) Inf(args ...interface{}) jet.CLogger

Inf provides a mock function for the type JetCLogger

func (*JetCLogger) InfF added in v0.2.0

func (_mock *JetCLogger) InfF(format string, args ...interface{}) jet.CLogger

InfF provides a mock function for the type JetCLogger

func (*JetCLogger) Mth added in v0.2.0

func (_mock *JetCLogger) Mth(m string) jet.CLogger

Mth provides a mock function for the type JetCLogger

func (*JetCLogger) Node added in v0.2.0

func (_mock *JetCLogger) Node(n string) jet.CLogger

Node provides a mock function for the type JetCLogger

func (*JetCLogger) Pr added in v0.2.0

func (_mock *JetCLogger) Pr(m string) jet.CLogger

Pr provides a mock function for the type JetCLogger

func (*JetCLogger) Printf added in v0.2.0

func (_mock *JetCLogger) Printf(s string, ifaceVals ...interface{})

Printf provides a mock function for the type JetCLogger

func (*JetCLogger) PrintfErr added in v0.2.0

func (_mock *JetCLogger) PrintfErr(f string, args ...interface{})

PrintfErr provides a mock function for the type JetCLogger

func (*JetCLogger) Srv added in v0.2.0

func (_mock *JetCLogger) Srv(s string) jet.CLogger

Srv provides a mock function for the type JetCLogger

func (*JetCLogger) St added in v0.2.0

func (_mock *JetCLogger) St() jet.CLogger

St provides a mock function for the type JetCLogger

func (*JetCLogger) Trc added in v0.2.0

func (_mock *JetCLogger) Trc(args ...interface{}) jet.CLogger

Trc provides a mock function for the type JetCLogger

func (*JetCLogger) TrcF added in v0.2.0

func (_mock *JetCLogger) TrcF(format string, args ...interface{}) jet.CLogger

TrcF provides a mock function for the type JetCLogger

func (*JetCLogger) TrcObj added in v0.2.0

func (_mock *JetCLogger) TrcObj(format string, args ...interface{}) jet.CLogger

TrcObj provides a mock function for the type JetCLogger

func (*JetCLogger) Warn added in v0.2.0

func (_mock *JetCLogger) Warn(args ...interface{}) jet.CLogger

Warn provides a mock function for the type JetCLogger

func (*JetCLogger) WarnF added in v0.2.0

func (_mock *JetCLogger) WarnF(format string, args ...interface{}) jet.CLogger

WarnF provides a mock function for the type JetCLogger

func (*JetCLogger) Write added in v0.2.0

func (_mock *JetCLogger) Write(p []byte) (int, error)

Write provides a mock function for the type JetCLogger

type JetCLogger_C_Call added in v0.2.0

type JetCLogger_C_Call struct {
	*mock.Call
}

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

func (*JetCLogger_C_Call) Return added in v0.2.0

func (_c *JetCLogger_C_Call) Return(cLogger jet.CLogger) *JetCLogger_C_Call

func (*JetCLogger_C_Call) Run added in v0.2.0

func (_c *JetCLogger_C_Call) Run(run func(ctx context.Context)) *JetCLogger_C_Call

func (*JetCLogger_C_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_C_Call) RunAndReturn(run func(ctx context.Context) jet.CLogger) *JetCLogger_C_Call

type JetCLogger_Clone_Call added in v0.2.0

type JetCLogger_Clone_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Clone_Call) Return added in v0.2.0

func (*JetCLogger_Clone_Call) Run added in v0.2.0

func (_c *JetCLogger_Clone_Call) Run(run func()) *JetCLogger_Clone_Call

func (*JetCLogger_Clone_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Clone_Call) RunAndReturn(run func() jet.CLogger) *JetCLogger_Clone_Call

type JetCLogger_Cmp_Call added in v0.2.0

type JetCLogger_Cmp_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Cmp_Call) Return added in v0.2.0

func (_c *JetCLogger_Cmp_Call) Return(cLogger jet.CLogger) *JetCLogger_Cmp_Call

func (*JetCLogger_Cmp_Call) Run added in v0.2.0

func (_c *JetCLogger_Cmp_Call) Run(run func(c string)) *JetCLogger_Cmp_Call

func (*JetCLogger_Cmp_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Cmp_Call) RunAndReturn(run func(c string) jet.CLogger) *JetCLogger_Cmp_Call

type JetCLogger_DbgF_Call added in v0.2.0

type JetCLogger_DbgF_Call struct {
	*mock.Call
}

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

func (*JetCLogger_DbgF_Call) Return added in v0.2.0

func (*JetCLogger_DbgF_Call) Run added in v0.2.0

func (_c *JetCLogger_DbgF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_DbgF_Call

func (*JetCLogger_DbgF_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_DbgF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_DbgF_Call

type JetCLogger_Dbg_Call added in v0.2.0

type JetCLogger_Dbg_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Dbg_Call) Return added in v0.2.0

func (_c *JetCLogger_Dbg_Call) Return(cLogger jet.CLogger) *JetCLogger_Dbg_Call

func (*JetCLogger_Dbg_Call) Run added in v0.2.0

func (_c *JetCLogger_Dbg_Call) Run(run func(args ...interface{})) *JetCLogger_Dbg_Call

func (*JetCLogger_Dbg_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Dbg_Call) RunAndReturn(run func(args ...interface{}) jet.CLogger) *JetCLogger_Dbg_Call

type JetCLogger_E_Call added in v0.2.0

type JetCLogger_E_Call struct {
	*mock.Call
}

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

func (*JetCLogger_E_Call) Return added in v0.2.0

func (_c *JetCLogger_E_Call) Return(cLogger jet.CLogger) *JetCLogger_E_Call

func (*JetCLogger_E_Call) Run added in v0.2.0

func (_c *JetCLogger_E_Call) Run(run func(err error)) *JetCLogger_E_Call

func (*JetCLogger_E_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_E_Call) RunAndReturn(run func(err error) jet.CLogger) *JetCLogger_E_Call

type JetCLogger_ErrF_Call added in v0.2.0

type JetCLogger_ErrF_Call struct {
	*mock.Call
}

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

func (*JetCLogger_ErrF_Call) Return added in v0.2.0

func (*JetCLogger_ErrF_Call) Run added in v0.2.0

func (_c *JetCLogger_ErrF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_ErrF_Call

func (*JetCLogger_ErrF_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_ErrF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_ErrF_Call

type JetCLogger_Err_Call added in v0.2.0

type JetCLogger_Err_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Err_Call) Return added in v0.2.0

func (_c *JetCLogger_Err_Call) Return(cLogger jet.CLogger) *JetCLogger_Err_Call

func (*JetCLogger_Err_Call) Run added in v0.2.0

func (_c *JetCLogger_Err_Call) Run(run func(args ...interface{})) *JetCLogger_Err_Call

func (*JetCLogger_Err_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Err_Call) RunAndReturn(run func(args ...interface{}) jet.CLogger) *JetCLogger_Err_Call

type JetCLogger_Expecter added in v0.2.0

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

func (*JetCLogger_Expecter) C added in v0.2.0

func (_e *JetCLogger_Expecter) C(ctx interface{}) *JetCLogger_C_Call

C is a helper method to define mock.On call

  • ctx context.Context

func (*JetCLogger_Expecter) Clone added in v0.2.0

Clone is a helper method to define mock.On call

func (*JetCLogger_Expecter) Cmp added in v0.2.0

func (_e *JetCLogger_Expecter) Cmp(c interface{}) *JetCLogger_Cmp_Call

Cmp is a helper method to define mock.On call

  • c string

func (*JetCLogger_Expecter) Dbg added in v0.2.0

func (_e *JetCLogger_Expecter) Dbg(args ...interface{}) *JetCLogger_Dbg_Call

Dbg is a helper method to define mock.On call

  • args ...interface{}

func (*JetCLogger_Expecter) DbgF added in v0.2.0

func (_e *JetCLogger_Expecter) DbgF(format interface{}, args ...interface{}) *JetCLogger_DbgF_Call

DbgF is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*JetCLogger_Expecter) E added in v0.2.0

func (_e *JetCLogger_Expecter) E(err interface{}) *JetCLogger_E_Call

E is a helper method to define mock.On call

  • err error

func (*JetCLogger_Expecter) Err added in v0.2.0

func (_e *JetCLogger_Expecter) Err(args ...interface{}) *JetCLogger_Err_Call

Err is a helper method to define mock.On call

  • args ...interface{}

func (*JetCLogger_Expecter) ErrF added in v0.2.0

func (_e *JetCLogger_Expecter) ErrF(format interface{}, args ...interface{}) *JetCLogger_ErrF_Call

ErrF is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*JetCLogger_Expecter) F added in v0.2.0

func (_e *JetCLogger_Expecter) F(fields interface{}) *JetCLogger_F_Call

F is a helper method to define mock.On call

  • fields jet.KV

func (*JetCLogger_Expecter) Fatal added in v0.2.0

func (_e *JetCLogger_Expecter) Fatal(args ...interface{}) *JetCLogger_Fatal_Call

Fatal is a helper method to define mock.On call

  • args ...interface{}

func (*JetCLogger_Expecter) FatalF added in v0.2.0

func (_e *JetCLogger_Expecter) FatalF(format interface{}, args ...interface{}) *JetCLogger_FatalF_Call

FatalF is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*JetCLogger_Expecter) Inf added in v0.2.0

func (_e *JetCLogger_Expecter) Inf(args ...interface{}) *JetCLogger_Inf_Call

Inf is a helper method to define mock.On call

  • args ...interface{}

func (*JetCLogger_Expecter) InfF added in v0.2.0

func (_e *JetCLogger_Expecter) InfF(format interface{}, args ...interface{}) *JetCLogger_InfF_Call

InfF is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*JetCLogger_Expecter) Mth added in v0.2.0

func (_e *JetCLogger_Expecter) Mth(m interface{}) *JetCLogger_Mth_Call

Mth is a helper method to define mock.On call

  • m string

func (*JetCLogger_Expecter) Node added in v0.2.0

func (_e *JetCLogger_Expecter) Node(n interface{}) *JetCLogger_Node_Call

Node is a helper method to define mock.On call

  • n string

func (*JetCLogger_Expecter) Pr added in v0.2.0

func (_e *JetCLogger_Expecter) Pr(m interface{}) *JetCLogger_Pr_Call

Pr is a helper method to define mock.On call

  • m string

func (*JetCLogger_Expecter) Printf added in v0.2.0

func (_e *JetCLogger_Expecter) Printf(s interface{}, ifaceVals ...interface{}) *JetCLogger_Printf_Call

Printf is a helper method to define mock.On call

  • s string
  • ifaceVals ...interface{}

func (*JetCLogger_Expecter) PrintfErr added in v0.2.0

func (_e *JetCLogger_Expecter) PrintfErr(f interface{}, args ...interface{}) *JetCLogger_PrintfErr_Call

PrintfErr is a helper method to define mock.On call

  • f string
  • args ...interface{}

func (*JetCLogger_Expecter) Srv added in v0.2.0

func (_e *JetCLogger_Expecter) Srv(s interface{}) *JetCLogger_Srv_Call

Srv is a helper method to define mock.On call

  • s string

func (*JetCLogger_Expecter) St added in v0.2.0

St is a helper method to define mock.On call

func (*JetCLogger_Expecter) Trc added in v0.2.0

func (_e *JetCLogger_Expecter) Trc(args ...interface{}) *JetCLogger_Trc_Call

Trc is a helper method to define mock.On call

  • args ...interface{}

func (*JetCLogger_Expecter) TrcF added in v0.2.0

func (_e *JetCLogger_Expecter) TrcF(format interface{}, args ...interface{}) *JetCLogger_TrcF_Call

TrcF is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*JetCLogger_Expecter) TrcObj added in v0.2.0

func (_e *JetCLogger_Expecter) TrcObj(format interface{}, args ...interface{}) *JetCLogger_TrcObj_Call

TrcObj is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*JetCLogger_Expecter) Warn added in v0.2.0

func (_e *JetCLogger_Expecter) Warn(args ...interface{}) *JetCLogger_Warn_Call

Warn is a helper method to define mock.On call

  • args ...interface{}

func (*JetCLogger_Expecter) WarnF added in v0.2.0

func (_e *JetCLogger_Expecter) WarnF(format interface{}, args ...interface{}) *JetCLogger_WarnF_Call

WarnF is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*JetCLogger_Expecter) Write added in v0.2.0

func (_e *JetCLogger_Expecter) Write(p interface{}) *JetCLogger_Write_Call

Write is a helper method to define mock.On call

  • p []byte

type JetCLogger_F_Call added in v0.2.0

type JetCLogger_F_Call struct {
	*mock.Call
}

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

func (*JetCLogger_F_Call) Return added in v0.2.0

func (_c *JetCLogger_F_Call) Return(cLogger jet.CLogger) *JetCLogger_F_Call

func (*JetCLogger_F_Call) Run added in v0.2.0

func (_c *JetCLogger_F_Call) Run(run func(fields jet.KV)) *JetCLogger_F_Call

func (*JetCLogger_F_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_F_Call) RunAndReturn(run func(fields jet.KV) jet.CLogger) *JetCLogger_F_Call

type JetCLogger_FatalF_Call added in v0.2.0

type JetCLogger_FatalF_Call struct {
	*mock.Call
}

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

func (*JetCLogger_FatalF_Call) Return added in v0.2.0

func (*JetCLogger_FatalF_Call) Run added in v0.2.0

func (_c *JetCLogger_FatalF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_FatalF_Call

func (*JetCLogger_FatalF_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_FatalF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_FatalF_Call

type JetCLogger_Fatal_Call added in v0.2.0

type JetCLogger_Fatal_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Fatal_Call) Return added in v0.2.0

func (*JetCLogger_Fatal_Call) Run added in v0.2.0

func (_c *JetCLogger_Fatal_Call) Run(run func(args ...interface{})) *JetCLogger_Fatal_Call

func (*JetCLogger_Fatal_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Fatal_Call) RunAndReturn(run func(args ...interface{}) jet.CLogger) *JetCLogger_Fatal_Call

type JetCLogger_InfF_Call added in v0.2.0

type JetCLogger_InfF_Call struct {
	*mock.Call
}

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

func (*JetCLogger_InfF_Call) Return added in v0.2.0

func (*JetCLogger_InfF_Call) Run added in v0.2.0

func (_c *JetCLogger_InfF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_InfF_Call

func (*JetCLogger_InfF_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_InfF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_InfF_Call

type JetCLogger_Inf_Call added in v0.2.0

type JetCLogger_Inf_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Inf_Call) Return added in v0.2.0

func (_c *JetCLogger_Inf_Call) Return(cLogger jet.CLogger) *JetCLogger_Inf_Call

func (*JetCLogger_Inf_Call) Run added in v0.2.0

func (_c *JetCLogger_Inf_Call) Run(run func(args ...interface{})) *JetCLogger_Inf_Call

func (*JetCLogger_Inf_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Inf_Call) RunAndReturn(run func(args ...interface{}) jet.CLogger) *JetCLogger_Inf_Call

type JetCLogger_Mth_Call added in v0.2.0

type JetCLogger_Mth_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Mth_Call) Return added in v0.2.0

func (_c *JetCLogger_Mth_Call) Return(cLogger jet.CLogger) *JetCLogger_Mth_Call

func (*JetCLogger_Mth_Call) Run added in v0.2.0

func (_c *JetCLogger_Mth_Call) Run(run func(m string)) *JetCLogger_Mth_Call

func (*JetCLogger_Mth_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Mth_Call) RunAndReturn(run func(m string) jet.CLogger) *JetCLogger_Mth_Call

type JetCLogger_Node_Call added in v0.2.0

type JetCLogger_Node_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Node_Call) Return added in v0.2.0

func (*JetCLogger_Node_Call) Run added in v0.2.0

func (_c *JetCLogger_Node_Call) Run(run func(n string)) *JetCLogger_Node_Call

func (*JetCLogger_Node_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Node_Call) RunAndReturn(run func(n string) jet.CLogger) *JetCLogger_Node_Call

type JetCLogger_Pr_Call added in v0.2.0

type JetCLogger_Pr_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Pr_Call) Return added in v0.2.0

func (_c *JetCLogger_Pr_Call) Return(cLogger jet.CLogger) *JetCLogger_Pr_Call

func (*JetCLogger_Pr_Call) Run added in v0.2.0

func (_c *JetCLogger_Pr_Call) Run(run func(m string)) *JetCLogger_Pr_Call

func (*JetCLogger_Pr_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Pr_Call) RunAndReturn(run func(m string) jet.CLogger) *JetCLogger_Pr_Call

type JetCLogger_PrintfErr_Call added in v0.2.0

type JetCLogger_PrintfErr_Call struct {
	*mock.Call
}

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

func (*JetCLogger_PrintfErr_Call) Return added in v0.2.0

func (*JetCLogger_PrintfErr_Call) Run added in v0.2.0

func (_c *JetCLogger_PrintfErr_Call) Run(run func(f string, args ...interface{})) *JetCLogger_PrintfErr_Call

func (*JetCLogger_PrintfErr_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_PrintfErr_Call) RunAndReturn(run func(f string, args ...interface{})) *JetCLogger_PrintfErr_Call

type JetCLogger_Printf_Call added in v0.2.0

type JetCLogger_Printf_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Printf_Call) Return added in v0.2.0

func (*JetCLogger_Printf_Call) Run added in v0.2.0

func (_c *JetCLogger_Printf_Call) Run(run func(s string, ifaceVals ...interface{})) *JetCLogger_Printf_Call

func (*JetCLogger_Printf_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Printf_Call) RunAndReturn(run func(s string, ifaceVals ...interface{})) *JetCLogger_Printf_Call

type JetCLogger_Srv_Call added in v0.2.0

type JetCLogger_Srv_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Srv_Call) Return added in v0.2.0

func (_c *JetCLogger_Srv_Call) Return(cLogger jet.CLogger) *JetCLogger_Srv_Call

func (*JetCLogger_Srv_Call) Run added in v0.2.0

func (_c *JetCLogger_Srv_Call) Run(run func(s string)) *JetCLogger_Srv_Call

func (*JetCLogger_Srv_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Srv_Call) RunAndReturn(run func(s string) jet.CLogger) *JetCLogger_Srv_Call

type JetCLogger_St_Call added in v0.2.0

type JetCLogger_St_Call struct {
	*mock.Call
}

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

func (*JetCLogger_St_Call) Return added in v0.2.0

func (_c *JetCLogger_St_Call) Return(cLogger jet.CLogger) *JetCLogger_St_Call

func (*JetCLogger_St_Call) Run added in v0.2.0

func (_c *JetCLogger_St_Call) Run(run func()) *JetCLogger_St_Call

func (*JetCLogger_St_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_St_Call) RunAndReturn(run func() jet.CLogger) *JetCLogger_St_Call

type JetCLogger_TrcF_Call added in v0.2.0

type JetCLogger_TrcF_Call struct {
	*mock.Call
}

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

func (*JetCLogger_TrcF_Call) Return added in v0.2.0

func (*JetCLogger_TrcF_Call) Run added in v0.2.0

func (_c *JetCLogger_TrcF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_TrcF_Call

func (*JetCLogger_TrcF_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_TrcF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_TrcF_Call

type JetCLogger_TrcObj_Call added in v0.2.0

type JetCLogger_TrcObj_Call struct {
	*mock.Call
}

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

func (*JetCLogger_TrcObj_Call) Return added in v0.2.0

func (*JetCLogger_TrcObj_Call) Run added in v0.2.0

func (_c *JetCLogger_TrcObj_Call) Run(run func(format string, args ...interface{})) *JetCLogger_TrcObj_Call

func (*JetCLogger_TrcObj_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_TrcObj_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_TrcObj_Call

type JetCLogger_Trc_Call added in v0.2.0

type JetCLogger_Trc_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Trc_Call) Return added in v0.2.0

func (_c *JetCLogger_Trc_Call) Return(cLogger jet.CLogger) *JetCLogger_Trc_Call

func (*JetCLogger_Trc_Call) Run added in v0.2.0

func (_c *JetCLogger_Trc_Call) Run(run func(args ...interface{})) *JetCLogger_Trc_Call

func (*JetCLogger_Trc_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Trc_Call) RunAndReturn(run func(args ...interface{}) jet.CLogger) *JetCLogger_Trc_Call

type JetCLogger_WarnF_Call added in v0.2.0

type JetCLogger_WarnF_Call struct {
	*mock.Call
}

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

func (*JetCLogger_WarnF_Call) Return added in v0.2.0

func (*JetCLogger_WarnF_Call) Run added in v0.2.0

func (_c *JetCLogger_WarnF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_WarnF_Call

func (*JetCLogger_WarnF_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_WarnF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_WarnF_Call

type JetCLogger_Warn_Call added in v0.2.0

type JetCLogger_Warn_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Warn_Call) Return added in v0.2.0

func (*JetCLogger_Warn_Call) Run added in v0.2.0

func (_c *JetCLogger_Warn_Call) Run(run func(args ...interface{})) *JetCLogger_Warn_Call

func (*JetCLogger_Warn_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Warn_Call) RunAndReturn(run func(args ...interface{}) jet.CLogger) *JetCLogger_Warn_Call

type JetCLogger_Write_Call added in v0.2.0

type JetCLogger_Write_Call struct {
	*mock.Call
}

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

func (*JetCLogger_Write_Call) Return added in v0.2.0

func (*JetCLogger_Write_Call) Run added in v0.2.0

func (_c *JetCLogger_Write_Call) Run(run func(p []byte)) *JetCLogger_Write_Call

func (*JetCLogger_Write_Call) RunAndReturn added in v0.2.0

func (_c *JetCLogger_Write_Call) RunAndReturn(run func(p []byte) (int, error)) *JetCLogger_Write_Call

type JetErrorHook added in v0.2.0

type JetErrorHook struct {
	mock.Mock
}

JetErrorHook is an autogenerated mock type for the ErrorHook type

func NewJetErrorHook added in v0.2.0

func NewJetErrorHook(t interface {
	mock.TestingT
	Cleanup(func())
}) *JetErrorHook

NewJetErrorHook creates a new instance of JetErrorHook. 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 (*JetErrorHook) EXPECT added in v0.2.0

func (_m *JetErrorHook) EXPECT() *JetErrorHook_Expecter

func (*JetErrorHook) Error added in v0.2.0

func (_mock *JetErrorHook) Error(err error)

Error provides a mock function for the type JetErrorHook

type JetErrorHook_Error_Call added in v0.2.0

type JetErrorHook_Error_Call struct {
	*mock.Call
}

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

func (*JetErrorHook_Error_Call) Return added in v0.2.0

func (*JetErrorHook_Error_Call) Run added in v0.2.0

func (_c *JetErrorHook_Error_Call) Run(run func(err error)) *JetErrorHook_Error_Call

func (*JetErrorHook_Error_Call) RunAndReturn added in v0.2.0

func (_c *JetErrorHook_Error_Call) RunAndReturn(run func(err error)) *JetErrorHook_Error_Call

type JetErrorHook_Expecter added in v0.2.0

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

func (*JetErrorHook_Expecter) Error added in v0.2.0

func (_e *JetErrorHook_Expecter) Error(err interface{}) *JetErrorHook_Error_Call

Error is a helper method to define mock.On call

  • err error

type JetPageReader added in v0.2.0

type JetPageReader[TItem any, TRq any] struct {
	mock.Mock
}

JetPageReader is an autogenerated mock type for the PageReader type

func NewJetPageReader added in v0.2.0

func NewJetPageReader[TItem any, TRq any](t interface {
	mock.TestingT
	Cleanup(func())
}) *JetPageReader[TItem, TRq]

NewJetPageReader creates a new instance of JetPageReader. 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 (*JetPageReader[TItem, TRq]) EXPECT added in v0.2.0

func (_m *JetPageReader[TItem, TRq]) EXPECT() *JetPageReader_Expecter[TItem, TRq]

func (*JetPageReader[TItem, TRq]) GetPage added in v0.2.0

func (_mock *JetPageReader[TItem, TRq]) GetPage(ctx context.Context, rq TRq) chan jet.PagingResponseG[TItem]

GetPage provides a mock function for the type JetPageReader

type JetPageReader_Expecter added in v0.2.0

type JetPageReader_Expecter[TItem any, TRq any] struct {
	// contains filtered or unexported fields
}

func (*JetPageReader_Expecter[TItem, TRq]) GetPage added in v0.2.0

func (_e *JetPageReader_Expecter[TItem, TRq]) GetPage(ctx interface{}, rq interface{}) *JetPageReader_GetPage_Call[TItem, TRq]

GetPage is a helper method to define mock.On call

  • ctx context.Context
  • rq TRq

type JetPageReader_GetPage_Call added in v0.2.0

type JetPageReader_GetPage_Call[TItem any, TRq any] struct {
	*mock.Call
}

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

func (*JetPageReader_GetPage_Call[TItem, TRq]) Return added in v0.2.0

func (_c *JetPageReader_GetPage_Call[TItem, TRq]) Return(pagingResponseGCh chan jet.PagingResponseG[TItem]) *JetPageReader_GetPage_Call[TItem, TRq]

func (*JetPageReader_GetPage_Call[TItem, TRq]) Run added in v0.2.0

func (_c *JetPageReader_GetPage_Call[TItem, TRq]) Run(run func(ctx context.Context, rq TRq)) *JetPageReader_GetPage_Call[TItem, TRq]

func (*JetPageReader_GetPage_Call[TItem, TRq]) RunAndReturn added in v0.2.0

func (_c *JetPageReader_GetPage_Call[TItem, TRq]) RunAndReturn(run func(ctx context.Context, rq TRq) chan jet.PagingResponseG[TItem]) *JetPageReader_GetPage_Call[TItem, TRq]

type JetSearchable added in v0.2.0

type JetSearchable[TItem any, Rq any] struct {
	mock.Mock
}

JetSearchable is an autogenerated mock type for the Searchable type

func NewJetSearchable added in v0.2.0

func NewJetSearchable[TItem any, Rq any](t interface {
	mock.TestingT
	Cleanup(func())
}) *JetSearchable[TItem, Rq]

NewJetSearchable creates a new instance of JetSearchable. 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 (*JetSearchable[TItem, Rq]) EXPECT added in v0.2.0

func (_m *JetSearchable[TItem, Rq]) EXPECT() *JetSearchable_Expecter[TItem, Rq]

func (*JetSearchable[TItem, Rq]) Search added in v0.2.0

func (_mock *JetSearchable[TItem, Rq]) Search(ctx context.Context, rq jet.PagingRequestG[Rq]) (jet.PagingResponseG[TItem], error)

Search provides a mock function for the type JetSearchable

type JetSearchable_Expecter added in v0.2.0

type JetSearchable_Expecter[TItem any, Rq any] struct {
	// contains filtered or unexported fields
}

func (*JetSearchable_Expecter[TItem, Rq]) Search added in v0.2.0

func (_e *JetSearchable_Expecter[TItem, Rq]) Search(ctx interface{}, rq interface{}) *JetSearchable_Search_Call[TItem, Rq]

Search is a helper method to define mock.On call

  • ctx context.Context
  • rq jet.PagingRequestG[Rq]

type JetSearchable_Search_Call added in v0.2.0

type JetSearchable_Search_Call[TItem any, Rq any] struct {
	*mock.Call
}

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

func (*JetSearchable_Search_Call[TItem, Rq]) Return added in v0.2.0

func (_c *JetSearchable_Search_Call[TItem, Rq]) Return(pagingResponseG jet.PagingResponseG[TItem], err error) *JetSearchable_Search_Call[TItem, Rq]

func (*JetSearchable_Search_Call[TItem, Rq]) Run added in v0.2.0

func (_c *JetSearchable_Search_Call[TItem, Rq]) Run(run func(ctx context.Context, rq jet.PagingRequestG[Rq])) *JetSearchable_Search_Call[TItem, Rq]

func (*JetSearchable_Search_Call[TItem, Rq]) RunAndReturn added in v0.2.0

func (_c *JetSearchable_Search_Call[TItem, Rq]) RunAndReturn(run func(ctx context.Context, rq jet.PagingRequestG[Rq]) (jet.PagingResponseG[TItem], error)) *JetSearchable_Search_Call[TItem, Rq]

type KafkaBroker

type KafkaBroker struct {
	mock.Mock
}

KafkaBroker is an autogenerated mock type for the Broker type

func NewKafkaBroker

func NewKafkaBroker(t interface {
	mock.TestingT
	Cleanup(func())
}) *KafkaBroker

NewKafkaBroker creates a new instance of KafkaBroker. 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 (*KafkaBroker) AddProducer

func (_mock *KafkaBroker) AddProducer(ctx context.Context, topic *kafka.TopicConfig, cfg *kafka.ProducerConfig) (kafka.Producer, error)

AddProducer provides a mock function for the type KafkaBroker

func (*KafkaBroker) AddSubscriber

func (_mock *KafkaBroker) AddSubscriber(ctx context.Context, topic *kafka.TopicConfig, cfg *kafka.SubscriberConfig, handlers ...kafka.HandlerFn) error

AddSubscriber provides a mock function for the type KafkaBroker

func (*KafkaBroker) Close

func (_mock *KafkaBroker) Close(ctx context.Context)

Close provides a mock function for the type KafkaBroker

func (*KafkaBroker) DeclareTopics

func (_mock *KafkaBroker) DeclareTopics(ctx context.Context) error

DeclareTopics provides a mock function for the type KafkaBroker

func (*KafkaBroker) EXPECT

func (_m *KafkaBroker) EXPECT() *KafkaBroker_Expecter

func (*KafkaBroker) Init

func (_mock *KafkaBroker) Init(ctx context.Context, cfg *kafka.BrokerConfig) error

Init provides a mock function for the type KafkaBroker

func (*KafkaBroker) Start

func (_mock *KafkaBroker) Start(ctx context.Context) error

Start provides a mock function for the type KafkaBroker

type KafkaBroker_AddProducer_Call

type KafkaBroker_AddProducer_Call struct {
	*mock.Call
}

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

func (*KafkaBroker_AddProducer_Call) Return

func (*KafkaBroker_AddProducer_Call) Run

func (*KafkaBroker_AddProducer_Call) RunAndReturn

type KafkaBroker_AddSubscriber_Call

type KafkaBroker_AddSubscriber_Call struct {
	*mock.Call
}

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

func (*KafkaBroker_AddSubscriber_Call) Return

func (*KafkaBroker_AddSubscriber_Call) Run

func (*KafkaBroker_AddSubscriber_Call) RunAndReturn

type KafkaBroker_Close_Call

type KafkaBroker_Close_Call struct {
	*mock.Call
}

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

func (*KafkaBroker_Close_Call) Return

func (*KafkaBroker_Close_Call) Run

func (*KafkaBroker_Close_Call) RunAndReturn

func (_c *KafkaBroker_Close_Call) RunAndReturn(run func(ctx context.Context)) *KafkaBroker_Close_Call

type KafkaBroker_DeclareTopics_Call

type KafkaBroker_DeclareTopics_Call struct {
	*mock.Call
}

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

func (*KafkaBroker_DeclareTopics_Call) Return

func (*KafkaBroker_DeclareTopics_Call) Run

func (*KafkaBroker_DeclareTopics_Call) RunAndReturn

type KafkaBroker_Expecter

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

func (*KafkaBroker_Expecter) AddProducer

func (_e *KafkaBroker_Expecter) AddProducer(ctx interface{}, topic interface{}, cfg interface{}) *KafkaBroker_AddProducer_Call

AddProducer is a helper method to define mock.On call

  • ctx context.Context
  • topic *kafka.TopicConfig
  • cfg *kafka.ProducerConfig

func (*KafkaBroker_Expecter) AddSubscriber

func (_e *KafkaBroker_Expecter) AddSubscriber(ctx interface{}, topic interface{}, cfg interface{}, handlers ...interface{}) *KafkaBroker_AddSubscriber_Call

AddSubscriber is a helper method to define mock.On call

  • ctx context.Context
  • topic *kafka.TopicConfig
  • cfg *kafka.SubscriberConfig
  • handlers ...kafka.HandlerFn

func (*KafkaBroker_Expecter) Close

func (_e *KafkaBroker_Expecter) Close(ctx interface{}) *KafkaBroker_Close_Call

Close is a helper method to define mock.On call

  • ctx context.Context

func (*KafkaBroker_Expecter) DeclareTopics

func (_e *KafkaBroker_Expecter) DeclareTopics(ctx interface{}) *KafkaBroker_DeclareTopics_Call

DeclareTopics is a helper method to define mock.On call

  • ctx context.Context

func (*KafkaBroker_Expecter) Init

func (_e *KafkaBroker_Expecter) Init(ctx interface{}, cfg interface{}) *KafkaBroker_Init_Call

Init is a helper method to define mock.On call

  • ctx context.Context
  • cfg *kafka.BrokerConfig

func (*KafkaBroker_Expecter) Start

func (_e *KafkaBroker_Expecter) Start(ctx interface{}) *KafkaBroker_Start_Call

Start is a helper method to define mock.On call

  • ctx context.Context

type KafkaBroker_Init_Call

type KafkaBroker_Init_Call struct {
	*mock.Call
}

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

func (*KafkaBroker_Init_Call) Return

func (*KafkaBroker_Init_Call) Run

func (*KafkaBroker_Init_Call) RunAndReturn

func (_c *KafkaBroker_Init_Call) RunAndReturn(run func(ctx context.Context, cfg *kafka.BrokerConfig) error) *KafkaBroker_Init_Call

type KafkaBroker_Start_Call

type KafkaBroker_Start_Call struct {
	*mock.Call
}

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

func (*KafkaBroker_Start_Call) Return

func (*KafkaBroker_Start_Call) Run

func (*KafkaBroker_Start_Call) RunAndReturn

func (_c *KafkaBroker_Start_Call) RunAndReturn(run func(ctx context.Context) error) *KafkaBroker_Start_Call

type KafkaProducer

type KafkaProducer struct {
	mock.Mock
}

KafkaProducer is an autogenerated mock type for the Producer type

func NewKafkaProducer

func NewKafkaProducer(t interface {
	mock.TestingT
	Cleanup(func())
}) *KafkaProducer

NewKafkaProducer creates a new instance of KafkaProducer. 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 (*KafkaProducer) EXPECT

func (_m *KafkaProducer) EXPECT() *KafkaProducer_Expecter

func (*KafkaProducer) Send

func (_mock *KafkaProducer) Send(ctx context.Context, key string, payload interface{}) error

Send provides a mock function for the type KafkaProducer

func (*KafkaProducer) SendMany

func (_mock *KafkaProducer) SendMany(ctx context.Context, messages ...*kafka.Message) error

SendMany provides a mock function for the type KafkaProducer

type KafkaProducerConfigBuilder

type KafkaProducerConfigBuilder struct {
	mock.Mock
}

KafkaProducerConfigBuilder is an autogenerated mock type for the ProducerConfigBuilder type

func NewKafkaProducerConfigBuilder

func NewKafkaProducerConfigBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *KafkaProducerConfigBuilder

NewKafkaProducerConfigBuilder creates a new instance of KafkaProducerConfigBuilder. 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 (*KafkaProducerConfigBuilder) Async

Async provides a mock function for the type KafkaProducerConfigBuilder

func (*KafkaProducerConfigBuilder) BatchSize

BatchSize provides a mock function for the type KafkaProducerConfigBuilder

func (*KafkaProducerConfigBuilder) BatchTimeout

BatchTimeout provides a mock function for the type KafkaProducerConfigBuilder

func (*KafkaProducerConfigBuilder) Build

Build provides a mock function for the type KafkaProducerConfigBuilder

func (*KafkaProducerConfigBuilder) EXPECT

func (*KafkaProducerConfigBuilder) Retry

Retry provides a mock function for the type KafkaProducerConfigBuilder

type KafkaProducerConfigBuilder_Async_Call

type KafkaProducerConfigBuilder_Async_Call struct {
	*mock.Call
}

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

func (*KafkaProducerConfigBuilder_Async_Call) Return

func (*KafkaProducerConfigBuilder_Async_Call) Run

func (*KafkaProducerConfigBuilder_Async_Call) RunAndReturn

type KafkaProducerConfigBuilder_BatchSize_Call

type KafkaProducerConfigBuilder_BatchSize_Call struct {
	*mock.Call
}

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

func (*KafkaProducerConfigBuilder_BatchSize_Call) Return

func (*KafkaProducerConfigBuilder_BatchSize_Call) Run

func (*KafkaProducerConfigBuilder_BatchSize_Call) RunAndReturn

type KafkaProducerConfigBuilder_BatchTimeout_Call

type KafkaProducerConfigBuilder_BatchTimeout_Call struct {
	*mock.Call
}

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

func (*KafkaProducerConfigBuilder_BatchTimeout_Call) Return

func (*KafkaProducerConfigBuilder_BatchTimeout_Call) Run

func (*KafkaProducerConfigBuilder_BatchTimeout_Call) RunAndReturn

type KafkaProducerConfigBuilder_Build_Call

type KafkaProducerConfigBuilder_Build_Call struct {
	*mock.Call
}

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

func (*KafkaProducerConfigBuilder_Build_Call) Return

func (*KafkaProducerConfigBuilder_Build_Call) Run

func (*KafkaProducerConfigBuilder_Build_Call) RunAndReturn

type KafkaProducerConfigBuilder_Expecter

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

func (*KafkaProducerConfigBuilder_Expecter) Async

Async is a helper method to define mock.On call

  • v bool

func (*KafkaProducerConfigBuilder_Expecter) BatchSize

BatchSize is a helper method to define mock.On call

  • size int

func (*KafkaProducerConfigBuilder_Expecter) BatchTimeout

BatchTimeout is a helper method to define mock.On call

  • to time.Duration

func (*KafkaProducerConfigBuilder_Expecter) Build

Build is a helper method to define mock.On call

func (*KafkaProducerConfigBuilder_Expecter) Retry

func (_e *KafkaProducerConfigBuilder_Expecter) Retry(time1 interface{}, timeout interface{}) *KafkaProducerConfigBuilder_Retry_Call

Retry is a helper method to define mock.On call

  • time1 int
  • timeout time.Duration

type KafkaProducerConfigBuilder_Retry_Call

type KafkaProducerConfigBuilder_Retry_Call struct {
	*mock.Call
}

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

func (*KafkaProducerConfigBuilder_Retry_Call) Return

func (*KafkaProducerConfigBuilder_Retry_Call) Run

func (*KafkaProducerConfigBuilder_Retry_Call) RunAndReturn

type KafkaProducer_Expecter

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

func (*KafkaProducer_Expecter) Send

func (_e *KafkaProducer_Expecter) Send(ctx interface{}, key interface{}, payload interface{}) *KafkaProducer_Send_Call

Send is a helper method to define mock.On call

  • ctx context.Context
  • key string
  • payload interface{}

func (*KafkaProducer_Expecter) SendMany

func (_e *KafkaProducer_Expecter) SendMany(ctx interface{}, messages ...interface{}) *KafkaProducer_SendMany_Call

SendMany is a helper method to define mock.On call

  • ctx context.Context
  • messages ...*kafka.Message

type KafkaProducer_SendMany_Call

type KafkaProducer_SendMany_Call struct {
	*mock.Call
}

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

func (*KafkaProducer_SendMany_Call) Return

func (*KafkaProducer_SendMany_Call) Run

func (*KafkaProducer_SendMany_Call) RunAndReturn

func (_c *KafkaProducer_SendMany_Call) RunAndReturn(run func(ctx context.Context, messages ...*kafka.Message) error) *KafkaProducer_SendMany_Call

type KafkaProducer_Send_Call

type KafkaProducer_Send_Call struct {
	*mock.Call
}

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

func (*KafkaProducer_Send_Call) Return

func (*KafkaProducer_Send_Call) Run

func (_c *KafkaProducer_Send_Call) Run(run func(ctx context.Context, key string, payload interface{})) *KafkaProducer_Send_Call

func (*KafkaProducer_Send_Call) RunAndReturn

func (_c *KafkaProducer_Send_Call) RunAndReturn(run func(ctx context.Context, key string, payload interface{}) error) *KafkaProducer_Send_Call

type KafkaSubscriberConfigBuilder

type KafkaSubscriberConfigBuilder struct {
	mock.Mock
}

KafkaSubscriberConfigBuilder is an autogenerated mock type for the SubscriberConfigBuilder type

func NewKafkaSubscriberConfigBuilder

func NewKafkaSubscriberConfigBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *KafkaSubscriberConfigBuilder

NewKafkaSubscriberConfigBuilder creates a new instance of KafkaSubscriberConfigBuilder. 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 (*KafkaSubscriberConfigBuilder) BatchTimeout

BatchTimeout provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) Build

Build provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) CommitInterval

CommitInterval provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) DeliveryGuarantee added in v0.2.0

DeliveryGuarantee provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) EXPECT

func (*KafkaSubscriberConfigBuilder) GroupId

GroupId provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) JoinGroupBackoff

JoinGroupBackoff provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) Logging

Logging provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) MaxWait

MaxWait provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) StartOffset

StartOffset provides a mock function for the type KafkaSubscriberConfigBuilder

func (*KafkaSubscriberConfigBuilder) Workers

Workers provides a mock function for the type KafkaSubscriberConfigBuilder

type KafkaSubscriberConfigBuilder_BatchTimeout_Call

type KafkaSubscriberConfigBuilder_BatchTimeout_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_BatchTimeout_Call) Return

func (*KafkaSubscriberConfigBuilder_BatchTimeout_Call) Run

func (*KafkaSubscriberConfigBuilder_BatchTimeout_Call) RunAndReturn

type KafkaSubscriberConfigBuilder_Build_Call

type KafkaSubscriberConfigBuilder_Build_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_Build_Call) Return

func (*KafkaSubscriberConfigBuilder_Build_Call) Run

func (*KafkaSubscriberConfigBuilder_Build_Call) RunAndReturn

type KafkaSubscriberConfigBuilder_CommitInterval_Call

type KafkaSubscriberConfigBuilder_CommitInterval_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_CommitInterval_Call) Return

func (*KafkaSubscriberConfigBuilder_CommitInterval_Call) Run

func (*KafkaSubscriberConfigBuilder_CommitInterval_Call) RunAndReturn

type KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call added in v0.2.0

type KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) Return added in v0.2.0

func (*KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) Run added in v0.2.0

func (*KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) RunAndReturn added in v0.2.0

type KafkaSubscriberConfigBuilder_Expecter

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

func (*KafkaSubscriberConfigBuilder_Expecter) BatchTimeout

BatchTimeout is a helper method to define mock.On call

  • to time.Duration

func (*KafkaSubscriberConfigBuilder_Expecter) Build

Build is a helper method to define mock.On call

func (*KafkaSubscriberConfigBuilder_Expecter) CommitInterval

CommitInterval is a helper method to define mock.On call

  • to time.Duration

func (*KafkaSubscriberConfigBuilder_Expecter) DeliveryGuarantee added in v0.2.0

DeliveryGuarantee is a helper method to define mock.On call

  • g kafka.DeliveryGuarantee

func (*KafkaSubscriberConfigBuilder_Expecter) GroupId

GroupId is a helper method to define mock.On call

  • groupId string

func (*KafkaSubscriberConfigBuilder_Expecter) JoinGroupBackoff

JoinGroupBackoff is a helper method to define mock.On call

  • t time.Duration

func (*KafkaSubscriberConfigBuilder_Expecter) Logging

Logging is a helper method to define mock.On call

  • v bool

func (*KafkaSubscriberConfigBuilder_Expecter) MaxWait

MaxWait is a helper method to define mock.On call

  • to time.Duration

func (*KafkaSubscriberConfigBuilder_Expecter) StartOffset

StartOffset is a helper method to define mock.On call

  • v int64

func (*KafkaSubscriberConfigBuilder_Expecter) Workers

Workers is a helper method to define mock.On call

  • num int

type KafkaSubscriberConfigBuilder_GroupId_Call

type KafkaSubscriberConfigBuilder_GroupId_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_GroupId_Call) Return

func (*KafkaSubscriberConfigBuilder_GroupId_Call) Run

func (*KafkaSubscriberConfigBuilder_GroupId_Call) RunAndReturn

type KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call

type KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) Return

func (*KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) Run

func (*KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) RunAndReturn

type KafkaSubscriberConfigBuilder_Logging_Call

type KafkaSubscriberConfigBuilder_Logging_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_Logging_Call) Return

func (*KafkaSubscriberConfigBuilder_Logging_Call) Run

func (*KafkaSubscriberConfigBuilder_Logging_Call) RunAndReturn

type KafkaSubscriberConfigBuilder_MaxWait_Call

type KafkaSubscriberConfigBuilder_MaxWait_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_MaxWait_Call) Return

func (*KafkaSubscriberConfigBuilder_MaxWait_Call) Run

func (*KafkaSubscriberConfigBuilder_MaxWait_Call) RunAndReturn

type KafkaSubscriberConfigBuilder_StartOffset_Call

type KafkaSubscriberConfigBuilder_StartOffset_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_StartOffset_Call) Return

func (*KafkaSubscriberConfigBuilder_StartOffset_Call) Run

func (*KafkaSubscriberConfigBuilder_StartOffset_Call) RunAndReturn

type KafkaSubscriberConfigBuilder_Workers_Call

type KafkaSubscriberConfigBuilder_Workers_Call struct {
	*mock.Call
}

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

func (*KafkaSubscriberConfigBuilder_Workers_Call) Return

func (*KafkaSubscriberConfigBuilder_Workers_Call) Run

func (*KafkaSubscriberConfigBuilder_Workers_Call) RunAndReturn

type KafkaTopicBuilder

type KafkaTopicBuilder struct {
	mock.Mock
}

KafkaTopicBuilder is an autogenerated mock type for the TopicBuilder type

func NewKafkaTopicBuilder

func NewKafkaTopicBuilder(t interface {
	mock.TestingT
	Cleanup(func())
}) *KafkaTopicBuilder

NewKafkaTopicBuilder creates a new instance of KafkaTopicBuilder. 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 (*KafkaTopicBuilder) Build

func (_mock *KafkaTopicBuilder) Build() *kafka.TopicConfig

Build provides a mock function for the type KafkaTopicBuilder

func (*KafkaTopicBuilder) EXPECT

func (*KafkaTopicBuilder) WithParams

func (_mock *KafkaTopicBuilder) WithParams(params ...kafka.TopicParam) kafka.TopicBuilder

WithParams provides a mock function for the type KafkaTopicBuilder

func (*KafkaTopicBuilder) WithPartitionNum

func (_mock *KafkaTopicBuilder) WithPartitionNum(num int) kafka.TopicBuilder

WithPartitionNum provides a mock function for the type KafkaTopicBuilder

type KafkaTopicBuilder_Build_Call

type KafkaTopicBuilder_Build_Call struct {
	*mock.Call
}

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

func (*KafkaTopicBuilder_Build_Call) Return

func (*KafkaTopicBuilder_Build_Call) Run

func (*KafkaTopicBuilder_Build_Call) RunAndReturn

type KafkaTopicBuilder_Expecter

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

func (*KafkaTopicBuilder_Expecter) Build

Build is a helper method to define mock.On call

func (*KafkaTopicBuilder_Expecter) WithParams

func (_e *KafkaTopicBuilder_Expecter) WithParams(params ...interface{}) *KafkaTopicBuilder_WithParams_Call

WithParams is a helper method to define mock.On call

  • params ...kafka.TopicParam

func (*KafkaTopicBuilder_Expecter) WithPartitionNum

func (_e *KafkaTopicBuilder_Expecter) WithPartitionNum(num interface{}) *KafkaTopicBuilder_WithPartitionNum_Call

WithPartitionNum is a helper method to define mock.On call

  • num int

type KafkaTopicBuilder_WithParams_Call

type KafkaTopicBuilder_WithParams_Call struct {
	*mock.Call
}

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

func (*KafkaTopicBuilder_WithParams_Call) Return

func (*KafkaTopicBuilder_WithParams_Call) Run

func (*KafkaTopicBuilder_WithParams_Call) RunAndReturn

type KafkaTopicBuilder_WithPartitionNum_Call

type KafkaTopicBuilder_WithPartitionNum_Call struct {
	*mock.Call
}

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

func (*KafkaTopicBuilder_WithPartitionNum_Call) Return

func (*KafkaTopicBuilder_WithPartitionNum_Call) Run

func (*KafkaTopicBuilder_WithPartitionNum_Call) RunAndReturn

type MemcacheMemCache

type MemcacheMemCache struct {
	mock.Mock
}

MemcacheMemCache is an autogenerated mock type for the MemCache type

func NewMemcacheMemCache

func NewMemcacheMemCache(t interface {
	mock.TestingT
	Cleanup(func())
}) *MemcacheMemCache

NewMemcacheMemCache creates a new instance of MemcacheMemCache. 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 (*MemcacheMemCache) Delete

func (_mock *MemcacheMemCache) Delete(key string)

Delete provides a mock function for the type MemcacheMemCache

func (*MemcacheMemCache) EXPECT

func (*MemcacheMemCache) Get

func (_mock *MemcacheMemCache) Get(key string) (interface{}, bool)

Get provides a mock function for the type MemcacheMemCache

func (*MemcacheMemCache) Set

func (_mock *MemcacheMemCache) Set(key string, v interface{}, ttl time.Duration)

Set provides a mock function for the type MemcacheMemCache

type MemcacheMemCache_Delete_Call

type MemcacheMemCache_Delete_Call struct {
	*mock.Call
}

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

func (*MemcacheMemCache_Delete_Call) Return

func (*MemcacheMemCache_Delete_Call) Run

func (*MemcacheMemCache_Delete_Call) RunAndReturn

func (_c *MemcacheMemCache_Delete_Call) RunAndReturn(run func(key string)) *MemcacheMemCache_Delete_Call

type MemcacheMemCache_Expecter

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

func (*MemcacheMemCache_Expecter) Delete

func (_e *MemcacheMemCache_Expecter) Delete(key interface{}) *MemcacheMemCache_Delete_Call

Delete is a helper method to define mock.On call

  • key string

func (*MemcacheMemCache_Expecter) Get

func (_e *MemcacheMemCache_Expecter) Get(key interface{}) *MemcacheMemCache_Get_Call

Get is a helper method to define mock.On call

  • key string

func (*MemcacheMemCache_Expecter) Set

func (_e *MemcacheMemCache_Expecter) Set(key interface{}, v interface{}, ttl interface{}) *MemcacheMemCache_Set_Call

Set is a helper method to define mock.On call

  • key string
  • v interface{}
  • ttl time.Duration

type MemcacheMemCache_Get_Call

type MemcacheMemCache_Get_Call struct {
	*mock.Call
}

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

func (*MemcacheMemCache_Get_Call) Return

func (_c *MemcacheMemCache_Get_Call) Return(ifaceVal interface{}, b bool) *MemcacheMemCache_Get_Call

func (*MemcacheMemCache_Get_Call) Run

func (*MemcacheMemCache_Get_Call) RunAndReturn

func (_c *MemcacheMemCache_Get_Call) RunAndReturn(run func(key string) (interface{}, bool)) *MemcacheMemCache_Get_Call

type MemcacheMemCache_Set_Call

type MemcacheMemCache_Set_Call struct {
	*mock.Call
}

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

func (*MemcacheMemCache_Set_Call) Return

func (*MemcacheMemCache_Set_Call) Run

func (_c *MemcacheMemCache_Set_Call) Run(run func(key string, v interface{}, ttl time.Duration)) *MemcacheMemCache_Set_Call

func (*MemcacheMemCache_Set_Call) RunAndReturn

func (_c *MemcacheMemCache_Set_Call) RunAndReturn(run func(key string, v interface{}, ttl time.Duration)) *MemcacheMemCache_Set_Call

type MigrationMigration

type MigrationMigration struct {
	mock.Mock
}

MigrationMigration is an autogenerated mock type for the Migration type

func NewMigrationMigration

func NewMigrationMigration(t interface {
	mock.TestingT
	Cleanup(func())
}) *MigrationMigration

NewMigrationMigration creates a new instance of MigrationMigration. 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 (*MigrationMigration) Down

func (_mock *MigrationMigration) Down() error

Down provides a mock function for the type MigrationMigration

func (*MigrationMigration) EXPECT

func (*MigrationMigration) Up

func (_mock *MigrationMigration) Up() error

Up provides a mock function for the type MigrationMigration

type MigrationMigration_Down_Call

type MigrationMigration_Down_Call struct {
	*mock.Call
}

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

func (*MigrationMigration_Down_Call) Return

func (*MigrationMigration_Down_Call) Run

func (*MigrationMigration_Down_Call) RunAndReturn

func (_c *MigrationMigration_Down_Call) RunAndReturn(run func() error) *MigrationMigration_Down_Call

type MigrationMigration_Expecter

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

func (*MigrationMigration_Expecter) Down

Down is a helper method to define mock.On call

func (*MigrationMigration_Expecter) Up

Up is a helper method to define mock.On call

type MigrationMigration_Up_Call

type MigrationMigration_Up_Call struct {
	*mock.Call
}

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

func (*MigrationMigration_Up_Call) Return

func (*MigrationMigration_Up_Call) Run

func (*MigrationMigration_Up_Call) RunAndReturn

func (_c *MigrationMigration_Up_Call) RunAndReturn(run func() error) *MigrationMigration_Up_Call

type MonitoringErrorMonitoring

type MonitoringErrorMonitoring struct {
	mock.Mock
}

MonitoringErrorMonitoring is an autogenerated mock type for the ErrorMonitoring type

func NewMonitoringErrorMonitoring

func NewMonitoringErrorMonitoring(t interface {
	mock.TestingT
	Cleanup(func())
}) *MonitoringErrorMonitoring

NewMonitoringErrorMonitoring creates a new instance of MonitoringErrorMonitoring. 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 (*MonitoringErrorMonitoring) BusinessErrorInc

func (_mock *MonitoringErrorMonitoring) BusinessErrorInc(errCode string)

BusinessErrorInc provides a mock function for the type MonitoringErrorMonitoring

func (*MonitoringErrorMonitoring) EXPECT

func (*MonitoringErrorMonitoring) Error

func (_mock *MonitoringErrorMonitoring) Error(err error)

Error provides a mock function for the type MonitoringErrorMonitoring

func (*MonitoringErrorMonitoring) GetCollector

GetCollector provides a mock function for the type MonitoringErrorMonitoring

func (*MonitoringErrorMonitoring) PanicInc

func (_mock *MonitoringErrorMonitoring) PanicInc()

PanicInc provides a mock function for the type MonitoringErrorMonitoring

func (*MonitoringErrorMonitoring) SystemErrorInc

func (_mock *MonitoringErrorMonitoring) SystemErrorInc(errCode string)

SystemErrorInc provides a mock function for the type MonitoringErrorMonitoring

type MonitoringErrorMonitoring_BusinessErrorInc_Call

type MonitoringErrorMonitoring_BusinessErrorInc_Call struct {
	*mock.Call
}

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

func (*MonitoringErrorMonitoring_BusinessErrorInc_Call) Return

func (*MonitoringErrorMonitoring_BusinessErrorInc_Call) Run

func (*MonitoringErrorMonitoring_BusinessErrorInc_Call) RunAndReturn

type MonitoringErrorMonitoring_Error_Call

type MonitoringErrorMonitoring_Error_Call struct {
	*mock.Call
}

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

func (*MonitoringErrorMonitoring_Error_Call) Return

func (*MonitoringErrorMonitoring_Error_Call) Run

func (*MonitoringErrorMonitoring_Error_Call) RunAndReturn

type MonitoringErrorMonitoring_Expecter

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

func (*MonitoringErrorMonitoring_Expecter) BusinessErrorInc

BusinessErrorInc is a helper method to define mock.On call

  • errCode string

func (*MonitoringErrorMonitoring_Expecter) Error

Error is a helper method to define mock.On call

  • err error

func (*MonitoringErrorMonitoring_Expecter) GetCollector

GetCollector is a helper method to define mock.On call

func (*MonitoringErrorMonitoring_Expecter) PanicInc

PanicInc is a helper method to define mock.On call

func (*MonitoringErrorMonitoring_Expecter) SystemErrorInc

SystemErrorInc is a helper method to define mock.On call

  • errCode string

type MonitoringErrorMonitoring_GetCollector_Call

type MonitoringErrorMonitoring_GetCollector_Call struct {
	*mock.Call
}

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

func (*MonitoringErrorMonitoring_GetCollector_Call) Return

func (*MonitoringErrorMonitoring_GetCollector_Call) Run

func (*MonitoringErrorMonitoring_GetCollector_Call) RunAndReturn

type MonitoringErrorMonitoring_PanicInc_Call

type MonitoringErrorMonitoring_PanicInc_Call struct {
	*mock.Call
}

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

func (*MonitoringErrorMonitoring_PanicInc_Call) Return

func (*MonitoringErrorMonitoring_PanicInc_Call) Run

func (*MonitoringErrorMonitoring_PanicInc_Call) RunAndReturn

type MonitoringErrorMonitoring_SystemErrorInc_Call

type MonitoringErrorMonitoring_SystemErrorInc_Call struct {
	*mock.Call
}

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

func (*MonitoringErrorMonitoring_SystemErrorInc_Call) Return

func (*MonitoringErrorMonitoring_SystemErrorInc_Call) Run

func (*MonitoringErrorMonitoring_SystemErrorInc_Call) RunAndReturn

type MonitoringMetricsProvider

type MonitoringMetricsProvider struct {
	mock.Mock
}

MonitoringMetricsProvider is an autogenerated mock type for the MetricsProvider type

func NewMonitoringMetricsProvider

func NewMonitoringMetricsProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *MonitoringMetricsProvider

NewMonitoringMetricsProvider creates a new instance of MonitoringMetricsProvider. 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 (*MonitoringMetricsProvider) EXPECT

func (*MonitoringMetricsProvider) GetCollector

GetCollector provides a mock function for the type MonitoringMetricsProvider

type MonitoringMetricsProvider_Expecter

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

func (*MonitoringMetricsProvider_Expecter) GetCollector

GetCollector is a helper method to define mock.On call

type MonitoringMetricsProvider_GetCollector_Call

type MonitoringMetricsProvider_GetCollector_Call struct {
	*mock.Call
}

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

func (*MonitoringMetricsProvider_GetCollector_Call) Return

func (*MonitoringMetricsProvider_GetCollector_Call) Run

func (*MonitoringMetricsProvider_GetCollector_Call) RunAndReturn

type MonitoringMetricsServer

type MonitoringMetricsServer struct {
	mock.Mock
}

MonitoringMetricsServer is an autogenerated mock type for the MetricsServer type

func NewMonitoringMetricsServer

func NewMonitoringMetricsServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MonitoringMetricsServer

NewMonitoringMetricsServer creates a new instance of MonitoringMetricsServer. 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 (*MonitoringMetricsServer) Close

func (_mock *MonitoringMetricsServer) Close()

Close provides a mock function for the type MonitoringMetricsServer

func (*MonitoringMetricsServer) EXPECT

func (*MonitoringMetricsServer) Init

func (_mock *MonitoringMetricsServer) Init(config *monitoring.Config, MetricProviders ...monitoring.MetricsProvider) error

Init provides a mock function for the type MonitoringMetricsServer

func (*MonitoringMetricsServer) Listen

func (_mock *MonitoringMetricsServer) Listen()

Listen provides a mock function for the type MonitoringMetricsServer

type MonitoringMetricsServer_Close_Call

type MonitoringMetricsServer_Close_Call struct {
	*mock.Call
}

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

func (*MonitoringMetricsServer_Close_Call) Return

func (*MonitoringMetricsServer_Close_Call) Run

func (*MonitoringMetricsServer_Close_Call) RunAndReturn

type MonitoringMetricsServer_Expecter

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

func (*MonitoringMetricsServer_Expecter) Close

Close is a helper method to define mock.On call

func (*MonitoringMetricsServer_Expecter) Init

func (_e *MonitoringMetricsServer_Expecter) Init(config interface{}, MetricProviders ...interface{}) *MonitoringMetricsServer_Init_Call

Init is a helper method to define mock.On call

  • config *monitoring.Config
  • MetricProviders ...monitoring.MetricsProvider

func (*MonitoringMetricsServer_Expecter) Listen

Listen is a helper method to define mock.On call

type MonitoringMetricsServer_Init_Call

type MonitoringMetricsServer_Init_Call struct {
	*mock.Call
}

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

func (*MonitoringMetricsServer_Init_Call) Return

func (*MonitoringMetricsServer_Init_Call) Run

func (*MonitoringMetricsServer_Init_Call) RunAndReturn

type MonitoringMetricsServer_Listen_Call

type MonitoringMetricsServer_Listen_Call struct {
	*mock.Call
}

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

func (*MonitoringMetricsServer_Listen_Call) Return

func (*MonitoringMetricsServer_Listen_Call) Run

func (*MonitoringMetricsServer_Listen_Call) RunAndReturn

type MonitoringRegexpMonitoring

type MonitoringRegexpMonitoring struct {
	mock.Mock
}

MonitoringRegexpMonitoring is an autogenerated mock type for the RegexpMonitoring type

func NewMonitoringRegexpMonitoring

func NewMonitoringRegexpMonitoring(t interface {
	mock.TestingT
	Cleanup(func())
}) *MonitoringRegexpMonitoring

NewMonitoringRegexpMonitoring creates a new instance of MonitoringRegexpMonitoring. 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 (*MonitoringRegexpMonitoring) AddRegexps

func (_mock *MonitoringRegexpMonitoring) AddRegexps(regexps ...*monitoring.Regexp)

AddRegexps provides a mock function for the type MonitoringRegexpMonitoring

func (*MonitoringRegexpMonitoring) EXPECT

func (*MonitoringRegexpMonitoring) GetCollector

GetCollector provides a mock function for the type MonitoringRegexpMonitoring

func (*MonitoringRegexpMonitoring) Text

func (_mock *MonitoringRegexpMonitoring) Text(text string)

Text provides a mock function for the type MonitoringRegexpMonitoring

type MonitoringRegexpMonitoring_AddRegexps_Call

type MonitoringRegexpMonitoring_AddRegexps_Call struct {
	*mock.Call
}

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

func (*MonitoringRegexpMonitoring_AddRegexps_Call) Return

func (*MonitoringRegexpMonitoring_AddRegexps_Call) Run

func (*MonitoringRegexpMonitoring_AddRegexps_Call) RunAndReturn

type MonitoringRegexpMonitoring_Expecter

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

func (*MonitoringRegexpMonitoring_Expecter) AddRegexps

AddRegexps is a helper method to define mock.On call

  • regexps ...*monitoring.Regexp

func (*MonitoringRegexpMonitoring_Expecter) GetCollector

GetCollector is a helper method to define mock.On call

func (*MonitoringRegexpMonitoring_Expecter) Text

Text is a helper method to define mock.On call

  • text string

type MonitoringRegexpMonitoring_GetCollector_Call

type MonitoringRegexpMonitoring_GetCollector_Call struct {
	*mock.Call
}

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

func (*MonitoringRegexpMonitoring_GetCollector_Call) Return

func (*MonitoringRegexpMonitoring_GetCollector_Call) Run

func (*MonitoringRegexpMonitoring_GetCollector_Call) RunAndReturn

type MonitoringRegexpMonitoring_Text_Call

type MonitoringRegexpMonitoring_Text_Call struct {
	*mock.Call
}

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

func (*MonitoringRegexpMonitoring_Text_Call) Return

func (*MonitoringRegexpMonitoring_Text_Call) Run

func (*MonitoringRegexpMonitoring_Text_Call) RunAndReturn

type NotificationBuilder

type NotificationBuilder[T any] struct {
	mock.Mock
}

NotificationBuilder is an autogenerated mock type for the Builder type

func NewNotificationBuilder

func NewNotificationBuilder[T any](t interface {
	mock.TestingT
	Cleanup(func())
}) *NotificationBuilder[T]

NewNotificationBuilder creates a new instance of NotificationBuilder. 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 (*NotificationBuilder[T]) B

func (_mock *NotificationBuilder[T]) B(msg *T) *notification.Notification[T]

B provides a mock function for the type NotificationBuilder

func (*NotificationBuilder[T]) EXPECT

func (*NotificationBuilder[T]) Receivers

func (_mock *NotificationBuilder[T]) Receivers(receivers []*notification.Receiver) notification.Builder[T]

Receivers provides a mock function for the type NotificationBuilder

func (*NotificationBuilder[T]) Types

func (_mock *NotificationBuilder[T]) Types(types ...string) notification.Builder[T]

Types provides a mock function for the type NotificationBuilder

type NotificationBuilder_B_Call

type NotificationBuilder_B_Call[T any] struct {
	*mock.Call
}

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

func (*NotificationBuilder_B_Call[T]) Return

func (*NotificationBuilder_B_Call[T]) Run

func (_c *NotificationBuilder_B_Call[T]) Run(run func(msg *T)) *NotificationBuilder_B_Call[T]

func (*NotificationBuilder_B_Call[T]) RunAndReturn

func (_c *NotificationBuilder_B_Call[T]) RunAndReturn(run func(msg *T) *notification.Notification[T]) *NotificationBuilder_B_Call[T]

type NotificationBuilder_Expecter

type NotificationBuilder_Expecter[T any] struct {
	// contains filtered or unexported fields
}

func (*NotificationBuilder_Expecter[T]) B

func (_e *NotificationBuilder_Expecter[T]) B(msg interface{}) *NotificationBuilder_B_Call[T]

B is a helper method to define mock.On call

  • msg *T

func (*NotificationBuilder_Expecter[T]) Receivers

func (_e *NotificationBuilder_Expecter[T]) Receivers(receivers interface{}) *NotificationBuilder_Receivers_Call[T]

Receivers is a helper method to define mock.On call

  • receivers []*notification.Receiver

func (*NotificationBuilder_Expecter[T]) Types

func (_e *NotificationBuilder_Expecter[T]) Types(types ...interface{}) *NotificationBuilder_Types_Call[T]

Types is a helper method to define mock.On call

  • types ...string

type NotificationBuilder_Receivers_Call

type NotificationBuilder_Receivers_Call[T any] struct {
	*mock.Call
}

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

func (*NotificationBuilder_Receivers_Call[T]) Return

func (*NotificationBuilder_Receivers_Call[T]) Run

func (*NotificationBuilder_Receivers_Call[T]) RunAndReturn

type NotificationBuilder_Types_Call

type NotificationBuilder_Types_Call[T any] struct {
	*mock.Call
}

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

func (*NotificationBuilder_Types_Call[T]) Return

func (*NotificationBuilder_Types_Call[T]) Run

func (_c *NotificationBuilder_Types_Call[T]) Run(run func(types ...string)) *NotificationBuilder_Types_Call[T]

func (*NotificationBuilder_Types_Call[T]) RunAndReturn

func (_c *NotificationBuilder_Types_Call[T]) RunAndReturn(run func(types ...string) notification.Builder[T]) *NotificationBuilder_Types_Call[T]

type NotificationReceivers

type NotificationReceivers struct {
	mock.Mock
}

NotificationReceivers is an autogenerated mock type for the Receivers type

func NewNotificationReceivers

func NewNotificationReceivers(t interface {
	mock.TestingT
	Cleanup(func())
}) *NotificationReceivers

NewNotificationReceivers creates a new instance of NotificationReceivers. 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 (*NotificationReceivers) B

B provides a mock function for the type NotificationReceivers

func (*NotificationReceivers) EXPECT

func (*NotificationReceivers) Permissions

func (_mock *NotificationReceivers) Permissions(resolver notification.Resolver) notification.Receivers

Permissions provides a mock function for the type NotificationReceivers

func (*NotificationReceivers) Scopes

Scopes provides a mock function for the type NotificationReceivers

type NotificationReceivers_B_Call

type NotificationReceivers_B_Call struct {
	*mock.Call
}

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

func (*NotificationReceivers_B_Call) Return

func (*NotificationReceivers_B_Call) Run

func (*NotificationReceivers_B_Call) RunAndReturn

type NotificationReceivers_Expecter

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

func (*NotificationReceivers_Expecter) B

B is a helper method to define mock.On call

func (*NotificationReceivers_Expecter) Permissions

func (_e *NotificationReceivers_Expecter) Permissions(resolver interface{}) *NotificationReceivers_Permissions_Call

Permissions is a helper method to define mock.On call

  • resolver notification.Resolver

func (*NotificationReceivers_Expecter) Scopes

func (_e *NotificationReceivers_Expecter) Scopes(fns ...interface{}) *NotificationReceivers_Scopes_Call

Scopes is a helper method to define mock.On call

  • fns ...notification.ReceiverFn

type NotificationReceivers_Permissions_Call

type NotificationReceivers_Permissions_Call struct {
	*mock.Call
}

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

func (*NotificationReceivers_Permissions_Call) Return

func (*NotificationReceivers_Permissions_Call) Run

func (*NotificationReceivers_Permissions_Call) RunAndReturn

type NotificationReceivers_Scopes_Call

type NotificationReceivers_Scopes_Call struct {
	*mock.Call
}

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

func (*NotificationReceivers_Scopes_Call) Return

func (*NotificationReceivers_Scopes_Call) Run

func (*NotificationReceivers_Scopes_Call) RunAndReturn

type NotificationResolver

type NotificationResolver struct {
	mock.Mock
}

NotificationResolver is an autogenerated mock type for the Resolver type

func NewNotificationResolver

func NewNotificationResolver(t interface {
	mock.TestingT
	Cleanup(func())
}) *NotificationResolver

NewNotificationResolver creates a new instance of NotificationResolver. 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 (*NotificationResolver) EXPECT

func (*NotificationResolver) Resolve

Resolve provides a mock function for the type NotificationResolver

type NotificationResolver_Expecter

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

func (*NotificationResolver_Expecter) Resolve

Resolve is a helper method to define mock.On call

type NotificationResolver_Resolve_Call

type NotificationResolver_Resolve_Call struct {
	*mock.Call
}

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

func (*NotificationResolver_Resolve_Call) Return

func (*NotificationResolver_Resolve_Call) Run

func (*NotificationResolver_Resolve_Call) RunAndReturn

type ProfileServer

type ProfileServer struct {
	mock.Mock
}

ProfileServer is an autogenerated mock type for the Server type

func NewProfileServer

func NewProfileServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProfileServer

NewProfileServer creates a new instance of ProfileServer. 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 (*ProfileServer) Close

func (_mock *ProfileServer) Close()

Close provides a mock function for the type ProfileServer

func (*ProfileServer) EXPECT

func (_m *ProfileServer) EXPECT() *ProfileServer_Expecter

func (*ProfileServer) Init

func (_mock *ProfileServer) Init(config *profile.Config) error

Init provides a mock function for the type ProfileServer

func (*ProfileServer) Listen

func (_mock *ProfileServer) Listen()

Listen provides a mock function for the type ProfileServer

type ProfileServer_Close_Call

type ProfileServer_Close_Call struct {
	*mock.Call
}

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

func (*ProfileServer_Close_Call) Return

func (*ProfileServer_Close_Call) Run

func (*ProfileServer_Close_Call) RunAndReturn

func (_c *ProfileServer_Close_Call) RunAndReturn(run func()) *ProfileServer_Close_Call

type ProfileServer_Expecter

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

func (*ProfileServer_Expecter) Close

Close is a helper method to define mock.On call

func (*ProfileServer_Expecter) Init

func (_e *ProfileServer_Expecter) Init(config interface{}) *ProfileServer_Init_Call

Init is a helper method to define mock.On call

  • config *profile.Config

func (*ProfileServer_Expecter) Listen

Listen is a helper method to define mock.On call

type ProfileServer_Init_Call

type ProfileServer_Init_Call struct {
	*mock.Call
}

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

func (*ProfileServer_Init_Call) Return

func (*ProfileServer_Init_Call) Run

func (_c *ProfileServer_Init_Call) Run(run func(config *profile.Config)) *ProfileServer_Init_Call

func (*ProfileServer_Init_Call) RunAndReturn

func (_c *ProfileServer_Init_Call) RunAndReturn(run func(config *profile.Config) error) *ProfileServer_Init_Call

type ProfileServer_Listen_Call

type ProfileServer_Listen_Call struct {
	*mock.Call
}

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

func (*ProfileServer_Listen_Call) Return

func (*ProfileServer_Listen_Call) Run

func (*ProfileServer_Listen_Call) RunAndReturn

func (_c *ProfileServer_Listen_Call) RunAndReturn(run func()) *ProfileServer_Listen_Call

type RedisPriorityQueue

type RedisPriorityQueue[T any] struct {
	mock.Mock
}

RedisPriorityQueue is an autogenerated mock type for the PriorityQueue type

func NewRedisPriorityQueue

func NewRedisPriorityQueue[T any](t interface {
	mock.TestingT
	Cleanup(func())
}) *RedisPriorityQueue[T]

NewRedisPriorityQueue creates a new instance of RedisPriorityQueue. 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 (*RedisPriorityQueue[T]) EXPECT

func (_m *RedisPriorityQueue[T]) EXPECT() *RedisPriorityQueue_Expecter[T]

func (*RedisPriorityQueue[T]) Pop

func (_mock *RedisPriorityQueue[T]) Pop(ctx context.Context, numItems int) ([]T, error)

Pop provides a mock function for the type RedisPriorityQueue

func (*RedisPriorityQueue[T]) PopManyAndRemove

func (_mock *RedisPriorityQueue[T]) PopManyAndRemove(ctx context.Context, numItems int) ([]T, error)

PopManyAndRemove provides a mock function for the type RedisPriorityQueue

func (*RedisPriorityQueue[T]) Push

func (_mock *RedisPriorityQueue[T]) Push(ctx context.Context, item T, priority int) error

Push provides a mock function for the type RedisPriorityQueue

type RedisPriorityQueue_Expecter

type RedisPriorityQueue_Expecter[T any] struct {
	// contains filtered or unexported fields
}

func (*RedisPriorityQueue_Expecter[T]) Pop

func (_e *RedisPriorityQueue_Expecter[T]) Pop(ctx interface{}, numItems interface{}) *RedisPriorityQueue_Pop_Call[T]

Pop is a helper method to define mock.On call

  • ctx context.Context
  • numItems int

func (*RedisPriorityQueue_Expecter[T]) PopManyAndRemove

func (_e *RedisPriorityQueue_Expecter[T]) PopManyAndRemove(ctx interface{}, numItems interface{}) *RedisPriorityQueue_PopManyAndRemove_Call[T]

PopManyAndRemove is a helper method to define mock.On call

  • ctx context.Context
  • numItems int

func (*RedisPriorityQueue_Expecter[T]) Push

func (_e *RedisPriorityQueue_Expecter[T]) Push(ctx interface{}, item interface{}, priority interface{}) *RedisPriorityQueue_Push_Call[T]

Push is a helper method to define mock.On call

  • ctx context.Context
  • item T
  • priority int

type RedisPriorityQueue_PopManyAndRemove_Call

type RedisPriorityQueue_PopManyAndRemove_Call[T any] struct {
	*mock.Call
}

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

func (*RedisPriorityQueue_PopManyAndRemove_Call[T]) Return

func (*RedisPriorityQueue_PopManyAndRemove_Call[T]) Run

func (*RedisPriorityQueue_PopManyAndRemove_Call[T]) RunAndReturn

func (_c *RedisPriorityQueue_PopManyAndRemove_Call[T]) RunAndReturn(run func(ctx context.Context, numItems int) ([]T, error)) *RedisPriorityQueue_PopManyAndRemove_Call[T]

type RedisPriorityQueue_Pop_Call

type RedisPriorityQueue_Pop_Call[T any] struct {
	*mock.Call
}

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

func (*RedisPriorityQueue_Pop_Call[T]) Return

func (_c *RedisPriorityQueue_Pop_Call[T]) Return(vs []T, err error) *RedisPriorityQueue_Pop_Call[T]

func (*RedisPriorityQueue_Pop_Call[T]) Run

func (_c *RedisPriorityQueue_Pop_Call[T]) Run(run func(ctx context.Context, numItems int)) *RedisPriorityQueue_Pop_Call[T]

func (*RedisPriorityQueue_Pop_Call[T]) RunAndReturn

func (_c *RedisPriorityQueue_Pop_Call[T]) RunAndReturn(run func(ctx context.Context, numItems int) ([]T, error)) *RedisPriorityQueue_Pop_Call[T]

type RedisPriorityQueue_Push_Call

type RedisPriorityQueue_Push_Call[T any] struct {
	*mock.Call
}

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

func (*RedisPriorityQueue_Push_Call[T]) Return

func (*RedisPriorityQueue_Push_Call[T]) Run

func (_c *RedisPriorityQueue_Push_Call[T]) Run(run func(ctx context.Context, item T, priority int)) *RedisPriorityQueue_Push_Call[T]

func (*RedisPriorityQueue_Push_Call[T]) RunAndReturn

func (_c *RedisPriorityQueue_Push_Call[T]) RunAndReturn(run func(ctx context.Context, item T, priority int) error) *RedisPriorityQueue_Push_Call[T]

Jump to

Keyboard shortcuts

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