Documentation
¶
Index ¶
- type ApiprotoCentrifugoApiClient
- func (_mock *ApiprotoCentrifugoApiClient) Batch(ctx context.Context, in *apiproto.BatchRequest, opts ...grpc.CallOption) (*apiproto.BatchResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) BlockUser(ctx context.Context, in *apiproto.BlockUserRequest, opts ...grpc.CallOption) (*apiproto.BlockUserResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Broadcast(ctx context.Context, in *apiproto.BroadcastRequest, opts ...grpc.CallOption) (*apiproto.BroadcastResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) CancelPush(ctx context.Context, in *apiproto.CancelPushRequest, opts ...grpc.CallOption) (*apiproto.CancelPushResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Channels(ctx context.Context, in *apiproto.ChannelsRequest, opts ...grpc.CallOption) (*apiproto.ChannelsResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Connections(ctx context.Context, in *apiproto.ConnectionsRequest, opts ...grpc.CallOption) (*apiproto.ConnectionsResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) DeleteUserStatus(ctx context.Context, in *apiproto.DeleteUserStatusRequest, ...) (*apiproto.DeleteUserStatusResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) DeviceList(ctx context.Context, in *apiproto.DeviceListRequest, opts ...grpc.CallOption) (*apiproto.DeviceListResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) DeviceRegister(ctx context.Context, in *apiproto.DeviceRegisterRequest, ...) (*apiproto.DeviceRegisterResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) DeviceRemove(ctx context.Context, in *apiproto.DeviceRemoveRequest, opts ...grpc.CallOption) (*apiproto.DeviceRemoveResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) DeviceTopicList(ctx context.Context, in *apiproto.DeviceTopicListRequest, ...) (*apiproto.DeviceTopicListResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) DeviceTopicUpdate(ctx context.Context, in *apiproto.DeviceTopicUpdateRequest, ...) (*apiproto.DeviceTopicUpdateResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) DeviceUpdate(ctx context.Context, in *apiproto.DeviceUpdateRequest, opts ...grpc.CallOption) (*apiproto.DeviceUpdateResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Disconnect(ctx context.Context, in *apiproto.DisconnectRequest, opts ...grpc.CallOption) (*apiproto.DisconnectResponse, error)
- func (_m *ApiprotoCentrifugoApiClient) EXPECT() *ApiprotoCentrifugoApiClient_Expecter
- func (_mock *ApiprotoCentrifugoApiClient) GetUserStatus(ctx context.Context, in *apiproto.GetUserStatusRequest, ...) (*apiproto.GetUserStatusResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) History(ctx context.Context, in *apiproto.HistoryRequest, opts ...grpc.CallOption) (*apiproto.HistoryResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) HistoryRemove(ctx context.Context, in *apiproto.HistoryRemoveRequest, ...) (*apiproto.HistoryRemoveResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Info(ctx context.Context, in *apiproto.InfoRequest, opts ...grpc.CallOption) (*apiproto.InfoResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) InvalidateUserTokens(ctx context.Context, in *apiproto.InvalidateUserTokensRequest, ...) (*apiproto.InvalidateUserTokensResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Presence(ctx context.Context, in *apiproto.PresenceRequest, opts ...grpc.CallOption) (*apiproto.PresenceResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) PresenceStats(ctx context.Context, in *apiproto.PresenceStatsRequest, ...) (*apiproto.PresenceStatsResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Publish(ctx context.Context, in *apiproto.PublishRequest, opts ...grpc.CallOption) (*apiproto.PublishResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) RPC(ctx context.Context, in *apiproto.RPCRequest, opts ...grpc.CallOption) (*apiproto.RPCResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) RateLimit(ctx context.Context, in *apiproto.RateLimitRequest, opts ...grpc.CallOption) (*apiproto.RateLimitResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Refresh(ctx context.Context, in *apiproto.RefreshRequest, opts ...grpc.CallOption) (*apiproto.RefreshResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) RevokeToken(ctx context.Context, in *apiproto.RevokeTokenRequest, opts ...grpc.CallOption) (*apiproto.RevokeTokenResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) SendPushNotification(ctx context.Context, in *apiproto.SendPushNotificationRequest, ...) (*apiproto.SendPushNotificationResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Subscribe(ctx context.Context, in *apiproto.SubscribeRequest, opts ...grpc.CallOption) (*apiproto.SubscribeResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) UnblockUser(ctx context.Context, in *apiproto.UnblockUserRequest, opts ...grpc.CallOption) (*apiproto.UnblockUserResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) Unsubscribe(ctx context.Context, in *apiproto.UnsubscribeRequest, opts ...grpc.CallOption) (*apiproto.UnsubscribeResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) UpdatePushStatus(ctx context.Context, in *apiproto.UpdatePushStatusRequest, ...) (*apiproto.UpdatePushStatusResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) UpdateUserStatus(ctx context.Context, in *apiproto.UpdateUserStatusRequest, ...) (*apiproto.UpdateUserStatusResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) UserTopicList(ctx context.Context, in *apiproto.UserTopicListRequest, ...) (*apiproto.UserTopicListResponse, error)
- func (_mock *ApiprotoCentrifugoApiClient) UserTopicUpdate(ctx context.Context, in *apiproto.UserTopicUpdateRequest, ...) (*apiproto.UserTopicUpdateResponse, error)
- type ApiprotoCentrifugoApiClient_Batch_Call
- func (_c *ApiprotoCentrifugoApiClient_Batch_Call) Return(batchResponse *apiproto.BatchResponse, err error) *ApiprotoCentrifugoApiClient_Batch_Call
- func (_c *ApiprotoCentrifugoApiClient_Batch_Call) Run(...) *ApiprotoCentrifugoApiClient_Batch_Call
- func (_c *ApiprotoCentrifugoApiClient_Batch_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Batch_Call
- type ApiprotoCentrifugoApiClient_BlockUser_Call
- func (_c *ApiprotoCentrifugoApiClient_BlockUser_Call) Return(blockUserResponse *apiproto.BlockUserResponse, err error) *ApiprotoCentrifugoApiClient_BlockUser_Call
- func (_c *ApiprotoCentrifugoApiClient_BlockUser_Call) Run(...) *ApiprotoCentrifugoApiClient_BlockUser_Call
- func (_c *ApiprotoCentrifugoApiClient_BlockUser_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_BlockUser_Call
- type ApiprotoCentrifugoApiClient_Broadcast_Call
- func (_c *ApiprotoCentrifugoApiClient_Broadcast_Call) Return(broadcastResponse *apiproto.BroadcastResponse, err error) *ApiprotoCentrifugoApiClient_Broadcast_Call
- func (_c *ApiprotoCentrifugoApiClient_Broadcast_Call) Run(...) *ApiprotoCentrifugoApiClient_Broadcast_Call
- func (_c *ApiprotoCentrifugoApiClient_Broadcast_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Broadcast_Call
- type ApiprotoCentrifugoApiClient_CancelPush_Call
- func (_c *ApiprotoCentrifugoApiClient_CancelPush_Call) Return(cancelPushResponse *apiproto.CancelPushResponse, err error) *ApiprotoCentrifugoApiClient_CancelPush_Call
- func (_c *ApiprotoCentrifugoApiClient_CancelPush_Call) Run(...) *ApiprotoCentrifugoApiClient_CancelPush_Call
- func (_c *ApiprotoCentrifugoApiClient_CancelPush_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_CancelPush_Call
- type ApiprotoCentrifugoApiClient_Channels_Call
- func (_c *ApiprotoCentrifugoApiClient_Channels_Call) Return(channelsResponse *apiproto.ChannelsResponse, err error) *ApiprotoCentrifugoApiClient_Channels_Call
- func (_c *ApiprotoCentrifugoApiClient_Channels_Call) Run(...) *ApiprotoCentrifugoApiClient_Channels_Call
- func (_c *ApiprotoCentrifugoApiClient_Channels_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Channels_Call
- type ApiprotoCentrifugoApiClient_Connections_Call
- func (_c *ApiprotoCentrifugoApiClient_Connections_Call) Return(connectionsResponse *apiproto.ConnectionsResponse, err error) *ApiprotoCentrifugoApiClient_Connections_Call
- func (_c *ApiprotoCentrifugoApiClient_Connections_Call) Run(...) *ApiprotoCentrifugoApiClient_Connections_Call
- func (_c *ApiprotoCentrifugoApiClient_Connections_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Connections_Call
- type ApiprotoCentrifugoApiClient_DeleteUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) Return(deleteUserStatusResponse *apiproto.DeleteUserStatusResponse, err error) *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) Run(run func(ctx context.Context, in *apiproto.DeleteUserStatusRequest, ...)) *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call
- type ApiprotoCentrifugoApiClient_DeviceList_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceList_Call) Return(deviceListResponse *apiproto.DeviceListResponse, err error) *ApiprotoCentrifugoApiClient_DeviceList_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceList_Call) Run(...) *ApiprotoCentrifugoApiClient_DeviceList_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceList_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_DeviceList_Call
- type ApiprotoCentrifugoApiClient_DeviceRegister_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceRegister_Call) Return(deviceRegisterResponse *apiproto.DeviceRegisterResponse, err error) *ApiprotoCentrifugoApiClient_DeviceRegister_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceRegister_Call) Run(run func(ctx context.Context, in *apiproto.DeviceRegisterRequest, ...)) *ApiprotoCentrifugoApiClient_DeviceRegister_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceRegister_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_DeviceRegister_Call
- type ApiprotoCentrifugoApiClient_DeviceRemove_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceRemove_Call) Return(deviceRemoveResponse *apiproto.DeviceRemoveResponse, err error) *ApiprotoCentrifugoApiClient_DeviceRemove_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceRemove_Call) Run(...) *ApiprotoCentrifugoApiClient_DeviceRemove_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceRemove_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_DeviceRemove_Call
- type ApiprotoCentrifugoApiClient_DeviceTopicList_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceTopicList_Call) Return(deviceTopicListResponse *apiproto.DeviceTopicListResponse, err error) *ApiprotoCentrifugoApiClient_DeviceTopicList_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceTopicList_Call) Run(run func(ctx context.Context, in *apiproto.DeviceTopicListRequest, ...)) *ApiprotoCentrifugoApiClient_DeviceTopicList_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceTopicList_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_DeviceTopicList_Call
- type ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) Return(deviceTopicUpdateResponse *apiproto.DeviceTopicUpdateResponse, err error) *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) Run(run func(ctx context.Context, in *apiproto.DeviceTopicUpdateRequest, ...)) *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call
- type ApiprotoCentrifugoApiClient_DeviceUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceUpdate_Call) Return(deviceUpdateResponse *apiproto.DeviceUpdateResponse, err error) *ApiprotoCentrifugoApiClient_DeviceUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceUpdate_Call) Run(...) *ApiprotoCentrifugoApiClient_DeviceUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_DeviceUpdate_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_DeviceUpdate_Call
- type ApiprotoCentrifugoApiClient_Disconnect_Call
- func (_c *ApiprotoCentrifugoApiClient_Disconnect_Call) Return(disconnectResponse *apiproto.DisconnectResponse, err error) *ApiprotoCentrifugoApiClient_Disconnect_Call
- func (_c *ApiprotoCentrifugoApiClient_Disconnect_Call) Run(...) *ApiprotoCentrifugoApiClient_Disconnect_Call
- func (_c *ApiprotoCentrifugoApiClient_Disconnect_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Disconnect_Call
- type ApiprotoCentrifugoApiClient_Expecter
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Batch(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Batch_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) BlockUser(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_BlockUser_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Broadcast(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Broadcast_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) CancelPush(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_CancelPush_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Channels(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Channels_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Connections(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Connections_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) DeleteUserStatus(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeleteUserStatus_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceList(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceList_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceRegister(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceRegister_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceRemove(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceRemove_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceTopicList(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceTopicList_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceTopicUpdate(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceTopicUpdate_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) DeviceUpdate(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_DeviceUpdate_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Disconnect(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Disconnect_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) GetUserStatus(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_GetUserStatus_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) History(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_History_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) HistoryRemove(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_HistoryRemove_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Info(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Info_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) InvalidateUserTokens(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Presence(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Presence_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) PresenceStats(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_PresenceStats_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Publish(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Publish_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) RPC(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_RPC_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) RateLimit(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_RateLimit_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Refresh(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Refresh_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) RevokeToken(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_RevokeToken_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) SendPushNotification(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_SendPushNotification_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Subscribe(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Subscribe_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) UnblockUser(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UnblockUser_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) Unsubscribe(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_Unsubscribe_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) UpdatePushStatus(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) UpdateUserStatus(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) UserTopicList(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UserTopicList_Call
- func (_e *ApiprotoCentrifugoApiClient_Expecter) UserTopicUpdate(ctx interface{}, in interface{}, opts ...interface{}) *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call
- type ApiprotoCentrifugoApiClient_GetUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_GetUserStatus_Call) Return(getUserStatusResponse *apiproto.GetUserStatusResponse, err error) *ApiprotoCentrifugoApiClient_GetUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_GetUserStatus_Call) Run(run func(ctx context.Context, in *apiproto.GetUserStatusRequest, ...)) *ApiprotoCentrifugoApiClient_GetUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_GetUserStatus_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_GetUserStatus_Call
- type ApiprotoCentrifugoApiClient_HistoryRemove_Call
- func (_c *ApiprotoCentrifugoApiClient_HistoryRemove_Call) Return(historyRemoveResponse *apiproto.HistoryRemoveResponse, err error) *ApiprotoCentrifugoApiClient_HistoryRemove_Call
- func (_c *ApiprotoCentrifugoApiClient_HistoryRemove_Call) Run(run func(ctx context.Context, in *apiproto.HistoryRemoveRequest, ...)) *ApiprotoCentrifugoApiClient_HistoryRemove_Call
- func (_c *ApiprotoCentrifugoApiClient_HistoryRemove_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_HistoryRemove_Call
- type ApiprotoCentrifugoApiClient_History_Call
- func (_c *ApiprotoCentrifugoApiClient_History_Call) Return(historyResponse *apiproto.HistoryResponse, err error) *ApiprotoCentrifugoApiClient_History_Call
- func (_c *ApiprotoCentrifugoApiClient_History_Call) Run(...) *ApiprotoCentrifugoApiClient_History_Call
- func (_c *ApiprotoCentrifugoApiClient_History_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_History_Call
- type ApiprotoCentrifugoApiClient_Info_Call
- func (_c *ApiprotoCentrifugoApiClient_Info_Call) Return(infoResponse *apiproto.InfoResponse, err error) *ApiprotoCentrifugoApiClient_Info_Call
- func (_c *ApiprotoCentrifugoApiClient_Info_Call) Run(...) *ApiprotoCentrifugoApiClient_Info_Call
- func (_c *ApiprotoCentrifugoApiClient_Info_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Info_Call
- type ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call
- func (_c *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) Return(invalidateUserTokensResponse *apiproto.InvalidateUserTokensResponse, err error) *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call
- func (_c *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) Run(run func(ctx context.Context, in *apiproto.InvalidateUserTokensRequest, ...)) *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call
- func (_c *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call
- type ApiprotoCentrifugoApiClient_PresenceStats_Call
- func (_c *ApiprotoCentrifugoApiClient_PresenceStats_Call) Return(presenceStatsResponse *apiproto.PresenceStatsResponse, err error) *ApiprotoCentrifugoApiClient_PresenceStats_Call
- func (_c *ApiprotoCentrifugoApiClient_PresenceStats_Call) Run(run func(ctx context.Context, in *apiproto.PresenceStatsRequest, ...)) *ApiprotoCentrifugoApiClient_PresenceStats_Call
- func (_c *ApiprotoCentrifugoApiClient_PresenceStats_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_PresenceStats_Call
- type ApiprotoCentrifugoApiClient_Presence_Call
- func (_c *ApiprotoCentrifugoApiClient_Presence_Call) Return(presenceResponse *apiproto.PresenceResponse, err error) *ApiprotoCentrifugoApiClient_Presence_Call
- func (_c *ApiprotoCentrifugoApiClient_Presence_Call) Run(...) *ApiprotoCentrifugoApiClient_Presence_Call
- func (_c *ApiprotoCentrifugoApiClient_Presence_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Presence_Call
- type ApiprotoCentrifugoApiClient_Publish_Call
- func (_c *ApiprotoCentrifugoApiClient_Publish_Call) Return(publishResponse *apiproto.PublishResponse, err error) *ApiprotoCentrifugoApiClient_Publish_Call
- func (_c *ApiprotoCentrifugoApiClient_Publish_Call) Run(...) *ApiprotoCentrifugoApiClient_Publish_Call
- func (_c *ApiprotoCentrifugoApiClient_Publish_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Publish_Call
- type ApiprotoCentrifugoApiClient_RPC_Call
- func (_c *ApiprotoCentrifugoApiClient_RPC_Call) Return(rPCResponse *apiproto.RPCResponse, err error) *ApiprotoCentrifugoApiClient_RPC_Call
- func (_c *ApiprotoCentrifugoApiClient_RPC_Call) Run(...) *ApiprotoCentrifugoApiClient_RPC_Call
- func (_c *ApiprotoCentrifugoApiClient_RPC_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_RPC_Call
- type ApiprotoCentrifugoApiClient_RateLimit_Call
- func (_c *ApiprotoCentrifugoApiClient_RateLimit_Call) Return(rateLimitResponse *apiproto.RateLimitResponse, err error) *ApiprotoCentrifugoApiClient_RateLimit_Call
- func (_c *ApiprotoCentrifugoApiClient_RateLimit_Call) Run(...) *ApiprotoCentrifugoApiClient_RateLimit_Call
- func (_c *ApiprotoCentrifugoApiClient_RateLimit_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_RateLimit_Call
- type ApiprotoCentrifugoApiClient_Refresh_Call
- func (_c *ApiprotoCentrifugoApiClient_Refresh_Call) Return(refreshResponse *apiproto.RefreshResponse, err error) *ApiprotoCentrifugoApiClient_Refresh_Call
- func (_c *ApiprotoCentrifugoApiClient_Refresh_Call) Run(...) *ApiprotoCentrifugoApiClient_Refresh_Call
- func (_c *ApiprotoCentrifugoApiClient_Refresh_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Refresh_Call
- type ApiprotoCentrifugoApiClient_RevokeToken_Call
- func (_c *ApiprotoCentrifugoApiClient_RevokeToken_Call) Return(revokeTokenResponse *apiproto.RevokeTokenResponse, err error) *ApiprotoCentrifugoApiClient_RevokeToken_Call
- func (_c *ApiprotoCentrifugoApiClient_RevokeToken_Call) Run(...) *ApiprotoCentrifugoApiClient_RevokeToken_Call
- func (_c *ApiprotoCentrifugoApiClient_RevokeToken_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_RevokeToken_Call
- type ApiprotoCentrifugoApiClient_SendPushNotification_Call
- func (_c *ApiprotoCentrifugoApiClient_SendPushNotification_Call) Return(sendPushNotificationResponse *apiproto.SendPushNotificationResponse, err error) *ApiprotoCentrifugoApiClient_SendPushNotification_Call
- func (_c *ApiprotoCentrifugoApiClient_SendPushNotification_Call) Run(run func(ctx context.Context, in *apiproto.SendPushNotificationRequest, ...)) *ApiprotoCentrifugoApiClient_SendPushNotification_Call
- func (_c *ApiprotoCentrifugoApiClient_SendPushNotification_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_SendPushNotification_Call
- type ApiprotoCentrifugoApiClient_Subscribe_Call
- func (_c *ApiprotoCentrifugoApiClient_Subscribe_Call) Return(subscribeResponse *apiproto.SubscribeResponse, err error) *ApiprotoCentrifugoApiClient_Subscribe_Call
- func (_c *ApiprotoCentrifugoApiClient_Subscribe_Call) Run(...) *ApiprotoCentrifugoApiClient_Subscribe_Call
- func (_c *ApiprotoCentrifugoApiClient_Subscribe_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Subscribe_Call
- type ApiprotoCentrifugoApiClient_UnblockUser_Call
- func (_c *ApiprotoCentrifugoApiClient_UnblockUser_Call) Return(unblockUserResponse *apiproto.UnblockUserResponse, err error) *ApiprotoCentrifugoApiClient_UnblockUser_Call
- func (_c *ApiprotoCentrifugoApiClient_UnblockUser_Call) Run(...) *ApiprotoCentrifugoApiClient_UnblockUser_Call
- func (_c *ApiprotoCentrifugoApiClient_UnblockUser_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_UnblockUser_Call
- type ApiprotoCentrifugoApiClient_Unsubscribe_Call
- func (_c *ApiprotoCentrifugoApiClient_Unsubscribe_Call) Return(unsubscribeResponse *apiproto.UnsubscribeResponse, err error) *ApiprotoCentrifugoApiClient_Unsubscribe_Call
- func (_c *ApiprotoCentrifugoApiClient_Unsubscribe_Call) Run(...) *ApiprotoCentrifugoApiClient_Unsubscribe_Call
- func (_c *ApiprotoCentrifugoApiClient_Unsubscribe_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_Unsubscribe_Call
- type ApiprotoCentrifugoApiClient_UpdatePushStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) Return(updatePushStatusResponse *apiproto.UpdatePushStatusResponse, err error) *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) Run(run func(ctx context.Context, in *apiproto.UpdatePushStatusRequest, ...)) *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_UpdatePushStatus_Call
- type ApiprotoCentrifugoApiClient_UpdateUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) Return(updateUserStatusResponse *apiproto.UpdateUserStatusResponse, err error) *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) Run(run func(ctx context.Context, in *apiproto.UpdateUserStatusRequest, ...)) *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call
- func (_c *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_UpdateUserStatus_Call
- type ApiprotoCentrifugoApiClient_UserTopicList_Call
- func (_c *ApiprotoCentrifugoApiClient_UserTopicList_Call) Return(userTopicListResponse *apiproto.UserTopicListResponse, err error) *ApiprotoCentrifugoApiClient_UserTopicList_Call
- func (_c *ApiprotoCentrifugoApiClient_UserTopicList_Call) Run(run func(ctx context.Context, in *apiproto.UserTopicListRequest, ...)) *ApiprotoCentrifugoApiClient_UserTopicList_Call
- func (_c *ApiprotoCentrifugoApiClient_UserTopicList_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_UserTopicList_Call
- type ApiprotoCentrifugoApiClient_UserTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) Return(userTopicUpdateResponse *apiproto.UserTopicUpdateResponse, err error) *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) Run(run func(ctx context.Context, in *apiproto.UserTopicUpdateRequest, ...)) *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call) RunAndReturn(...) *ApiprotoCentrifugoApiClient_UserTopicUpdate_Call
- type ApiprotoCentrifugoApiServer
- func (_mock *ApiprotoCentrifugoApiServer) Batch(context1 context.Context, batchRequest *apiproto.BatchRequest) (*apiproto.BatchResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) BlockUser(context1 context.Context, blockUserRequest *apiproto.BlockUserRequest) (*apiproto.BlockUserResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Broadcast(context1 context.Context, broadcastRequest *apiproto.BroadcastRequest) (*apiproto.BroadcastResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) CancelPush(context1 context.Context, cancelPushRequest *apiproto.CancelPushRequest) (*apiproto.CancelPushResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Channels(context1 context.Context, channelsRequest *apiproto.ChannelsRequest) (*apiproto.ChannelsResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Connections(context1 context.Context, connectionsRequest *apiproto.ConnectionsRequest) (*apiproto.ConnectionsResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) DeleteUserStatus(context1 context.Context, ...) (*apiproto.DeleteUserStatusResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) DeviceList(context1 context.Context, deviceListRequest *apiproto.DeviceListRequest) (*apiproto.DeviceListResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) DeviceRegister(context1 context.Context, ...) (*apiproto.DeviceRegisterResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) DeviceRemove(context1 context.Context, deviceRemoveRequest *apiproto.DeviceRemoveRequest) (*apiproto.DeviceRemoveResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) DeviceTopicList(context1 context.Context, ...) (*apiproto.DeviceTopicListResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) DeviceTopicUpdate(context1 context.Context, ...) (*apiproto.DeviceTopicUpdateResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) DeviceUpdate(context1 context.Context, deviceUpdateRequest *apiproto.DeviceUpdateRequest) (*apiproto.DeviceUpdateResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Disconnect(context1 context.Context, disconnectRequest *apiproto.DisconnectRequest) (*apiproto.DisconnectResponse, error)
- func (_m *ApiprotoCentrifugoApiServer) EXPECT() *ApiprotoCentrifugoApiServer_Expecter
- func (_mock *ApiprotoCentrifugoApiServer) GetUserStatus(context1 context.Context, getUserStatusRequest *apiproto.GetUserStatusRequest) (*apiproto.GetUserStatusResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) History(context1 context.Context, historyRequest *apiproto.HistoryRequest) (*apiproto.HistoryResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) HistoryRemove(context1 context.Context, historyRemoveRequest *apiproto.HistoryRemoveRequest) (*apiproto.HistoryRemoveResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Info(context1 context.Context, infoRequest *apiproto.InfoRequest) (*apiproto.InfoResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) InvalidateUserTokens(context1 context.Context, ...) (*apiproto.InvalidateUserTokensResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Presence(context1 context.Context, presenceRequest *apiproto.PresenceRequest) (*apiproto.PresenceResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) PresenceStats(context1 context.Context, presenceStatsRequest *apiproto.PresenceStatsRequest) (*apiproto.PresenceStatsResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Publish(context1 context.Context, publishRequest *apiproto.PublishRequest) (*apiproto.PublishResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) RPC(context1 context.Context, rPCRequest *apiproto.RPCRequest) (*apiproto.RPCResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) RateLimit(context1 context.Context, rateLimitRequest *apiproto.RateLimitRequest) (*apiproto.RateLimitResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Refresh(context1 context.Context, refreshRequest *apiproto.RefreshRequest) (*apiproto.RefreshResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) RevokeToken(context1 context.Context, revokeTokenRequest *apiproto.RevokeTokenRequest) (*apiproto.RevokeTokenResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) SendPushNotification(context1 context.Context, ...) (*apiproto.SendPushNotificationResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Subscribe(context1 context.Context, subscribeRequest *apiproto.SubscribeRequest) (*apiproto.SubscribeResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) UnblockUser(context1 context.Context, unblockUserRequest *apiproto.UnblockUserRequest) (*apiproto.UnblockUserResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) Unsubscribe(context1 context.Context, unsubscribeRequest *apiproto.UnsubscribeRequest) (*apiproto.UnsubscribeResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) UpdatePushStatus(context1 context.Context, ...) (*apiproto.UpdatePushStatusResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) UpdateUserStatus(context1 context.Context, ...) (*apiproto.UpdateUserStatusResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) UserTopicList(context1 context.Context, userTopicListRequest *apiproto.UserTopicListRequest) (*apiproto.UserTopicListResponse, error)
- func (_mock *ApiprotoCentrifugoApiServer) UserTopicUpdate(context1 context.Context, ...) (*apiproto.UserTopicUpdateResponse, error)
- type ApiprotoCentrifugoApiServer_Batch_Call
- func (_c *ApiprotoCentrifugoApiServer_Batch_Call) Return(batchResponse *apiproto.BatchResponse, err error) *ApiprotoCentrifugoApiServer_Batch_Call
- func (_c *ApiprotoCentrifugoApiServer_Batch_Call) Run(run func(context1 context.Context, batchRequest *apiproto.BatchRequest)) *ApiprotoCentrifugoApiServer_Batch_Call
- func (_c *ApiprotoCentrifugoApiServer_Batch_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Batch_Call
- type ApiprotoCentrifugoApiServer_BlockUser_Call
- func (_c *ApiprotoCentrifugoApiServer_BlockUser_Call) Return(blockUserResponse *apiproto.BlockUserResponse, err error) *ApiprotoCentrifugoApiServer_BlockUser_Call
- func (_c *ApiprotoCentrifugoApiServer_BlockUser_Call) Run(...) *ApiprotoCentrifugoApiServer_BlockUser_Call
- func (_c *ApiprotoCentrifugoApiServer_BlockUser_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_BlockUser_Call
- type ApiprotoCentrifugoApiServer_Broadcast_Call
- func (_c *ApiprotoCentrifugoApiServer_Broadcast_Call) Return(broadcastResponse *apiproto.BroadcastResponse, err error) *ApiprotoCentrifugoApiServer_Broadcast_Call
- func (_c *ApiprotoCentrifugoApiServer_Broadcast_Call) Run(...) *ApiprotoCentrifugoApiServer_Broadcast_Call
- func (_c *ApiprotoCentrifugoApiServer_Broadcast_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Broadcast_Call
- type ApiprotoCentrifugoApiServer_CancelPush_Call
- func (_c *ApiprotoCentrifugoApiServer_CancelPush_Call) Return(cancelPushResponse *apiproto.CancelPushResponse, err error) *ApiprotoCentrifugoApiServer_CancelPush_Call
- func (_c *ApiprotoCentrifugoApiServer_CancelPush_Call) Run(...) *ApiprotoCentrifugoApiServer_CancelPush_Call
- func (_c *ApiprotoCentrifugoApiServer_CancelPush_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_CancelPush_Call
- type ApiprotoCentrifugoApiServer_Channels_Call
- func (_c *ApiprotoCentrifugoApiServer_Channels_Call) Return(channelsResponse *apiproto.ChannelsResponse, err error) *ApiprotoCentrifugoApiServer_Channels_Call
- func (_c *ApiprotoCentrifugoApiServer_Channels_Call) Run(run func(context1 context.Context, channelsRequest *apiproto.ChannelsRequest)) *ApiprotoCentrifugoApiServer_Channels_Call
- func (_c *ApiprotoCentrifugoApiServer_Channels_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Channels_Call
- type ApiprotoCentrifugoApiServer_Connections_Call
- func (_c *ApiprotoCentrifugoApiServer_Connections_Call) Return(connectionsResponse *apiproto.ConnectionsResponse, err error) *ApiprotoCentrifugoApiServer_Connections_Call
- func (_c *ApiprotoCentrifugoApiServer_Connections_Call) Run(...) *ApiprotoCentrifugoApiServer_Connections_Call
- func (_c *ApiprotoCentrifugoApiServer_Connections_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Connections_Call
- type ApiprotoCentrifugoApiServer_DeleteUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) Return(deleteUserStatusResponse *apiproto.DeleteUserStatusResponse, err error) *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call
- type ApiprotoCentrifugoApiServer_DeviceList_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceList_Call) Return(deviceListResponse *apiproto.DeviceListResponse, err error) *ApiprotoCentrifugoApiServer_DeviceList_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceList_Call) Run(...) *ApiprotoCentrifugoApiServer_DeviceList_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceList_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_DeviceList_Call
- type ApiprotoCentrifugoApiServer_DeviceRegister_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceRegister_Call) Return(deviceRegisterResponse *apiproto.DeviceRegisterResponse, err error) *ApiprotoCentrifugoApiServer_DeviceRegister_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceRegister_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_DeviceRegister_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceRegister_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_DeviceRegister_Call
- type ApiprotoCentrifugoApiServer_DeviceRemove_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceRemove_Call) Return(deviceRemoveResponse *apiproto.DeviceRemoveResponse, err error) *ApiprotoCentrifugoApiServer_DeviceRemove_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceRemove_Call) Run(...) *ApiprotoCentrifugoApiServer_DeviceRemove_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceRemove_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_DeviceRemove_Call
- type ApiprotoCentrifugoApiServer_DeviceTopicList_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceTopicList_Call) Return(deviceTopicListResponse *apiproto.DeviceTopicListResponse, err error) *ApiprotoCentrifugoApiServer_DeviceTopicList_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceTopicList_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_DeviceTopicList_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceTopicList_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_DeviceTopicList_Call
- type ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) Return(deviceTopicUpdateResponse *apiproto.DeviceTopicUpdateResponse, err error) *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call
- type ApiprotoCentrifugoApiServer_DeviceUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceUpdate_Call) Return(deviceUpdateResponse *apiproto.DeviceUpdateResponse, err error) *ApiprotoCentrifugoApiServer_DeviceUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceUpdate_Call) Run(...) *ApiprotoCentrifugoApiServer_DeviceUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_DeviceUpdate_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_DeviceUpdate_Call
- type ApiprotoCentrifugoApiServer_Disconnect_Call
- func (_c *ApiprotoCentrifugoApiServer_Disconnect_Call) Return(disconnectResponse *apiproto.DisconnectResponse, err error) *ApiprotoCentrifugoApiServer_Disconnect_Call
- func (_c *ApiprotoCentrifugoApiServer_Disconnect_Call) Run(...) *ApiprotoCentrifugoApiServer_Disconnect_Call
- func (_c *ApiprotoCentrifugoApiServer_Disconnect_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Disconnect_Call
- type ApiprotoCentrifugoApiServer_Expecter
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Batch(context1 interface{}, batchRequest interface{}) *ApiprotoCentrifugoApiServer_Batch_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) BlockUser(context1 interface{}, blockUserRequest interface{}) *ApiprotoCentrifugoApiServer_BlockUser_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Broadcast(context1 interface{}, broadcastRequest interface{}) *ApiprotoCentrifugoApiServer_Broadcast_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) CancelPush(context1 interface{}, cancelPushRequest interface{}) *ApiprotoCentrifugoApiServer_CancelPush_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Channels(context1 interface{}, channelsRequest interface{}) *ApiprotoCentrifugoApiServer_Channels_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Connections(context1 interface{}, connectionsRequest interface{}) *ApiprotoCentrifugoApiServer_Connections_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) DeleteUserStatus(context1 interface{}, deleteUserStatusRequest interface{}) *ApiprotoCentrifugoApiServer_DeleteUserStatus_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceList(context1 interface{}, deviceListRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceList_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceRegister(context1 interface{}, deviceRegisterRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceRegister_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceRemove(context1 interface{}, deviceRemoveRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceRemove_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceTopicList(context1 interface{}, deviceTopicListRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceTopicList_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceTopicUpdate(context1 interface{}, deviceTopicUpdateRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceTopicUpdate_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) DeviceUpdate(context1 interface{}, deviceUpdateRequest interface{}) *ApiprotoCentrifugoApiServer_DeviceUpdate_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Disconnect(context1 interface{}, disconnectRequest interface{}) *ApiprotoCentrifugoApiServer_Disconnect_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) GetUserStatus(context1 interface{}, getUserStatusRequest interface{}) *ApiprotoCentrifugoApiServer_GetUserStatus_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) History(context1 interface{}, historyRequest interface{}) *ApiprotoCentrifugoApiServer_History_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) HistoryRemove(context1 interface{}, historyRemoveRequest interface{}) *ApiprotoCentrifugoApiServer_HistoryRemove_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Info(context1 interface{}, infoRequest interface{}) *ApiprotoCentrifugoApiServer_Info_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) InvalidateUserTokens(context1 interface{}, invalidateUserTokensRequest interface{}) *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Presence(context1 interface{}, presenceRequest interface{}) *ApiprotoCentrifugoApiServer_Presence_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) PresenceStats(context1 interface{}, presenceStatsRequest interface{}) *ApiprotoCentrifugoApiServer_PresenceStats_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Publish(context1 interface{}, publishRequest interface{}) *ApiprotoCentrifugoApiServer_Publish_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) RPC(context1 interface{}, rPCRequest interface{}) *ApiprotoCentrifugoApiServer_RPC_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) RateLimit(context1 interface{}, rateLimitRequest interface{}) *ApiprotoCentrifugoApiServer_RateLimit_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Refresh(context1 interface{}, refreshRequest interface{}) *ApiprotoCentrifugoApiServer_Refresh_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) RevokeToken(context1 interface{}, revokeTokenRequest interface{}) *ApiprotoCentrifugoApiServer_RevokeToken_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) SendPushNotification(context1 interface{}, sendPushNotificationRequest interface{}) *ApiprotoCentrifugoApiServer_SendPushNotification_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Subscribe(context1 interface{}, subscribeRequest interface{}) *ApiprotoCentrifugoApiServer_Subscribe_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) UnblockUser(context1 interface{}, unblockUserRequest interface{}) *ApiprotoCentrifugoApiServer_UnblockUser_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) Unsubscribe(context1 interface{}, unsubscribeRequest interface{}) *ApiprotoCentrifugoApiServer_Unsubscribe_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) UpdatePushStatus(context1 interface{}, updatePushStatusRequest interface{}) *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) UpdateUserStatus(context1 interface{}, updateUserStatusRequest interface{}) *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) UserTopicList(context1 interface{}, userTopicListRequest interface{}) *ApiprotoCentrifugoApiServer_UserTopicList_Call
- func (_e *ApiprotoCentrifugoApiServer_Expecter) UserTopicUpdate(context1 interface{}, userTopicUpdateRequest interface{}) *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call
- type ApiprotoCentrifugoApiServer_GetUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_GetUserStatus_Call) Return(getUserStatusResponse *apiproto.GetUserStatusResponse, err error) *ApiprotoCentrifugoApiServer_GetUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_GetUserStatus_Call) Run(...) *ApiprotoCentrifugoApiServer_GetUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_GetUserStatus_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_GetUserStatus_Call
- type ApiprotoCentrifugoApiServer_HistoryRemove_Call
- func (_c *ApiprotoCentrifugoApiServer_HistoryRemove_Call) Return(historyRemoveResponse *apiproto.HistoryRemoveResponse, err error) *ApiprotoCentrifugoApiServer_HistoryRemove_Call
- func (_c *ApiprotoCentrifugoApiServer_HistoryRemove_Call) Run(...) *ApiprotoCentrifugoApiServer_HistoryRemove_Call
- func (_c *ApiprotoCentrifugoApiServer_HistoryRemove_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_HistoryRemove_Call
- type ApiprotoCentrifugoApiServer_History_Call
- func (_c *ApiprotoCentrifugoApiServer_History_Call) Return(historyResponse *apiproto.HistoryResponse, err error) *ApiprotoCentrifugoApiServer_History_Call
- func (_c *ApiprotoCentrifugoApiServer_History_Call) Run(run func(context1 context.Context, historyRequest *apiproto.HistoryRequest)) *ApiprotoCentrifugoApiServer_History_Call
- func (_c *ApiprotoCentrifugoApiServer_History_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_History_Call
- type ApiprotoCentrifugoApiServer_Info_Call
- func (_c *ApiprotoCentrifugoApiServer_Info_Call) Return(infoResponse *apiproto.InfoResponse, err error) *ApiprotoCentrifugoApiServer_Info_Call
- func (_c *ApiprotoCentrifugoApiServer_Info_Call) Run(run func(context1 context.Context, infoRequest *apiproto.InfoRequest)) *ApiprotoCentrifugoApiServer_Info_Call
- func (_c *ApiprotoCentrifugoApiServer_Info_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Info_Call
- type ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call
- func (_c *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) Return(invalidateUserTokensResponse *apiproto.InvalidateUserTokensResponse, err error) *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call
- func (_c *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call
- func (_c *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_InvalidateUserTokens_Call
- type ApiprotoCentrifugoApiServer_PresenceStats_Call
- func (_c *ApiprotoCentrifugoApiServer_PresenceStats_Call) Return(presenceStatsResponse *apiproto.PresenceStatsResponse, err error) *ApiprotoCentrifugoApiServer_PresenceStats_Call
- func (_c *ApiprotoCentrifugoApiServer_PresenceStats_Call) Run(...) *ApiprotoCentrifugoApiServer_PresenceStats_Call
- func (_c *ApiprotoCentrifugoApiServer_PresenceStats_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_PresenceStats_Call
- type ApiprotoCentrifugoApiServer_Presence_Call
- func (_c *ApiprotoCentrifugoApiServer_Presence_Call) Return(presenceResponse *apiproto.PresenceResponse, err error) *ApiprotoCentrifugoApiServer_Presence_Call
- func (_c *ApiprotoCentrifugoApiServer_Presence_Call) Run(run func(context1 context.Context, presenceRequest *apiproto.PresenceRequest)) *ApiprotoCentrifugoApiServer_Presence_Call
- func (_c *ApiprotoCentrifugoApiServer_Presence_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Presence_Call
- type ApiprotoCentrifugoApiServer_Publish_Call
- func (_c *ApiprotoCentrifugoApiServer_Publish_Call) Return(publishResponse *apiproto.PublishResponse, err error) *ApiprotoCentrifugoApiServer_Publish_Call
- func (_c *ApiprotoCentrifugoApiServer_Publish_Call) Run(run func(context1 context.Context, publishRequest *apiproto.PublishRequest)) *ApiprotoCentrifugoApiServer_Publish_Call
- func (_c *ApiprotoCentrifugoApiServer_Publish_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Publish_Call
- type ApiprotoCentrifugoApiServer_RPC_Call
- func (_c *ApiprotoCentrifugoApiServer_RPC_Call) Return(rPCResponse *apiproto.RPCResponse, err error) *ApiprotoCentrifugoApiServer_RPC_Call
- func (_c *ApiprotoCentrifugoApiServer_RPC_Call) Run(run func(context1 context.Context, rPCRequest *apiproto.RPCRequest)) *ApiprotoCentrifugoApiServer_RPC_Call
- func (_c *ApiprotoCentrifugoApiServer_RPC_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_RPC_Call
- type ApiprotoCentrifugoApiServer_RateLimit_Call
- func (_c *ApiprotoCentrifugoApiServer_RateLimit_Call) Return(rateLimitResponse *apiproto.RateLimitResponse, err error) *ApiprotoCentrifugoApiServer_RateLimit_Call
- func (_c *ApiprotoCentrifugoApiServer_RateLimit_Call) Run(...) *ApiprotoCentrifugoApiServer_RateLimit_Call
- func (_c *ApiprotoCentrifugoApiServer_RateLimit_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_RateLimit_Call
- type ApiprotoCentrifugoApiServer_Refresh_Call
- func (_c *ApiprotoCentrifugoApiServer_Refresh_Call) Return(refreshResponse *apiproto.RefreshResponse, err error) *ApiprotoCentrifugoApiServer_Refresh_Call
- func (_c *ApiprotoCentrifugoApiServer_Refresh_Call) Run(run func(context1 context.Context, refreshRequest *apiproto.RefreshRequest)) *ApiprotoCentrifugoApiServer_Refresh_Call
- func (_c *ApiprotoCentrifugoApiServer_Refresh_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Refresh_Call
- type ApiprotoCentrifugoApiServer_RevokeToken_Call
- func (_c *ApiprotoCentrifugoApiServer_RevokeToken_Call) Return(revokeTokenResponse *apiproto.RevokeTokenResponse, err error) *ApiprotoCentrifugoApiServer_RevokeToken_Call
- func (_c *ApiprotoCentrifugoApiServer_RevokeToken_Call) Run(...) *ApiprotoCentrifugoApiServer_RevokeToken_Call
- func (_c *ApiprotoCentrifugoApiServer_RevokeToken_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_RevokeToken_Call
- type ApiprotoCentrifugoApiServer_SendPushNotification_Call
- func (_c *ApiprotoCentrifugoApiServer_SendPushNotification_Call) Return(sendPushNotificationResponse *apiproto.SendPushNotificationResponse, err error) *ApiprotoCentrifugoApiServer_SendPushNotification_Call
- func (_c *ApiprotoCentrifugoApiServer_SendPushNotification_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_SendPushNotification_Call
- func (_c *ApiprotoCentrifugoApiServer_SendPushNotification_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_SendPushNotification_Call
- type ApiprotoCentrifugoApiServer_Subscribe_Call
- func (_c *ApiprotoCentrifugoApiServer_Subscribe_Call) Return(subscribeResponse *apiproto.SubscribeResponse, err error) *ApiprotoCentrifugoApiServer_Subscribe_Call
- func (_c *ApiprotoCentrifugoApiServer_Subscribe_Call) Run(...) *ApiprotoCentrifugoApiServer_Subscribe_Call
- func (_c *ApiprotoCentrifugoApiServer_Subscribe_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Subscribe_Call
- type ApiprotoCentrifugoApiServer_UnblockUser_Call
- func (_c *ApiprotoCentrifugoApiServer_UnblockUser_Call) Return(unblockUserResponse *apiproto.UnblockUserResponse, err error) *ApiprotoCentrifugoApiServer_UnblockUser_Call
- func (_c *ApiprotoCentrifugoApiServer_UnblockUser_Call) Run(...) *ApiprotoCentrifugoApiServer_UnblockUser_Call
- func (_c *ApiprotoCentrifugoApiServer_UnblockUser_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_UnblockUser_Call
- type ApiprotoCentrifugoApiServer_Unsubscribe_Call
- func (_c *ApiprotoCentrifugoApiServer_Unsubscribe_Call) Return(unsubscribeResponse *apiproto.UnsubscribeResponse, err error) *ApiprotoCentrifugoApiServer_Unsubscribe_Call
- func (_c *ApiprotoCentrifugoApiServer_Unsubscribe_Call) Run(...) *ApiprotoCentrifugoApiServer_Unsubscribe_Call
- func (_c *ApiprotoCentrifugoApiServer_Unsubscribe_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_Unsubscribe_Call
- type ApiprotoCentrifugoApiServer_UpdatePushStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) Return(updatePushStatusResponse *apiproto.UpdatePushStatusResponse, err error) *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_UpdatePushStatus_Call
- type ApiprotoCentrifugoApiServer_UpdateUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) Return(updateUserStatusResponse *apiproto.UpdateUserStatusResponse, err error) *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call
- func (_c *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_UpdateUserStatus_Call
- type ApiprotoCentrifugoApiServer_UserTopicList_Call
- func (_c *ApiprotoCentrifugoApiServer_UserTopicList_Call) Return(userTopicListResponse *apiproto.UserTopicListResponse, err error) *ApiprotoCentrifugoApiServer_UserTopicList_Call
- func (_c *ApiprotoCentrifugoApiServer_UserTopicList_Call) Run(...) *ApiprotoCentrifugoApiServer_UserTopicList_Call
- func (_c *ApiprotoCentrifugoApiServer_UserTopicList_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_UserTopicList_Call
- type ApiprotoCentrifugoApiServer_UserTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) Return(userTopicUpdateResponse *apiproto.UserTopicUpdateResponse, err error) *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) Run(run func(context1 context.Context, ...)) *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call
- func (_c *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call) RunAndReturn(...) *ApiprotoCentrifugoApiServer_UserTopicUpdate_Call
- type ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call
- func (_c *ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) Return() *ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call
- func (_c *ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) Run(run func()) *ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call
- func (_c *ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) RunAndReturn(run func()) *ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call
- type ApiprotoUnsafeCentrifugoApiServer
- type ApiprotoUnsafeCentrifugoApiServer_Expecter
- type ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call
- func (_c *ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) Return() ...
- func (_c *ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) Run(run func()) ...
- func (_c *ApiprotoUnsafeCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) RunAndReturn(run func()) ...
- type BatchWorker
- type BatchWorker_Close_Call
- type BatchWorker_Expecter
- type BatchWorker_Start_Call
- type BatchWorker_Write_Call
- type BatchWriter
- type BatchWriter_Expecter
- type BatchWriter_Write_Call
- func (_c *BatchWriter_Write_Call[T]) Return(err error) *BatchWriter_Write_Call[T]
- func (_c *BatchWriter_Write_Call[T]) Run(run func(ctx context.Context, items []*T)) *BatchWriter_Write_Call[T]
- func (_c *BatchWriter_Write_Call[T]) RunAndReturn(run func(ctx context.Context, items []*T) error) *BatchWriter_Write_Call[T]
- type CentrifugoClient
- func (_mock *CentrifugoClient) ClientId() string
- func (_mock *CentrifugoClient) Close(ctx context.Context) error
- func (_mock *CentrifugoClient) Connect(ctx context.Context, token string) error
- func (_mock *CentrifugoClient) Connected() bool
- func (_m *CentrifugoClient) EXPECT() *CentrifugoClient_Expecter
- func (_mock *CentrifugoClient) OnPublication(ctx context.Context, handler func(p centrifuge.ServerPublicationEvent) error) error
- func (_mock *CentrifugoClient) Subscribe(ctx context.Context, token string, channel string, ...) error
- type CentrifugoClient_ClientId_Call
- type CentrifugoClient_Close_Call
- func (_c *CentrifugoClient_Close_Call) Return(err error) *CentrifugoClient_Close_Call
- func (_c *CentrifugoClient_Close_Call) Run(run func(ctx context.Context)) *CentrifugoClient_Close_Call
- func (_c *CentrifugoClient_Close_Call) RunAndReturn(run func(ctx context.Context) error) *CentrifugoClient_Close_Call
- type CentrifugoClient_Connect_Call
- func (_c *CentrifugoClient_Connect_Call) Return(err error) *CentrifugoClient_Connect_Call
- func (_c *CentrifugoClient_Connect_Call) Run(run func(ctx context.Context, token string)) *CentrifugoClient_Connect_Call
- func (_c *CentrifugoClient_Connect_Call) RunAndReturn(run func(ctx context.Context, token string) error) *CentrifugoClient_Connect_Call
- type CentrifugoClient_Connected_Call
- type CentrifugoClient_Expecter
- func (_e *CentrifugoClient_Expecter) ClientId() *CentrifugoClient_ClientId_Call
- func (_e *CentrifugoClient_Expecter) Close(ctx interface{}) *CentrifugoClient_Close_Call
- func (_e *CentrifugoClient_Expecter) Connect(ctx interface{}, token interface{}) *CentrifugoClient_Connect_Call
- func (_e *CentrifugoClient_Expecter) Connected() *CentrifugoClient_Connected_Call
- func (_e *CentrifugoClient_Expecter) OnPublication(ctx interface{}, handler interface{}) *CentrifugoClient_OnPublication_Call
- func (_e *CentrifugoClient_Expecter) Subscribe(ctx interface{}, token interface{}, channel interface{}, handler interface{}) *CentrifugoClient_Subscribe_Call
- type CentrifugoClient_OnPublication_Call
- type CentrifugoClient_Subscribe_Call
- func (_c *CentrifugoClient_Subscribe_Call) Return(err error) *CentrifugoClient_Subscribe_Call
- func (_c *CentrifugoClient_Subscribe_Call) Run(run func(ctx context.Context, token string, channel string, ...)) *CentrifugoClient_Subscribe_Call
- func (_c *CentrifugoClient_Subscribe_Call) RunAndReturn(run func(ctx context.Context, token string, channel string, ...) error) *CentrifugoClient_Subscribe_Call
- type CentrifugoServer
- func (_mock *CentrifugoServer) BatchPublish(ctx context.Context, channels []string, msg any) error
- func (_mock *CentrifugoServer) Close(ctx context.Context) error
- func (_mock *CentrifugoServer) Connect(ctx context.Context) error
- func (_mock *CentrifugoServer) DisconnectUser(ctx context.Context, userId string) error
- func (_m *CentrifugoServer) EXPECT() *CentrifugoServer_Expecter
- func (_mock *CentrifugoServer) GetPresence(ctx context.Context, channel string) (*apiproto.PresenceResult, error)
- func (_mock *CentrifugoServer) Publish(ctx context.Context, channel string, msg any) error
- type CentrifugoServer_BatchPublish_Call
- func (_c *CentrifugoServer_BatchPublish_Call) Return(err error) *CentrifugoServer_BatchPublish_Call
- func (_c *CentrifugoServer_BatchPublish_Call) Run(run func(ctx context.Context, channels []string, msg any)) *CentrifugoServer_BatchPublish_Call
- func (_c *CentrifugoServer_BatchPublish_Call) RunAndReturn(run func(ctx context.Context, channels []string, msg any) error) *CentrifugoServer_BatchPublish_Call
- type CentrifugoServer_Close_Call
- func (_c *CentrifugoServer_Close_Call) Return(err error) *CentrifugoServer_Close_Call
- func (_c *CentrifugoServer_Close_Call) Run(run func(ctx context.Context)) *CentrifugoServer_Close_Call
- func (_c *CentrifugoServer_Close_Call) RunAndReturn(run func(ctx context.Context) error) *CentrifugoServer_Close_Call
- type CentrifugoServer_Connect_Call
- func (_c *CentrifugoServer_Connect_Call) Return(err error) *CentrifugoServer_Connect_Call
- func (_c *CentrifugoServer_Connect_Call) Run(run func(ctx context.Context)) *CentrifugoServer_Connect_Call
- func (_c *CentrifugoServer_Connect_Call) RunAndReturn(run func(ctx context.Context) error) *CentrifugoServer_Connect_Call
- type CentrifugoServer_DisconnectUser_Call
- func (_c *CentrifugoServer_DisconnectUser_Call) Return(err error) *CentrifugoServer_DisconnectUser_Call
- func (_c *CentrifugoServer_DisconnectUser_Call) Run(run func(ctx context.Context, userId string)) *CentrifugoServer_DisconnectUser_Call
- func (_c *CentrifugoServer_DisconnectUser_Call) RunAndReturn(run func(ctx context.Context, userId string) error) *CentrifugoServer_DisconnectUser_Call
- type CentrifugoServer_Expecter
- func (_e *CentrifugoServer_Expecter) BatchPublish(ctx interface{}, channels interface{}, msg interface{}) *CentrifugoServer_BatchPublish_Call
- func (_e *CentrifugoServer_Expecter) Close(ctx interface{}) *CentrifugoServer_Close_Call
- func (_e *CentrifugoServer_Expecter) Connect(ctx interface{}) *CentrifugoServer_Connect_Call
- func (_e *CentrifugoServer_Expecter) DisconnectUser(ctx interface{}, userId interface{}) *CentrifugoServer_DisconnectUser_Call
- func (_e *CentrifugoServer_Expecter) GetPresence(ctx interface{}, channel interface{}) *CentrifugoServer_GetPresence_Call
- func (_e *CentrifugoServer_Expecter) Publish(ctx interface{}, channel interface{}, msg interface{}) *CentrifugoServer_Publish_Call
- type CentrifugoServer_GetPresence_Call
- func (_c *CentrifugoServer_GetPresence_Call) Return(presenceResult *apiproto.PresenceResult, err error) *CentrifugoServer_GetPresence_Call
- func (_c *CentrifugoServer_GetPresence_Call) Run(run func(ctx context.Context, channel string)) *CentrifugoServer_GetPresence_Call
- func (_c *CentrifugoServer_GetPresence_Call) RunAndReturn(...) *CentrifugoServer_GetPresence_Call
- type CentrifugoServer_Publish_Call
- func (_c *CentrifugoServer_Publish_Call) Return(err error) *CentrifugoServer_Publish_Call
- func (_c *CentrifugoServer_Publish_Call) Run(run func(ctx context.Context, channel string, msg any)) *CentrifugoServer_Publish_Call
- func (_c *CentrifugoServer_Publish_Call) RunAndReturn(run func(ctx context.Context, channel string, msg any) error) *CentrifugoServer_Publish_Call
- type ClusterBootstrap
- type ClusterBootstrap_Close_Call
- type ClusterBootstrap_Expecter
- type ClusterBootstrap_Init_Call
- func (_c *ClusterBootstrap_Init_Call) Return(err error) *ClusterBootstrap_Init_Call
- func (_c *ClusterBootstrap_Init_Call) Run(run func(ctx context.Context, cfg any)) *ClusterBootstrap_Init_Call
- func (_c *ClusterBootstrap_Init_Call) RunAndReturn(run func(ctx context.Context, cfg any) error) *ClusterBootstrap_Init_Call
- type ClusterBootstrap_Start_Call
- func (_c *ClusterBootstrap_Start_Call) Return(err error) *ClusterBootstrap_Start_Call
- func (_c *ClusterBootstrap_Start_Call) Run(run func(ctx context.Context)) *ClusterBootstrap_Start_Call
- func (_c *ClusterBootstrap_Start_Call) RunAndReturn(run func(ctx context.Context) error) *ClusterBootstrap_Start_Call
- type ClusterDistributedKeys
- type ClusterDistributedKeys_Check_Call
- func (_c *ClusterDistributedKeys_Check_Call) Return(b bool) *ClusterDistributedKeys_Check_Call
- func (_c *ClusterDistributedKeys_Check_Call) Run(run func(key string)) *ClusterDistributedKeys_Check_Call
- func (_c *ClusterDistributedKeys_Check_Call) RunAndReturn(run func(key string) bool) *ClusterDistributedKeys_Check_Call
- type ClusterDistributedKeys_Expecter
- func (_e *ClusterDistributedKeys_Expecter) Check(key interface{}) *ClusterDistributedKeys_Check_Call
- func (_e *ClusterDistributedKeys_Expecter) Remove(key interface{}) *ClusterDistributedKeys_Remove_Call
- func (_e *ClusterDistributedKeys_Expecter) Set(key interface{}) *ClusterDistributedKeys_Set_Call
- type ClusterDistributedKeys_Remove_Call
- func (_c *ClusterDistributedKeys_Remove_Call) Return() *ClusterDistributedKeys_Remove_Call
- func (_c *ClusterDistributedKeys_Remove_Call) Run(run func(key string)) *ClusterDistributedKeys_Remove_Call
- func (_c *ClusterDistributedKeys_Remove_Call) RunAndReturn(run func(key string)) *ClusterDistributedKeys_Remove_Call
- type ClusterDistributedKeys_Set_Call
- type ElasticsearchIndexBuilder
- func (_mock *ElasticsearchIndexBuilder) Build(ctx context.Context) error
- func (_m *ElasticsearchIndexBuilder) EXPECT() *ElasticsearchIndexBuilder_Expecter
- func (_mock *ElasticsearchIndexBuilder) WithAlias(name string) elasticsearch.IndexBuilder
- func (_mock *ElasticsearchIndexBuilder) WithExplicitMapping(mapping string) elasticsearch.IndexBuilder
- func (_mock *ElasticsearchIndexBuilder) WithIndex(name string) elasticsearch.IndexBuilder
- func (_mock *ElasticsearchIndexBuilder) WithMappingModel(model interface{}) elasticsearch.IndexBuilder
- type ElasticsearchIndexBuilder_Build_Call
- func (_c *ElasticsearchIndexBuilder_Build_Call) Return(err error) *ElasticsearchIndexBuilder_Build_Call
- func (_c *ElasticsearchIndexBuilder_Build_Call) Run(run func(ctx context.Context)) *ElasticsearchIndexBuilder_Build_Call
- func (_c *ElasticsearchIndexBuilder_Build_Call) RunAndReturn(run func(ctx context.Context) error) *ElasticsearchIndexBuilder_Build_Call
- type ElasticsearchIndexBuilder_Expecter
- func (_e *ElasticsearchIndexBuilder_Expecter) Build(ctx interface{}) *ElasticsearchIndexBuilder_Build_Call
- func (_e *ElasticsearchIndexBuilder_Expecter) WithAlias(name interface{}) *ElasticsearchIndexBuilder_WithAlias_Call
- func (_e *ElasticsearchIndexBuilder_Expecter) WithExplicitMapping(mapping interface{}) *ElasticsearchIndexBuilder_WithExplicitMapping_Call
- func (_e *ElasticsearchIndexBuilder_Expecter) WithIndex(name interface{}) *ElasticsearchIndexBuilder_WithIndex_Call
- func (_e *ElasticsearchIndexBuilder_Expecter) WithMappingModel(model interface{}) *ElasticsearchIndexBuilder_WithMappingModel_Call
- type ElasticsearchIndexBuilder_WithAlias_Call
- func (_c *ElasticsearchIndexBuilder_WithAlias_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithAlias_Call
- func (_c *ElasticsearchIndexBuilder_WithAlias_Call) Run(run func(name string)) *ElasticsearchIndexBuilder_WithAlias_Call
- func (_c *ElasticsearchIndexBuilder_WithAlias_Call) RunAndReturn(run func(name string) elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithAlias_Call
- type ElasticsearchIndexBuilder_WithExplicitMapping_Call
- func (_c *ElasticsearchIndexBuilder_WithExplicitMapping_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithExplicitMapping_Call
- func (_c *ElasticsearchIndexBuilder_WithExplicitMapping_Call) Run(run func(mapping string)) *ElasticsearchIndexBuilder_WithExplicitMapping_Call
- func (_c *ElasticsearchIndexBuilder_WithExplicitMapping_Call) RunAndReturn(run func(mapping string) elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithExplicitMapping_Call
- type ElasticsearchIndexBuilder_WithIndex_Call
- func (_c *ElasticsearchIndexBuilder_WithIndex_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithIndex_Call
- func (_c *ElasticsearchIndexBuilder_WithIndex_Call) Run(run func(name string)) *ElasticsearchIndexBuilder_WithIndex_Call
- func (_c *ElasticsearchIndexBuilder_WithIndex_Call) RunAndReturn(run func(name string) elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithIndex_Call
- type ElasticsearchIndexBuilder_WithMappingModel_Call
- func (_c *ElasticsearchIndexBuilder_WithMappingModel_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithMappingModel_Call
- func (_c *ElasticsearchIndexBuilder_WithMappingModel_Call) Run(run func(model interface{})) *ElasticsearchIndexBuilder_WithMappingModel_Call
- func (_c *ElasticsearchIndexBuilder_WithMappingModel_Call) RunAndReturn(run func(model interface{}) elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithMappingModel_Call
- type ElasticsearchSearch
- func (_mock *ElasticsearchSearch) Close(ctx context.Context)
- func (_mock *ElasticsearchSearch) Delete(ctx context.Context, index string, id string) error
- func (_mock *ElasticsearchSearch) DeleteBulk(ctx context.Context, index string, ids []string) error
- func (_mock *ElasticsearchSearch) DeleteIndex(ctx context.Context, index string) error
- func (_m *ElasticsearchSearch) EXPECT() *ElasticsearchSearch_Expecter
- func (_mock *ElasticsearchSearch) Exists(ctx context.Context, index string, id string) (bool, error)
- func (_mock *ElasticsearchSearch) GetClient() *elastic.Client
- func (_mock *ElasticsearchSearch) Index(ctx context.Context, index string, id string, data interface{}) error
- func (_mock *ElasticsearchSearch) IndexAsync(ctx context.Context, index string, id string, data interface{})
- func (_mock *ElasticsearchSearch) IndexBulk(ctx context.Context, index string, docs map[string]interface{}) error
- func (_mock *ElasticsearchSearch) IndexBulkAsync(ctx context.Context, index string, docs map[string]interface{})
- func (_mock *ElasticsearchSearch) NewBuilder() elasticsearch.IndexBuilder
- func (_mock *ElasticsearchSearch) Ping() bool
- func (_mock *ElasticsearchSearch) Refresh(ctx context.Context, index string) error
- type ElasticsearchSearch_Close_Call
- func (_c *ElasticsearchSearch_Close_Call) Return() *ElasticsearchSearch_Close_Call
- func (_c *ElasticsearchSearch_Close_Call) Run(run func(ctx context.Context)) *ElasticsearchSearch_Close_Call
- func (_c *ElasticsearchSearch_Close_Call) RunAndReturn(run func(ctx context.Context)) *ElasticsearchSearch_Close_Call
- type ElasticsearchSearch_DeleteBulk_Call
- func (_c *ElasticsearchSearch_DeleteBulk_Call) Return(err error) *ElasticsearchSearch_DeleteBulk_Call
- func (_c *ElasticsearchSearch_DeleteBulk_Call) Run(run func(ctx context.Context, index string, ids []string)) *ElasticsearchSearch_DeleteBulk_Call
- func (_c *ElasticsearchSearch_DeleteBulk_Call) RunAndReturn(run func(ctx context.Context, index string, ids []string) error) *ElasticsearchSearch_DeleteBulk_Call
- type ElasticsearchSearch_DeleteIndex_Call
- func (_c *ElasticsearchSearch_DeleteIndex_Call) Return(err error) *ElasticsearchSearch_DeleteIndex_Call
- func (_c *ElasticsearchSearch_DeleteIndex_Call) Run(run func(ctx context.Context, index string)) *ElasticsearchSearch_DeleteIndex_Call
- func (_c *ElasticsearchSearch_DeleteIndex_Call) RunAndReturn(run func(ctx context.Context, index string) error) *ElasticsearchSearch_DeleteIndex_Call
- type ElasticsearchSearch_Delete_Call
- func (_c *ElasticsearchSearch_Delete_Call) Return(err error) *ElasticsearchSearch_Delete_Call
- func (_c *ElasticsearchSearch_Delete_Call) Run(run func(ctx context.Context, index string, id string)) *ElasticsearchSearch_Delete_Call
- func (_c *ElasticsearchSearch_Delete_Call) RunAndReturn(run func(ctx context.Context, index string, id string) error) *ElasticsearchSearch_Delete_Call
- type ElasticsearchSearch_Exists_Call
- func (_c *ElasticsearchSearch_Exists_Call) Return(b bool, err error) *ElasticsearchSearch_Exists_Call
- func (_c *ElasticsearchSearch_Exists_Call) Run(run func(ctx context.Context, index string, id string)) *ElasticsearchSearch_Exists_Call
- func (_c *ElasticsearchSearch_Exists_Call) RunAndReturn(run func(ctx context.Context, index string, id string) (bool, error)) *ElasticsearchSearch_Exists_Call
- type ElasticsearchSearch_Expecter
- func (_e *ElasticsearchSearch_Expecter) Close(ctx interface{}) *ElasticsearchSearch_Close_Call
- func (_e *ElasticsearchSearch_Expecter) Delete(ctx interface{}, index interface{}, id interface{}) *ElasticsearchSearch_Delete_Call
- func (_e *ElasticsearchSearch_Expecter) DeleteBulk(ctx interface{}, index interface{}, ids interface{}) *ElasticsearchSearch_DeleteBulk_Call
- func (_e *ElasticsearchSearch_Expecter) DeleteIndex(ctx interface{}, index interface{}) *ElasticsearchSearch_DeleteIndex_Call
- func (_e *ElasticsearchSearch_Expecter) Exists(ctx interface{}, index interface{}, id interface{}) *ElasticsearchSearch_Exists_Call
- func (_e *ElasticsearchSearch_Expecter) GetClient() *ElasticsearchSearch_GetClient_Call
- func (_e *ElasticsearchSearch_Expecter) Index(ctx interface{}, index interface{}, id interface{}, data interface{}) *ElasticsearchSearch_Index_Call
- func (_e *ElasticsearchSearch_Expecter) IndexAsync(ctx interface{}, index interface{}, id interface{}, data interface{}) *ElasticsearchSearch_IndexAsync_Call
- func (_e *ElasticsearchSearch_Expecter) IndexBulk(ctx interface{}, index interface{}, docs interface{}) *ElasticsearchSearch_IndexBulk_Call
- func (_e *ElasticsearchSearch_Expecter) IndexBulkAsync(ctx interface{}, index interface{}, docs interface{}) *ElasticsearchSearch_IndexBulkAsync_Call
- func (_e *ElasticsearchSearch_Expecter) NewBuilder() *ElasticsearchSearch_NewBuilder_Call
- func (_e *ElasticsearchSearch_Expecter) Ping() *ElasticsearchSearch_Ping_Call
- func (_e *ElasticsearchSearch_Expecter) Refresh(ctx interface{}, index interface{}) *ElasticsearchSearch_Refresh_Call
- type ElasticsearchSearch_GetClient_Call
- func (_c *ElasticsearchSearch_GetClient_Call) Return(client *elastic.Client) *ElasticsearchSearch_GetClient_Call
- func (_c *ElasticsearchSearch_GetClient_Call) Run(run func()) *ElasticsearchSearch_GetClient_Call
- func (_c *ElasticsearchSearch_GetClient_Call) RunAndReturn(run func() *elastic.Client) *ElasticsearchSearch_GetClient_Call
- type ElasticsearchSearch_IndexAsync_Call
- func (_c *ElasticsearchSearch_IndexAsync_Call) Return() *ElasticsearchSearch_IndexAsync_Call
- func (_c *ElasticsearchSearch_IndexAsync_Call) Run(run func(ctx context.Context, index string, id string, data interface{})) *ElasticsearchSearch_IndexAsync_Call
- func (_c *ElasticsearchSearch_IndexAsync_Call) RunAndReturn(run func(ctx context.Context, index string, id string, data interface{})) *ElasticsearchSearch_IndexAsync_Call
- type ElasticsearchSearch_IndexBulkAsync_Call
- func (_c *ElasticsearchSearch_IndexBulkAsync_Call) Return() *ElasticsearchSearch_IndexBulkAsync_Call
- func (_c *ElasticsearchSearch_IndexBulkAsync_Call) Run(run func(ctx context.Context, index string, docs map[string]interface{})) *ElasticsearchSearch_IndexBulkAsync_Call
- func (_c *ElasticsearchSearch_IndexBulkAsync_Call) RunAndReturn(run func(ctx context.Context, index string, docs map[string]interface{})) *ElasticsearchSearch_IndexBulkAsync_Call
- type ElasticsearchSearch_IndexBulk_Call
- func (_c *ElasticsearchSearch_IndexBulk_Call) Return(err error) *ElasticsearchSearch_IndexBulk_Call
- func (_c *ElasticsearchSearch_IndexBulk_Call) Run(run func(ctx context.Context, index string, docs map[string]interface{})) *ElasticsearchSearch_IndexBulk_Call
- 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
- func (_c *ElasticsearchSearch_Index_Call) Return(err error) *ElasticsearchSearch_Index_Call
- func (_c *ElasticsearchSearch_Index_Call) Run(run func(ctx context.Context, index string, id string, data interface{})) *ElasticsearchSearch_Index_Call
- 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
- func (_c *ElasticsearchSearch_NewBuilder_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchSearch_NewBuilder_Call
- func (_c *ElasticsearchSearch_NewBuilder_Call) Run(run func()) *ElasticsearchSearch_NewBuilder_Call
- func (_c *ElasticsearchSearch_NewBuilder_Call) RunAndReturn(run func() elasticsearch.IndexBuilder) *ElasticsearchSearch_NewBuilder_Call
- type ElasticsearchSearch_Ping_Call
- type ElasticsearchSearch_Refresh_Call
- func (_c *ElasticsearchSearch_Refresh_Call) Return(err error) *ElasticsearchSearch_Refresh_Call
- func (_c *ElasticsearchSearch_Refresh_Call) Run(run func(ctx context.Context, index string)) *ElasticsearchSearch_Refresh_Call
- func (_c *ElasticsearchSearch_Refresh_Call) RunAndReturn(run func(ctx context.Context, index string) error) *ElasticsearchSearch_Refresh_Call
- type EventBus
- func (_m *EventBus) EXPECT() *EventBus_Expecter
- func (_mock *EventBus) HasCallback(topic string) bool
- func (_mock *EventBus) Publish(ctx context.Context, topic string, args ...interface{})
- func (_mock *EventBus) Subscribe(topic string, fn interface{}) error
- func (_mock *EventBus) SubscribeAsync(topic string, fn interface{}, transactional bool) error
- func (_mock *EventBus) SubscribeOnce(topic string, fn interface{}) error
- func (_mock *EventBus) SubscribeOnceAsync(topic string, fn interface{}) error
- func (_mock *EventBus) Unsubscribe(topic string, handler interface{}) error
- func (_mock *EventBus) WaitAsync()
- type EventBusController
- type EventBusController_Expecter
- type EventBusController_HasCallback_Call
- func (_c *EventBusController_HasCallback_Call) Return(b bool) *EventBusController_HasCallback_Call
- func (_c *EventBusController_HasCallback_Call) Run(run func(topic string)) *EventBusController_HasCallback_Call
- func (_c *EventBusController_HasCallback_Call) RunAndReturn(run func(topic string) bool) *EventBusController_HasCallback_Call
- type EventBusController_WaitAsync_Call
- type EventBusPublisher
- type EventBusPublisher_Expecter
- type EventBusPublisher_Publish_Call
- func (_c *EventBusPublisher_Publish_Call) Return() *EventBusPublisher_Publish_Call
- func (_c *EventBusPublisher_Publish_Call) Run(run func(ctx context.Context, topic string, args ...interface{})) *EventBusPublisher_Publish_Call
- func (_c *EventBusPublisher_Publish_Call) RunAndReturn(run func(ctx context.Context, topic string, args ...interface{})) *EventBusPublisher_Publish_Call
- type EventBusSubscriber
- func (_m *EventBusSubscriber) EXPECT() *EventBusSubscriber_Expecter
- func (_mock *EventBusSubscriber) Subscribe(topic string, fn interface{}) error
- func (_mock *EventBusSubscriber) SubscribeAsync(topic string, fn interface{}, transactional bool) error
- func (_mock *EventBusSubscriber) SubscribeOnce(topic string, fn interface{}) error
- func (_mock *EventBusSubscriber) SubscribeOnceAsync(topic string, fn interface{}) error
- func (_mock *EventBusSubscriber) Unsubscribe(topic string, handler interface{}) error
- type EventBusSubscriber_Expecter
- func (_e *EventBusSubscriber_Expecter) Subscribe(topic interface{}, fn interface{}) *EventBusSubscriber_Subscribe_Call
- func (_e *EventBusSubscriber_Expecter) SubscribeAsync(topic interface{}, fn interface{}, transactional interface{}) *EventBusSubscriber_SubscribeAsync_Call
- func (_e *EventBusSubscriber_Expecter) SubscribeOnce(topic interface{}, fn interface{}) *EventBusSubscriber_SubscribeOnce_Call
- func (_e *EventBusSubscriber_Expecter) SubscribeOnceAsync(topic interface{}, fn interface{}) *EventBusSubscriber_SubscribeOnceAsync_Call
- func (_e *EventBusSubscriber_Expecter) Unsubscribe(topic interface{}, handler interface{}) *EventBusSubscriber_Unsubscribe_Call
- type EventBusSubscriber_SubscribeAsync_Call
- func (_c *EventBusSubscriber_SubscribeAsync_Call) Return(err error) *EventBusSubscriber_SubscribeAsync_Call
- func (_c *EventBusSubscriber_SubscribeAsync_Call) Run(run func(topic string, fn interface{}, transactional bool)) *EventBusSubscriber_SubscribeAsync_Call
- func (_c *EventBusSubscriber_SubscribeAsync_Call) RunAndReturn(run func(topic string, fn interface{}, transactional bool) error) *EventBusSubscriber_SubscribeAsync_Call
- type EventBusSubscriber_SubscribeOnceAsync_Call
- func (_c *EventBusSubscriber_SubscribeOnceAsync_Call) Return(err error) *EventBusSubscriber_SubscribeOnceAsync_Call
- func (_c *EventBusSubscriber_SubscribeOnceAsync_Call) Run(run func(topic string, fn interface{})) *EventBusSubscriber_SubscribeOnceAsync_Call
- func (_c *EventBusSubscriber_SubscribeOnceAsync_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBusSubscriber_SubscribeOnceAsync_Call
- type EventBusSubscriber_SubscribeOnce_Call
- func (_c *EventBusSubscriber_SubscribeOnce_Call) Return(err error) *EventBusSubscriber_SubscribeOnce_Call
- func (_c *EventBusSubscriber_SubscribeOnce_Call) Run(run func(topic string, fn interface{})) *EventBusSubscriber_SubscribeOnce_Call
- func (_c *EventBusSubscriber_SubscribeOnce_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBusSubscriber_SubscribeOnce_Call
- type EventBusSubscriber_Subscribe_Call
- func (_c *EventBusSubscriber_Subscribe_Call) Return(err error) *EventBusSubscriber_Subscribe_Call
- func (_c *EventBusSubscriber_Subscribe_Call) Run(run func(topic string, fn interface{})) *EventBusSubscriber_Subscribe_Call
- func (_c *EventBusSubscriber_Subscribe_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBusSubscriber_Subscribe_Call
- type EventBusSubscriber_Unsubscribe_Call
- func (_c *EventBusSubscriber_Unsubscribe_Call) Return(err error) *EventBusSubscriber_Unsubscribe_Call
- func (_c *EventBusSubscriber_Unsubscribe_Call) Run(run func(topic string, handler interface{})) *EventBusSubscriber_Unsubscribe_Call
- func (_c *EventBusSubscriber_Unsubscribe_Call) RunAndReturn(run func(topic string, handler interface{}) error) *EventBusSubscriber_Unsubscribe_Call
- type EventBus_Expecter
- func (_e *EventBus_Expecter) HasCallback(topic interface{}) *EventBus_HasCallback_Call
- func (_e *EventBus_Expecter) Publish(ctx interface{}, topic interface{}, args ...interface{}) *EventBus_Publish_Call
- func (_e *EventBus_Expecter) Subscribe(topic interface{}, fn interface{}) *EventBus_Subscribe_Call
- func (_e *EventBus_Expecter) SubscribeAsync(topic interface{}, fn interface{}, transactional interface{}) *EventBus_SubscribeAsync_Call
- func (_e *EventBus_Expecter) SubscribeOnce(topic interface{}, fn interface{}) *EventBus_SubscribeOnce_Call
- func (_e *EventBus_Expecter) SubscribeOnceAsync(topic interface{}, fn interface{}) *EventBus_SubscribeOnceAsync_Call
- func (_e *EventBus_Expecter) Unsubscribe(topic interface{}, handler interface{}) *EventBus_Unsubscribe_Call
- func (_e *EventBus_Expecter) WaitAsync() *EventBus_WaitAsync_Call
- type EventBus_HasCallback_Call
- type EventBus_Publish_Call
- func (_c *EventBus_Publish_Call) Return() *EventBus_Publish_Call
- func (_c *EventBus_Publish_Call) Run(run func(ctx context.Context, topic string, args ...interface{})) *EventBus_Publish_Call
- func (_c *EventBus_Publish_Call) RunAndReturn(run func(ctx context.Context, topic string, args ...interface{})) *EventBus_Publish_Call
- type EventBus_SubscribeAsync_Call
- func (_c *EventBus_SubscribeAsync_Call) Return(err error) *EventBus_SubscribeAsync_Call
- func (_c *EventBus_SubscribeAsync_Call) Run(run func(topic string, fn interface{}, transactional bool)) *EventBus_SubscribeAsync_Call
- func (_c *EventBus_SubscribeAsync_Call) RunAndReturn(run func(topic string, fn interface{}, transactional bool) error) *EventBus_SubscribeAsync_Call
- type EventBus_SubscribeOnceAsync_Call
- func (_c *EventBus_SubscribeOnceAsync_Call) Return(err error) *EventBus_SubscribeOnceAsync_Call
- func (_c *EventBus_SubscribeOnceAsync_Call) Run(run func(topic string, fn interface{})) *EventBus_SubscribeOnceAsync_Call
- func (_c *EventBus_SubscribeOnceAsync_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBus_SubscribeOnceAsync_Call
- type EventBus_SubscribeOnce_Call
- func (_c *EventBus_SubscribeOnce_Call) Return(err error) *EventBus_SubscribeOnce_Call
- func (_c *EventBus_SubscribeOnce_Call) Run(run func(topic string, fn interface{})) *EventBus_SubscribeOnce_Call
- func (_c *EventBus_SubscribeOnce_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBus_SubscribeOnce_Call
- type EventBus_Subscribe_Call
- func (_c *EventBus_Subscribe_Call) Return(err error) *EventBus_Subscribe_Call
- func (_c *EventBus_Subscribe_Call) Run(run func(topic string, fn interface{})) *EventBus_Subscribe_Call
- func (_c *EventBus_Subscribe_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBus_Subscribe_Call
- type EventBus_Unsubscribe_Call
- func (_c *EventBus_Unsubscribe_Call) Return(err error) *EventBus_Unsubscribe_Call
- func (_c *EventBus_Unsubscribe_Call) Run(run func(topic string, handler interface{})) *EventBus_Unsubscribe_Call
- func (_c *EventBus_Unsubscribe_Call) RunAndReturn(run func(topic string, handler interface{}) error) *EventBus_Unsubscribe_Call
- type EventBus_WaitAsync_Call
- type EventEvent
- func (_m *EventEvent[T]) EXPECT() *EventEvent_Expecter[T]
- func (_mock *EventEvent[T]) Execute(ctx context.Context, data T) error
- func (_mock *EventEvent[T]) ExecuteAsync(ctx context.Context, data T)
- func (_mock *EventEvent[T]) Register(handler func(ctx context.Context, data T) error)
- func (_mock *EventEvent[T]) Wait()
- type EventEvent_ExecuteAsync_Call
- func (_c *EventEvent_ExecuteAsync_Call[T]) Return() *EventEvent_ExecuteAsync_Call[T]
- func (_c *EventEvent_ExecuteAsync_Call[T]) Run(run func(ctx context.Context, data T)) *EventEvent_ExecuteAsync_Call[T]
- func (_c *EventEvent_ExecuteAsync_Call[T]) RunAndReturn(run func(ctx context.Context, data T)) *EventEvent_ExecuteAsync_Call[T]
- type EventEvent_Execute_Call
- func (_c *EventEvent_Execute_Call[T]) Return(err error) *EventEvent_Execute_Call[T]
- func (_c *EventEvent_Execute_Call[T]) Run(run func(ctx context.Context, data T)) *EventEvent_Execute_Call[T]
- func (_c *EventEvent_Execute_Call[T]) RunAndReturn(run func(ctx context.Context, data T) error) *EventEvent_Execute_Call[T]
- type EventEvent_Expecter
- func (_e *EventEvent_Expecter[T]) Execute(ctx interface{}, data interface{}) *EventEvent_Execute_Call[T]
- func (_e *EventEvent_Expecter[T]) ExecuteAsync(ctx interface{}, data interface{}) *EventEvent_ExecuteAsync_Call[T]
- func (_e *EventEvent_Expecter[T]) Register(handler interface{}) *EventEvent_Register_Call[T]
- func (_e *EventEvent_Expecter[T]) Wait() *EventEvent_Wait_Call[T]
- type EventEvent_Register_Call
- func (_c *EventEvent_Register_Call[T]) Return() *EventEvent_Register_Call[T]
- func (_c *EventEvent_Register_Call[T]) Run(run func(handler func(ctx context.Context, data T) error)) *EventEvent_Register_Call[T]
- 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 GoogleCaptcha
- type GoogleCaptcha_Expecter
- type GoogleCaptcha_Verify_Call
- func (_c *GoogleCaptcha_Verify_Call) Return(b bool, err error) *GoogleCaptcha_Verify_Call
- func (_c *GoogleCaptcha_Verify_Call) Run(run func(ctx context.Context, rq *google.CaptchaRequest)) *GoogleCaptcha_Verify_Call
- func (_c *GoogleCaptcha_Verify_Call) RunAndReturn(run func(ctx context.Context, rq *google.CaptchaRequest) (bool, error)) *GoogleCaptcha_Verify_Call
- type GoogleOAuth2
- type GoogleOAuth2_Expecter
- type GoogleOAuth2_GetGoogleUser_Call
- func (_c *GoogleOAuth2_GetGoogleUser_Call) Return(userinfo *oauth2.Userinfo, err error) *GoogleOAuth2_GetGoogleUser_Call
- func (_c *GoogleOAuth2_GetGoogleUser_Call) Run(run func(ctx context.Context, token string)) *GoogleOAuth2_GetGoogleUser_Call
- func (_c *GoogleOAuth2_GetGoogleUser_Call) RunAndReturn(run func(ctx context.Context, token string) (*oauth2.Userinfo, error)) *GoogleOAuth2_GetGoogleUser_Call
- type GoroutineErrGroup
- func (_mock *GoroutineErrGroup) Cancel()
- func (_mock *GoroutineErrGroup) CancelFunc() func()
- func (_mock *GoroutineErrGroup) Cmp(component string) goroutine.ErrGroup
- func (_m *GoroutineErrGroup) EXPECT() *GoroutineErrGroup_Expecter
- func (_mock *GoroutineErrGroup) Go(f func() error)
- func (_mock *GoroutineErrGroup) Mth(method string) goroutine.ErrGroup
- func (_mock *GoroutineErrGroup) Wait() error
- func (_mock *GoroutineErrGroup) WithLogger(logger jet.CLogger) goroutine.ErrGroup
- func (_mock *GoroutineErrGroup) WithLoggerFn(loggerFn jet.CLoggerFunc) goroutine.ErrGroup
- type GoroutineErrGroup_CancelFunc_Call
- func (_c *GoroutineErrGroup_CancelFunc_Call) Return(fn func()) *GoroutineErrGroup_CancelFunc_Call
- func (_c *GoroutineErrGroup_CancelFunc_Call) Run(run func()) *GoroutineErrGroup_CancelFunc_Call
- func (_c *GoroutineErrGroup_CancelFunc_Call) RunAndReturn(run func() func()) *GoroutineErrGroup_CancelFunc_Call
- type GoroutineErrGroup_Cancel_Call
- type GoroutineErrGroup_Cmp_Call
- func (_c *GoroutineErrGroup_Cmp_Call) Return(errGroup goroutine.ErrGroup) *GoroutineErrGroup_Cmp_Call
- func (_c *GoroutineErrGroup_Cmp_Call) Run(run func(component string)) *GoroutineErrGroup_Cmp_Call
- func (_c *GoroutineErrGroup_Cmp_Call) RunAndReturn(run func(component string) goroutine.ErrGroup) *GoroutineErrGroup_Cmp_Call
- type GoroutineErrGroup_Expecter
- func (_e *GoroutineErrGroup_Expecter) Cancel() *GoroutineErrGroup_Cancel_Call
- func (_e *GoroutineErrGroup_Expecter) CancelFunc() *GoroutineErrGroup_CancelFunc_Call
- func (_e *GoroutineErrGroup_Expecter) Cmp(component interface{}) *GoroutineErrGroup_Cmp_Call
- func (_e *GoroutineErrGroup_Expecter) Go(f interface{}) *GoroutineErrGroup_Go_Call
- func (_e *GoroutineErrGroup_Expecter) Mth(method interface{}) *GoroutineErrGroup_Mth_Call
- func (_e *GoroutineErrGroup_Expecter) Wait() *GoroutineErrGroup_Wait_Call
- func (_e *GoroutineErrGroup_Expecter) WithLogger(logger interface{}) *GoroutineErrGroup_WithLogger_Call
- func (_e *GoroutineErrGroup_Expecter) WithLoggerFn(loggerFn interface{}) *GoroutineErrGroup_WithLoggerFn_Call
- type GoroutineErrGroup_Go_Call
- type GoroutineErrGroup_Mth_Call
- func (_c *GoroutineErrGroup_Mth_Call) Return(errGroup goroutine.ErrGroup) *GoroutineErrGroup_Mth_Call
- func (_c *GoroutineErrGroup_Mth_Call) Run(run func(method string)) *GoroutineErrGroup_Mth_Call
- func (_c *GoroutineErrGroup_Mth_Call) RunAndReturn(run func(method string) goroutine.ErrGroup) *GoroutineErrGroup_Mth_Call
- type GoroutineErrGroup_Wait_Call
- type GoroutineErrGroup_WithLoggerFn_Call
- func (_c *GoroutineErrGroup_WithLoggerFn_Call) Return(errGroup goroutine.ErrGroup) *GoroutineErrGroup_WithLoggerFn_Call
- func (_c *GoroutineErrGroup_WithLoggerFn_Call) Run(run func(loggerFn jet.CLoggerFunc)) *GoroutineErrGroup_WithLoggerFn_Call
- func (_c *GoroutineErrGroup_WithLoggerFn_Call) RunAndReturn(run func(loggerFn jet.CLoggerFunc) goroutine.ErrGroup) *GoroutineErrGroup_WithLoggerFn_Call
- type GoroutineErrGroup_WithLogger_Call
- func (_c *GoroutineErrGroup_WithLogger_Call) Return(errGroup goroutine.ErrGroup) *GoroutineErrGroup_WithLogger_Call
- func (_c *GoroutineErrGroup_WithLogger_Call) Run(run func(logger jet.CLogger)) *GoroutineErrGroup_WithLogger_Call
- func (_c *GoroutineErrGroup_WithLogger_Call) RunAndReturn(run func(logger jet.CLogger) goroutine.ErrGroup) *GoroutineErrGroup_WithLogger_Call
- type GoroutineGoroutine
- func (_mock *GoroutineGoroutine) Cmp(component string) goroutine.Goroutine
- func (_m *GoroutineGoroutine) EXPECT() *GoroutineGoroutine_Expecter
- func (_mock *GoroutineGoroutine) Go(ctx context.Context, f func())
- func (_mock *GoroutineGoroutine) Mth(method string) goroutine.Goroutine
- func (_mock *GoroutineGoroutine) WithLogger(logger jet.CLogger) goroutine.Goroutine
- func (_mock *GoroutineGoroutine) WithLoggerFn(loggerFn jet.CLoggerFunc) goroutine.Goroutine
- func (_mock *GoroutineGoroutine) WithRetry(retry int) goroutine.Goroutine
- func (_mock *GoroutineGoroutine) WithRetryDelay(delay time.Duration) goroutine.Goroutine
- type GoroutineGoroutine_Cmp_Call
- func (_c *GoroutineGoroutine_Cmp_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_Cmp_Call
- func (_c *GoroutineGoroutine_Cmp_Call) Run(run func(component string)) *GoroutineGoroutine_Cmp_Call
- func (_c *GoroutineGoroutine_Cmp_Call) RunAndReturn(run func(component string) goroutine.Goroutine) *GoroutineGoroutine_Cmp_Call
- type GoroutineGoroutine_Expecter
- func (_e *GoroutineGoroutine_Expecter) Cmp(component interface{}) *GoroutineGoroutine_Cmp_Call
- func (_e *GoroutineGoroutine_Expecter) Go(ctx interface{}, f interface{}) *GoroutineGoroutine_Go_Call
- func (_e *GoroutineGoroutine_Expecter) Mth(method interface{}) *GoroutineGoroutine_Mth_Call
- func (_e *GoroutineGoroutine_Expecter) WithLogger(logger interface{}) *GoroutineGoroutine_WithLogger_Call
- func (_e *GoroutineGoroutine_Expecter) WithLoggerFn(loggerFn interface{}) *GoroutineGoroutine_WithLoggerFn_Call
- func (_e *GoroutineGoroutine_Expecter) WithRetry(retry interface{}) *GoroutineGoroutine_WithRetry_Call
- func (_e *GoroutineGoroutine_Expecter) WithRetryDelay(delay interface{}) *GoroutineGoroutine_WithRetryDelay_Call
- type GoroutineGoroutine_Go_Call
- func (_c *GoroutineGoroutine_Go_Call) Return() *GoroutineGoroutine_Go_Call
- func (_c *GoroutineGoroutine_Go_Call) Run(run func(ctx context.Context, f func())) *GoroutineGoroutine_Go_Call
- func (_c *GoroutineGoroutine_Go_Call) RunAndReturn(run func(ctx context.Context, f func())) *GoroutineGoroutine_Go_Call
- type GoroutineGoroutine_Mth_Call
- func (_c *GoroutineGoroutine_Mth_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_Mth_Call
- func (_c *GoroutineGoroutine_Mth_Call) Run(run func(method string)) *GoroutineGoroutine_Mth_Call
- func (_c *GoroutineGoroutine_Mth_Call) RunAndReturn(run func(method string) goroutine.Goroutine) *GoroutineGoroutine_Mth_Call
- type GoroutineGoroutine_WithLoggerFn_Call
- func (_c *GoroutineGoroutine_WithLoggerFn_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_WithLoggerFn_Call
- func (_c *GoroutineGoroutine_WithLoggerFn_Call) Run(run func(loggerFn jet.CLoggerFunc)) *GoroutineGoroutine_WithLoggerFn_Call
- func (_c *GoroutineGoroutine_WithLoggerFn_Call) RunAndReturn(run func(loggerFn jet.CLoggerFunc) goroutine.Goroutine) *GoroutineGoroutine_WithLoggerFn_Call
- type GoroutineGoroutine_WithLogger_Call
- func (_c *GoroutineGoroutine_WithLogger_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_WithLogger_Call
- func (_c *GoroutineGoroutine_WithLogger_Call) Run(run func(logger jet.CLogger)) *GoroutineGoroutine_WithLogger_Call
- func (_c *GoroutineGoroutine_WithLogger_Call) RunAndReturn(run func(logger jet.CLogger) goroutine.Goroutine) *GoroutineGoroutine_WithLogger_Call
- type GoroutineGoroutine_WithRetryDelay_Call
- func (_c *GoroutineGoroutine_WithRetryDelay_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_WithRetryDelay_Call
- func (_c *GoroutineGoroutine_WithRetryDelay_Call) Run(run func(delay time.Duration)) *GoroutineGoroutine_WithRetryDelay_Call
- func (_c *GoroutineGoroutine_WithRetryDelay_Call) RunAndReturn(run func(delay time.Duration) goroutine.Goroutine) *GoroutineGoroutine_WithRetryDelay_Call
- type GoroutineGoroutine_WithRetry_Call
- func (_c *GoroutineGoroutine_WithRetry_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_WithRetry_Call
- func (_c *GoroutineGoroutine_WithRetry_Call) Run(run func(retry int)) *GoroutineGoroutine_WithRetry_Call
- func (_c *GoroutineGoroutine_WithRetry_Call) RunAndReturn(run func(retry int) goroutine.Goroutine) *GoroutineGoroutine_WithRetry_Call
- type GrpcTestServiceClient
- func (_mock *GrpcTestServiceClient) Do(ctx context.Context, in *grpc.Empty, opts ...grpc0.CallOption) (*grpc.Empty, error)
- func (_m *GrpcTestServiceClient) EXPECT() *GrpcTestServiceClient_Expecter
- func (_mock *GrpcTestServiceClient) WithError(ctx context.Context, in *grpc.WithErrorRequest, opts ...grpc0.CallOption) (*grpc.WithErrorResponse, error)
- func (_mock *GrpcTestServiceClient) WithPanic(ctx context.Context, in *grpc.WithPanicRequest, opts ...grpc0.CallOption) (*grpc.WithPanicResponse, error)
- type GrpcTestServiceClient_Do_Call
- func (_c *GrpcTestServiceClient_Do_Call) Return(empty *grpc.Empty, err error) *GrpcTestServiceClient_Do_Call
- func (_c *GrpcTestServiceClient_Do_Call) Run(run func(ctx context.Context, in *grpc.Empty, opts ...grpc0.CallOption)) *GrpcTestServiceClient_Do_Call
- func (_c *GrpcTestServiceClient_Do_Call) RunAndReturn(...) *GrpcTestServiceClient_Do_Call
- type GrpcTestServiceClient_Expecter
- func (_e *GrpcTestServiceClient_Expecter) Do(ctx interface{}, in interface{}, opts ...interface{}) *GrpcTestServiceClient_Do_Call
- func (_e *GrpcTestServiceClient_Expecter) WithError(ctx interface{}, in interface{}, opts ...interface{}) *GrpcTestServiceClient_WithError_Call
- func (_e *GrpcTestServiceClient_Expecter) WithPanic(ctx interface{}, in interface{}, opts ...interface{}) *GrpcTestServiceClient_WithPanic_Call
- type GrpcTestServiceClient_WithError_Call
- func (_c *GrpcTestServiceClient_WithError_Call) Return(withErrorResponse *grpc.WithErrorResponse, err error) *GrpcTestServiceClient_WithError_Call
- func (_c *GrpcTestServiceClient_WithError_Call) Run(...) *GrpcTestServiceClient_WithError_Call
- func (_c *GrpcTestServiceClient_WithError_Call) RunAndReturn(...) *GrpcTestServiceClient_WithError_Call
- type GrpcTestServiceClient_WithPanic_Call
- func (_c *GrpcTestServiceClient_WithPanic_Call) Return(withPanicResponse *grpc.WithPanicResponse, err error) *GrpcTestServiceClient_WithPanic_Call
- func (_c *GrpcTestServiceClient_WithPanic_Call) Run(...) *GrpcTestServiceClient_WithPanic_Call
- func (_c *GrpcTestServiceClient_WithPanic_Call) RunAndReturn(...) *GrpcTestServiceClient_WithPanic_Call
- type GrpcTestServiceServer
- func (_mock *GrpcTestServiceServer) Do(context1 context.Context, empty *grpc.Empty) (*grpc.Empty, error)
- func (_m *GrpcTestServiceServer) EXPECT() *GrpcTestServiceServer_Expecter
- func (_mock *GrpcTestServiceServer) WithError(context1 context.Context, withErrorRequest *grpc.WithErrorRequest) (*grpc.WithErrorResponse, error)
- func (_mock *GrpcTestServiceServer) WithPanic(context1 context.Context, withPanicRequest *grpc.WithPanicRequest) (*grpc.WithPanicResponse, error)
- type GrpcTestServiceServer_Do_Call
- func (_c *GrpcTestServiceServer_Do_Call) Return(empty1 *grpc.Empty, err error) *GrpcTestServiceServer_Do_Call
- func (_c *GrpcTestServiceServer_Do_Call) Run(run func(context1 context.Context, empty *grpc.Empty)) *GrpcTestServiceServer_Do_Call
- func (_c *GrpcTestServiceServer_Do_Call) RunAndReturn(run func(context1 context.Context, empty *grpc.Empty) (*grpc.Empty, error)) *GrpcTestServiceServer_Do_Call
- type GrpcTestServiceServer_Expecter
- func (_e *GrpcTestServiceServer_Expecter) Do(context1 interface{}, empty interface{}) *GrpcTestServiceServer_Do_Call
- func (_e *GrpcTestServiceServer_Expecter) WithError(context1 interface{}, withErrorRequest interface{}) *GrpcTestServiceServer_WithError_Call
- func (_e *GrpcTestServiceServer_Expecter) WithPanic(context1 interface{}, withPanicRequest interface{}) *GrpcTestServiceServer_WithPanic_Call
- type GrpcTestServiceServer_WithError_Call
- func (_c *GrpcTestServiceServer_WithError_Call) Return(withErrorResponse *grpc.WithErrorResponse, err error) *GrpcTestServiceServer_WithError_Call
- func (_c *GrpcTestServiceServer_WithError_Call) Run(run func(context1 context.Context, withErrorRequest *grpc.WithErrorRequest)) *GrpcTestServiceServer_WithError_Call
- func (_c *GrpcTestServiceServer_WithError_Call) RunAndReturn(...) *GrpcTestServiceServer_WithError_Call
- type GrpcTestServiceServer_WithPanic_Call
- func (_c *GrpcTestServiceServer_WithPanic_Call) Return(withPanicResponse *grpc.WithPanicResponse, err error) *GrpcTestServiceServer_WithPanic_Call
- func (_c *GrpcTestServiceServer_WithPanic_Call) Run(run func(context1 context.Context, withPanicRequest *grpc.WithPanicRequest)) *GrpcTestServiceServer_WithPanic_Call
- func (_c *GrpcTestServiceServer_WithPanic_Call) RunAndReturn(...) *GrpcTestServiceServer_WithPanic_Call
- type GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Return() *GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Run(run func()) *GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn(run func()) *GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- type GrpcUnsafeTestServiceServer
- type GrpcUnsafeTestServiceServer_Expecter
- type GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Return() *GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) Run(run func()) *GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- func (_c *GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn(run func()) *GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
- type HttpController
- type HttpController_Expecter
- type HttpController_HasRoles_Call
- func (_c *HttpController_HasRoles_Call) Return(fn func(ctx context.Context, r *http.Request) (bool, error)) *HttpController_HasRoles_Call
- func (_c *HttpController_HasRoles_Call) Run(run func(roles ...string)) *HttpController_HasRoles_Call
- func (_c *HttpController_HasRoles_Call) RunAndReturn(...) *HttpController_HasRoles_Call
- type HttpController_MyUser_Call
- func (_c *HttpController_MyUser_Call) Return(b bool, err error) *HttpController_MyUser_Call
- func (_c *HttpController_MyUser_Call) Run(run func(ctx context.Context, r *http.Request)) *HttpController_MyUser_Call
- func (_c *HttpController_MyUser_Call) RunAndReturn(run func(ctx context.Context, r *http.Request) (bool, error)) *HttpController_MyUser_Call
- type HttpHttpClient
- type HttpHttpClient_Do_Call
- func (_c *HttpHttpClient_Do_Call) Return(response *http.Response, err error) *HttpHttpClient_Do_Call
- func (_c *HttpHttpClient_Do_Call) Run(run func(req *http.Request)) *HttpHttpClient_Do_Call
- func (_c *HttpHttpClient_Do_Call) RunAndReturn(run func(req *http.Request) (*http.Response, error)) *HttpHttpClient_Do_Call
- type HttpHttpClient_Expecter
- type HttpMetricsProvider
- func (_m *HttpMetricsProvider) EXPECT() *HttpMetricsProvider_Expecter
- func (_mock *HttpMetricsProvider) GetCollector() monitoring.MetricsCollector
- func (_mock *HttpMetricsProvider) RequestErrorInc(ctx context.Context, metric *http0.RequestError)
- func (_mock *HttpMetricsProvider) RequestLatencySet(ctx context.Context, metric *http0.RequestLatency)
- type HttpMetricsProvider_Expecter
- func (_e *HttpMetricsProvider_Expecter) GetCollector() *HttpMetricsProvider_GetCollector_Call
- func (_e *HttpMetricsProvider_Expecter) RequestErrorInc(ctx interface{}, metric interface{}) *HttpMetricsProvider_RequestErrorInc_Call
- func (_e *HttpMetricsProvider_Expecter) RequestLatencySet(ctx interface{}, metric interface{}) *HttpMetricsProvider_RequestLatencySet_Call
- type HttpMetricsProvider_GetCollector_Call
- func (_c *HttpMetricsProvider_GetCollector_Call) Return(metricsCollector monitoring.MetricsCollector) *HttpMetricsProvider_GetCollector_Call
- func (_c *HttpMetricsProvider_GetCollector_Call) Run(run func()) *HttpMetricsProvider_GetCollector_Call
- func (_c *HttpMetricsProvider_GetCollector_Call) RunAndReturn(run func() monitoring.MetricsCollector) *HttpMetricsProvider_GetCollector_Call
- type HttpMetricsProvider_RequestErrorInc_Call
- func (_c *HttpMetricsProvider_RequestErrorInc_Call) Return() *HttpMetricsProvider_RequestErrorInc_Call
- func (_c *HttpMetricsProvider_RequestErrorInc_Call) Run(run func(ctx context.Context, metric *http0.RequestError)) *HttpMetricsProvider_RequestErrorInc_Call
- func (_c *HttpMetricsProvider_RequestErrorInc_Call) RunAndReturn(run func(ctx context.Context, metric *http0.RequestError)) *HttpMetricsProvider_RequestErrorInc_Call
- type HttpMetricsProvider_RequestLatencySet_Call
- func (_c *HttpMetricsProvider_RequestLatencySet_Call) Return() *HttpMetricsProvider_RequestLatencySet_Call
- func (_c *HttpMetricsProvider_RequestLatencySet_Call) Run(run func(ctx context.Context, metric *http0.RequestLatency)) *HttpMetricsProvider_RequestLatencySet_Call
- func (_c *HttpMetricsProvider_RequestLatencySet_Call) RunAndReturn(run func(ctx context.Context, metric *http0.RequestLatency)) *HttpMetricsProvider_RequestLatencySet_Call
- type HttpResourcePolicy
- type HttpResourcePolicyManager
- func (_m *HttpResourcePolicyManager) EXPECT() *HttpResourcePolicyManager_Expecter
- func (_mock *HttpResourcePolicyManager) GetRequestedResources(ctx context.Context, routeId string, r *http.Request) ([]*http0.AuthorizationResource, error)
- func (_mock *HttpResourcePolicyManager) RegisterResourceMapping(routeId string, policies ...http0.ResourcePolicy)
- type HttpResourcePolicyManager_Expecter
- func (_e *HttpResourcePolicyManager_Expecter) GetRequestedResources(ctx interface{}, routeId interface{}, r interface{}) *HttpResourcePolicyManager_GetRequestedResources_Call
- func (_e *HttpResourcePolicyManager_Expecter) RegisterResourceMapping(routeId interface{}, policies ...interface{}) *HttpResourcePolicyManager_RegisterResourceMapping_Call
- type HttpResourcePolicyManager_GetRequestedResources_Call
- func (_c *HttpResourcePolicyManager_GetRequestedResources_Call) Return(authorizationResources []*http0.AuthorizationResource, err error) *HttpResourcePolicyManager_GetRequestedResources_Call
- func (_c *HttpResourcePolicyManager_GetRequestedResources_Call) Run(run func(ctx context.Context, routeId string, r *http.Request)) *HttpResourcePolicyManager_GetRequestedResources_Call
- func (_c *HttpResourcePolicyManager_GetRequestedResources_Call) RunAndReturn(...) *HttpResourcePolicyManager_GetRequestedResources_Call
- type HttpResourcePolicyManager_RegisterResourceMapping_Call
- func (_c *HttpResourcePolicyManager_RegisterResourceMapping_Call) Return() *HttpResourcePolicyManager_RegisterResourceMapping_Call
- func (_c *HttpResourcePolicyManager_RegisterResourceMapping_Call) Run(run func(routeId string, policies ...http0.ResourcePolicy)) *HttpResourcePolicyManager_RegisterResourceMapping_Call
- func (_c *HttpResourcePolicyManager_RegisterResourceMapping_Call) RunAndReturn(run func(routeId string, policies ...http0.ResourcePolicy)) *HttpResourcePolicyManager_RegisterResourceMapping_Call
- type HttpResourcePolicy_Expecter
- type HttpResourcePolicy_Resolve_Call
- func (_c *HttpResourcePolicy_Resolve_Call) Return(authorizationResource *http0.AuthorizationResource, err error) *HttpResourcePolicy_Resolve_Call
- func (_c *HttpResourcePolicy_Resolve_Call) Run(run func(ctx context.Context, r *http.Request)) *HttpResourcePolicy_Resolve_Call
- func (_c *HttpResourcePolicy_Resolve_Call) RunAndReturn(...) *HttpResourcePolicy_Resolve_Call
- type HttpRouteSetter
- type HttpRouteSetter_Expecter
- type HttpRouteSetter_Set_Call
- type HttpWsUpgrader
- type HttpWsUpgrader_Expecter
- type HttpWsUpgrader_Set_Call
- func (_c *HttpWsUpgrader_Set_Call) Return() *HttpWsUpgrader_Set_Call
- func (_c *HttpWsUpgrader_Set_Call) Run(run func(router *mux.Router, upgrader *websocket.Upgrader)) *HttpWsUpgrader_Set_Call
- func (_c *HttpWsUpgrader_Set_Call) RunAndReturn(run func(router *mux.Router, upgrader *websocket.Upgrader)) *HttpWsUpgrader_Set_Call
- type JetAdapter
- type JetAdapterListener
- type JetAdapterListener_Close_Call
- func (_c *JetAdapterListener_Close_Call[T]) Return(err error) *JetAdapterListener_Close_Call[T]
- func (_c *JetAdapterListener_Close_Call[T]) Run(run func(ctx context.Context)) *JetAdapterListener_Close_Call[T]
- func (_c *JetAdapterListener_Close_Call[T]) RunAndReturn(run func(ctx context.Context) error) *JetAdapterListener_Close_Call[T]
- type JetAdapterListener_Expecter
- func (_e *JetAdapterListener_Expecter[T]) Close(ctx interface{}) *JetAdapterListener_Close_Call[T]
- func (_e *JetAdapterListener_Expecter[T]) Init(ctx interface{}, cfg interface{}) *JetAdapterListener_Init_Call[T]
- func (_e *JetAdapterListener_Expecter[T]) ListenAsync(ctx interface{}) *JetAdapterListener_ListenAsync_Call[T]
- type JetAdapterListener_Init_Call
- func (_c *JetAdapterListener_Init_Call[T]) Return(err error) *JetAdapterListener_Init_Call[T]
- func (_c *JetAdapterListener_Init_Call[T]) Run(run func(ctx context.Context, cfg *T)) *JetAdapterListener_Init_Call[T]
- func (_c *JetAdapterListener_Init_Call[T]) RunAndReturn(run func(ctx context.Context, cfg *T) error) *JetAdapterListener_Init_Call[T]
- type JetAdapterListener_ListenAsync_Call
- func (_c *JetAdapterListener_ListenAsync_Call[T]) Return(err error) *JetAdapterListener_ListenAsync_Call[T]
- func (_c *JetAdapterListener_ListenAsync_Call[T]) Run(run func(ctx context.Context)) *JetAdapterListener_ListenAsync_Call[T]
- func (_c *JetAdapterListener_ListenAsync_Call[T]) RunAndReturn(run func(ctx context.Context) error) *JetAdapterListener_ListenAsync_Call[T]
- type JetAdapter_Close_Call
- type JetAdapter_Expecter
- type JetAdapter_Init_Call
- type JetAppErrBuilder
- func (_mock *JetAppErrBuilder) Business() jet.AppErrBuilder
- func (_mock *JetAppErrBuilder) C(ctx context.Context) jet.AppErrBuilder
- func (_m *JetAppErrBuilder) EXPECT() *JetAppErrBuilder_Expecter
- func (_mock *JetAppErrBuilder) Err() error
- func (_mock *JetAppErrBuilder) F(fields jet.KV) jet.AppErrBuilder
- func (_mock *JetAppErrBuilder) GrpcSt(status uint32) jet.AppErrBuilder
- func (_mock *JetAppErrBuilder) HttpSt(status uint32) jet.AppErrBuilder
- func (_mock *JetAppErrBuilder) Panic() jet.AppErrBuilder
- func (_mock *JetAppErrBuilder) System() jet.AppErrBuilder
- func (_mock *JetAppErrBuilder) Type(t string) jet.AppErrBuilder
- func (_mock *JetAppErrBuilder) Wrap(cause error) jet.AppErrBuilder
- type JetAppErrBuilder_Business_Call
- func (_c *JetAppErrBuilder_Business_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_Business_Call
- func (_c *JetAppErrBuilder_Business_Call) Run(run func()) *JetAppErrBuilder_Business_Call
- func (_c *JetAppErrBuilder_Business_Call) RunAndReturn(run func() jet.AppErrBuilder) *JetAppErrBuilder_Business_Call
- type JetAppErrBuilder_C_Call
- func (_c *JetAppErrBuilder_C_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_C_Call
- func (_c *JetAppErrBuilder_C_Call) Run(run func(ctx context.Context)) *JetAppErrBuilder_C_Call
- func (_c *JetAppErrBuilder_C_Call) RunAndReturn(run func(ctx context.Context) jet.AppErrBuilder) *JetAppErrBuilder_C_Call
- type JetAppErrBuilder_Err_Call
- type JetAppErrBuilder_Expecter
- func (_e *JetAppErrBuilder_Expecter) Business() *JetAppErrBuilder_Business_Call
- func (_e *JetAppErrBuilder_Expecter) C(ctx interface{}) *JetAppErrBuilder_C_Call
- func (_e *JetAppErrBuilder_Expecter) Err() *JetAppErrBuilder_Err_Call
- func (_e *JetAppErrBuilder_Expecter) F(fields interface{}) *JetAppErrBuilder_F_Call
- func (_e *JetAppErrBuilder_Expecter) GrpcSt(status interface{}) *JetAppErrBuilder_GrpcSt_Call
- func (_e *JetAppErrBuilder_Expecter) HttpSt(status interface{}) *JetAppErrBuilder_HttpSt_Call
- func (_e *JetAppErrBuilder_Expecter) Panic() *JetAppErrBuilder_Panic_Call
- func (_e *JetAppErrBuilder_Expecter) System() *JetAppErrBuilder_System_Call
- func (_e *JetAppErrBuilder_Expecter) Type(t interface{}) *JetAppErrBuilder_Type_Call
- func (_e *JetAppErrBuilder_Expecter) Wrap(cause interface{}) *JetAppErrBuilder_Wrap_Call
- type JetAppErrBuilder_F_Call
- func (_c *JetAppErrBuilder_F_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_F_Call
- func (_c *JetAppErrBuilder_F_Call) Run(run func(fields jet.KV)) *JetAppErrBuilder_F_Call
- func (_c *JetAppErrBuilder_F_Call) RunAndReturn(run func(fields jet.KV) jet.AppErrBuilder) *JetAppErrBuilder_F_Call
- type JetAppErrBuilder_GrpcSt_Call
- func (_c *JetAppErrBuilder_GrpcSt_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_GrpcSt_Call
- func (_c *JetAppErrBuilder_GrpcSt_Call) Run(run func(status uint32)) *JetAppErrBuilder_GrpcSt_Call
- func (_c *JetAppErrBuilder_GrpcSt_Call) RunAndReturn(run func(status uint32) jet.AppErrBuilder) *JetAppErrBuilder_GrpcSt_Call
- type JetAppErrBuilder_HttpSt_Call
- func (_c *JetAppErrBuilder_HttpSt_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_HttpSt_Call
- func (_c *JetAppErrBuilder_HttpSt_Call) Run(run func(status uint32)) *JetAppErrBuilder_HttpSt_Call
- func (_c *JetAppErrBuilder_HttpSt_Call) RunAndReturn(run func(status uint32) jet.AppErrBuilder) *JetAppErrBuilder_HttpSt_Call
- type JetAppErrBuilder_Panic_Call
- func (_c *JetAppErrBuilder_Panic_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_Panic_Call
- func (_c *JetAppErrBuilder_Panic_Call) Run(run func()) *JetAppErrBuilder_Panic_Call
- func (_c *JetAppErrBuilder_Panic_Call) RunAndReturn(run func() jet.AppErrBuilder) *JetAppErrBuilder_Panic_Call
- type JetAppErrBuilder_System_Call
- func (_c *JetAppErrBuilder_System_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_System_Call
- func (_c *JetAppErrBuilder_System_Call) Run(run func()) *JetAppErrBuilder_System_Call
- func (_c *JetAppErrBuilder_System_Call) RunAndReturn(run func() jet.AppErrBuilder) *JetAppErrBuilder_System_Call
- type JetAppErrBuilder_Type_Call
- func (_c *JetAppErrBuilder_Type_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_Type_Call
- func (_c *JetAppErrBuilder_Type_Call) Run(run func(t string)) *JetAppErrBuilder_Type_Call
- func (_c *JetAppErrBuilder_Type_Call) RunAndReturn(run func(t string) jet.AppErrBuilder) *JetAppErrBuilder_Type_Call
- type JetAppErrBuilder_Wrap_Call
- func (_c *JetAppErrBuilder_Wrap_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_Wrap_Call
- func (_c *JetAppErrBuilder_Wrap_Call) Run(run func(cause error)) *JetAppErrBuilder_Wrap_Call
- func (_c *JetAppErrBuilder_Wrap_Call) RunAndReturn(run func(cause error) jet.AppErrBuilder) *JetAppErrBuilder_Wrap_Call
- type JetCLogger
- func (_mock *JetCLogger) C(ctx context.Context) jet.CLogger
- func (_mock *JetCLogger) Clone() jet.CLogger
- func (_mock *JetCLogger) Cmp(c string) jet.CLogger
- func (_mock *JetCLogger) Dbg(args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) DbgF(format string, args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) E(err error) jet.CLogger
- func (_m *JetCLogger) EXPECT() *JetCLogger_Expecter
- func (_mock *JetCLogger) Err(args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) ErrF(format string, args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) F(fields jet.KV) jet.CLogger
- func (_mock *JetCLogger) Fatal(args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) FatalF(format string, args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) Inf(args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) InfF(format string, args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) Mth(m string) jet.CLogger
- func (_mock *JetCLogger) Node(n string) jet.CLogger
- func (_mock *JetCLogger) Pr(m string) jet.CLogger
- func (_mock *JetCLogger) Printf(s string, ifaceVals ...interface{})
- func (_mock *JetCLogger) PrintfErr(f string, args ...interface{})
- func (_mock *JetCLogger) Srv(s string) jet.CLogger
- func (_mock *JetCLogger) St() jet.CLogger
- func (_mock *JetCLogger) Trc(args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) TrcF(format string, args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) TrcObj(format string, args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) Warn(args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) WarnF(format string, args ...interface{}) jet.CLogger
- func (_mock *JetCLogger) Write(p []byte) (int, error)
- type JetCLogger_C_Call
- type JetCLogger_Clone_Call
- type JetCLogger_Cmp_Call
- type JetCLogger_DbgF_Call
- func (_c *JetCLogger_DbgF_Call) Return(cLogger jet.CLogger) *JetCLogger_DbgF_Call
- func (_c *JetCLogger_DbgF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_DbgF_Call
- func (_c *JetCLogger_DbgF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_DbgF_Call
- type JetCLogger_Dbg_Call
- type JetCLogger_E_Call
- type JetCLogger_ErrF_Call
- func (_c *JetCLogger_ErrF_Call) Return(cLogger jet.CLogger) *JetCLogger_ErrF_Call
- func (_c *JetCLogger_ErrF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_ErrF_Call
- func (_c *JetCLogger_ErrF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_ErrF_Call
- type JetCLogger_Err_Call
- type JetCLogger_Expecter
- func (_e *JetCLogger_Expecter) C(ctx interface{}) *JetCLogger_C_Call
- func (_e *JetCLogger_Expecter) Clone() *JetCLogger_Clone_Call
- func (_e *JetCLogger_Expecter) Cmp(c interface{}) *JetCLogger_Cmp_Call
- func (_e *JetCLogger_Expecter) Dbg(args ...interface{}) *JetCLogger_Dbg_Call
- func (_e *JetCLogger_Expecter) DbgF(format interface{}, args ...interface{}) *JetCLogger_DbgF_Call
- func (_e *JetCLogger_Expecter) E(err interface{}) *JetCLogger_E_Call
- func (_e *JetCLogger_Expecter) Err(args ...interface{}) *JetCLogger_Err_Call
- func (_e *JetCLogger_Expecter) ErrF(format interface{}, args ...interface{}) *JetCLogger_ErrF_Call
- func (_e *JetCLogger_Expecter) F(fields interface{}) *JetCLogger_F_Call
- func (_e *JetCLogger_Expecter) Fatal(args ...interface{}) *JetCLogger_Fatal_Call
- func (_e *JetCLogger_Expecter) FatalF(format interface{}, args ...interface{}) *JetCLogger_FatalF_Call
- func (_e *JetCLogger_Expecter) Inf(args ...interface{}) *JetCLogger_Inf_Call
- func (_e *JetCLogger_Expecter) InfF(format interface{}, args ...interface{}) *JetCLogger_InfF_Call
- func (_e *JetCLogger_Expecter) Mth(m interface{}) *JetCLogger_Mth_Call
- func (_e *JetCLogger_Expecter) Node(n interface{}) *JetCLogger_Node_Call
- func (_e *JetCLogger_Expecter) Pr(m interface{}) *JetCLogger_Pr_Call
- func (_e *JetCLogger_Expecter) Printf(s interface{}, ifaceVals ...interface{}) *JetCLogger_Printf_Call
- func (_e *JetCLogger_Expecter) PrintfErr(f interface{}, args ...interface{}) *JetCLogger_PrintfErr_Call
- func (_e *JetCLogger_Expecter) Srv(s interface{}) *JetCLogger_Srv_Call
- func (_e *JetCLogger_Expecter) St() *JetCLogger_St_Call
- func (_e *JetCLogger_Expecter) Trc(args ...interface{}) *JetCLogger_Trc_Call
- func (_e *JetCLogger_Expecter) TrcF(format interface{}, args ...interface{}) *JetCLogger_TrcF_Call
- func (_e *JetCLogger_Expecter) TrcObj(format interface{}, args ...interface{}) *JetCLogger_TrcObj_Call
- func (_e *JetCLogger_Expecter) Warn(args ...interface{}) *JetCLogger_Warn_Call
- func (_e *JetCLogger_Expecter) WarnF(format interface{}, args ...interface{}) *JetCLogger_WarnF_Call
- func (_e *JetCLogger_Expecter) Write(p interface{}) *JetCLogger_Write_Call
- type JetCLogger_F_Call
- type JetCLogger_FatalF_Call
- func (_c *JetCLogger_FatalF_Call) Return(cLogger jet.CLogger) *JetCLogger_FatalF_Call
- func (_c *JetCLogger_FatalF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_FatalF_Call
- func (_c *JetCLogger_FatalF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_FatalF_Call
- type JetCLogger_Fatal_Call
- type JetCLogger_InfF_Call
- func (_c *JetCLogger_InfF_Call) Return(cLogger jet.CLogger) *JetCLogger_InfF_Call
- func (_c *JetCLogger_InfF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_InfF_Call
- func (_c *JetCLogger_InfF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_InfF_Call
- type JetCLogger_Inf_Call
- type JetCLogger_Mth_Call
- type JetCLogger_Node_Call
- type JetCLogger_Pr_Call
- type JetCLogger_PrintfErr_Call
- type JetCLogger_Printf_Call
- type JetCLogger_Srv_Call
- type JetCLogger_St_Call
- type JetCLogger_TrcF_Call
- func (_c *JetCLogger_TrcF_Call) Return(cLogger jet.CLogger) *JetCLogger_TrcF_Call
- func (_c *JetCLogger_TrcF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_TrcF_Call
- func (_c *JetCLogger_TrcF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_TrcF_Call
- type JetCLogger_TrcObj_Call
- func (_c *JetCLogger_TrcObj_Call) Return(cLogger jet.CLogger) *JetCLogger_TrcObj_Call
- func (_c *JetCLogger_TrcObj_Call) Run(run func(format string, args ...interface{})) *JetCLogger_TrcObj_Call
- func (_c *JetCLogger_TrcObj_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_TrcObj_Call
- type JetCLogger_Trc_Call
- type JetCLogger_WarnF_Call
- func (_c *JetCLogger_WarnF_Call) Return(cLogger jet.CLogger) *JetCLogger_WarnF_Call
- func (_c *JetCLogger_WarnF_Call) Run(run func(format string, args ...interface{})) *JetCLogger_WarnF_Call
- func (_c *JetCLogger_WarnF_Call) RunAndReturn(run func(format string, args ...interface{}) jet.CLogger) *JetCLogger_WarnF_Call
- type JetCLogger_Warn_Call
- type JetCLogger_Write_Call
- type JetErrorHook
- type JetErrorHook_Error_Call
- type JetErrorHook_Expecter
- type JetPageReader
- type JetPageReader_Expecter
- type JetPageReader_GetPage_Call
- func (_c *JetPageReader_GetPage_Call[TItem, TRq]) Return(pagingResponseGCh chan jet.PagingResponseG[TItem]) *JetPageReader_GetPage_Call[TItem, TRq]
- func (_c *JetPageReader_GetPage_Call[TItem, TRq]) Run(run func(ctx context.Context, rq TRq)) *JetPageReader_GetPage_Call[TItem, TRq]
- 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
- type JetSearchable_Expecter
- type JetSearchable_Search_Call
- func (_c *JetSearchable_Search_Call[TItem, Rq]) Return(pagingResponseG jet.PagingResponseG[TItem], err error) *JetSearchable_Search_Call[TItem, Rq]
- func (_c *JetSearchable_Search_Call[TItem, Rq]) Run(run func(ctx context.Context, rq jet.PagingRequestG[Rq])) *JetSearchable_Search_Call[TItem, Rq]
- func (_c *JetSearchable_Search_Call[TItem, Rq]) RunAndReturn(...) *JetSearchable_Search_Call[TItem, Rq]
- type KafkaBroker
- func (_mock *KafkaBroker) AddProducer(ctx context.Context, topic *kafka.TopicConfig, cfg *kafka.ProducerConfig) (kafka.Producer, error)
- func (_mock *KafkaBroker) AddSubscriber(ctx context.Context, topic *kafka.TopicConfig, cfg *kafka.SubscriberConfig, ...) error
- func (_mock *KafkaBroker) Close(ctx context.Context)
- func (_mock *KafkaBroker) DeclareTopics(ctx context.Context) error
- func (_m *KafkaBroker) EXPECT() *KafkaBroker_Expecter
- func (_mock *KafkaBroker) Init(ctx context.Context, cfg *kafka.BrokerConfig) error
- func (_mock *KafkaBroker) Start(ctx context.Context) error
- type KafkaBroker_AddProducer_Call
- type KafkaBroker_AddSubscriber_Call
- type KafkaBroker_Close_Call
- type KafkaBroker_DeclareTopics_Call
- func (_c *KafkaBroker_DeclareTopics_Call) Return(err error) *KafkaBroker_DeclareTopics_Call
- func (_c *KafkaBroker_DeclareTopics_Call) Run(run func(ctx context.Context)) *KafkaBroker_DeclareTopics_Call
- func (_c *KafkaBroker_DeclareTopics_Call) RunAndReturn(run func(ctx context.Context) error) *KafkaBroker_DeclareTopics_Call
- type KafkaBroker_Expecter
- func (_e *KafkaBroker_Expecter) AddProducer(ctx interface{}, topic interface{}, cfg interface{}) *KafkaBroker_AddProducer_Call
- func (_e *KafkaBroker_Expecter) AddSubscriber(ctx interface{}, topic interface{}, cfg interface{}, handlers ...interface{}) *KafkaBroker_AddSubscriber_Call
- func (_e *KafkaBroker_Expecter) Close(ctx interface{}) *KafkaBroker_Close_Call
- func (_e *KafkaBroker_Expecter) DeclareTopics(ctx interface{}) *KafkaBroker_DeclareTopics_Call
- func (_e *KafkaBroker_Expecter) Init(ctx interface{}, cfg interface{}) *KafkaBroker_Init_Call
- func (_e *KafkaBroker_Expecter) Start(ctx interface{}) *KafkaBroker_Start_Call
- type KafkaBroker_Init_Call
- func (_c *KafkaBroker_Init_Call) Return(err error) *KafkaBroker_Init_Call
- func (_c *KafkaBroker_Init_Call) Run(run func(ctx context.Context, cfg *kafka.BrokerConfig)) *KafkaBroker_Init_Call
- func (_c *KafkaBroker_Init_Call) RunAndReturn(run func(ctx context.Context, cfg *kafka.BrokerConfig) error) *KafkaBroker_Init_Call
- type KafkaBroker_Start_Call
- type KafkaProducer
- type KafkaProducerConfigBuilder
- func (_mock *KafkaProducerConfigBuilder) Async(v bool) kafka.ProducerConfigBuilder
- func (_mock *KafkaProducerConfigBuilder) BatchSize(size int) kafka.ProducerConfigBuilder
- func (_mock *KafkaProducerConfigBuilder) BatchTimeout(to time.Duration) kafka.ProducerConfigBuilder
- func (_mock *KafkaProducerConfigBuilder) Build() *kafka.ProducerConfig
- func (_m *KafkaProducerConfigBuilder) EXPECT() *KafkaProducerConfigBuilder_Expecter
- func (_mock *KafkaProducerConfigBuilder) Retry(time1 int, timeout time.Duration) kafka.ProducerConfigBuilder
- type KafkaProducerConfigBuilder_Async_Call
- func (_c *KafkaProducerConfigBuilder_Async_Call) Return(producerConfigBuilder kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_Async_Call
- func (_c *KafkaProducerConfigBuilder_Async_Call) Run(run func(v bool)) *KafkaProducerConfigBuilder_Async_Call
- func (_c *KafkaProducerConfigBuilder_Async_Call) RunAndReturn(run func(v bool) kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_Async_Call
- type KafkaProducerConfigBuilder_BatchSize_Call
- func (_c *KafkaProducerConfigBuilder_BatchSize_Call) Return(producerConfigBuilder kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_BatchSize_Call
- func (_c *KafkaProducerConfigBuilder_BatchSize_Call) Run(run func(size int)) *KafkaProducerConfigBuilder_BatchSize_Call
- func (_c *KafkaProducerConfigBuilder_BatchSize_Call) RunAndReturn(run func(size int) kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_BatchSize_Call
- type KafkaProducerConfigBuilder_BatchTimeout_Call
- func (_c *KafkaProducerConfigBuilder_BatchTimeout_Call) Return(producerConfigBuilder kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_BatchTimeout_Call
- func (_c *KafkaProducerConfigBuilder_BatchTimeout_Call) Run(run func(to time.Duration)) *KafkaProducerConfigBuilder_BatchTimeout_Call
- func (_c *KafkaProducerConfigBuilder_BatchTimeout_Call) RunAndReturn(run func(to time.Duration) kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_BatchTimeout_Call
- type KafkaProducerConfigBuilder_Build_Call
- func (_c *KafkaProducerConfigBuilder_Build_Call) Return(producerConfig *kafka.ProducerConfig) *KafkaProducerConfigBuilder_Build_Call
- func (_c *KafkaProducerConfigBuilder_Build_Call) Run(run func()) *KafkaProducerConfigBuilder_Build_Call
- func (_c *KafkaProducerConfigBuilder_Build_Call) RunAndReturn(run func() *kafka.ProducerConfig) *KafkaProducerConfigBuilder_Build_Call
- type KafkaProducerConfigBuilder_Expecter
- func (_e *KafkaProducerConfigBuilder_Expecter) Async(v interface{}) *KafkaProducerConfigBuilder_Async_Call
- func (_e *KafkaProducerConfigBuilder_Expecter) BatchSize(size interface{}) *KafkaProducerConfigBuilder_BatchSize_Call
- func (_e *KafkaProducerConfigBuilder_Expecter) BatchTimeout(to interface{}) *KafkaProducerConfigBuilder_BatchTimeout_Call
- func (_e *KafkaProducerConfigBuilder_Expecter) Build() *KafkaProducerConfigBuilder_Build_Call
- func (_e *KafkaProducerConfigBuilder_Expecter) Retry(time1 interface{}, timeout interface{}) *KafkaProducerConfigBuilder_Retry_Call
- type KafkaProducerConfigBuilder_Retry_Call
- func (_c *KafkaProducerConfigBuilder_Retry_Call) Return(producerConfigBuilder kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_Retry_Call
- func (_c *KafkaProducerConfigBuilder_Retry_Call) Run(run func(time1 int, timeout time.Duration)) *KafkaProducerConfigBuilder_Retry_Call
- func (_c *KafkaProducerConfigBuilder_Retry_Call) RunAndReturn(run func(time1 int, timeout time.Duration) kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_Retry_Call
- type KafkaProducer_Expecter
- type KafkaProducer_SendMany_Call
- func (_c *KafkaProducer_SendMany_Call) Return(err error) *KafkaProducer_SendMany_Call
- func (_c *KafkaProducer_SendMany_Call) Run(run func(ctx context.Context, messages ...*kafka.Message)) *KafkaProducer_SendMany_Call
- func (_c *KafkaProducer_SendMany_Call) RunAndReturn(run func(ctx context.Context, messages ...*kafka.Message) error) *KafkaProducer_SendMany_Call
- type KafkaProducer_Send_Call
- func (_c *KafkaProducer_Send_Call) Return(err error) *KafkaProducer_Send_Call
- func (_c *KafkaProducer_Send_Call) Run(run func(ctx context.Context, key string, payload interface{})) *KafkaProducer_Send_Call
- func (_c *KafkaProducer_Send_Call) RunAndReturn(run func(ctx context.Context, key string, payload interface{}) error) *KafkaProducer_Send_Call
- type KafkaSubscriberConfigBuilder
- func (_mock *KafkaSubscriberConfigBuilder) BatchTimeout(to time.Duration) kafka.SubscriberConfigBuilder
- func (_mock *KafkaSubscriberConfigBuilder) Build() *kafka.SubscriberConfig
- func (_mock *KafkaSubscriberConfigBuilder) CommitInterval(to time.Duration) kafka.SubscriberConfigBuilder
- func (_mock *KafkaSubscriberConfigBuilder) DeliveryGuarantee(g kafka.DeliveryGuarantee) kafka.SubscriberConfigBuilder
- func (_m *KafkaSubscriberConfigBuilder) EXPECT() *KafkaSubscriberConfigBuilder_Expecter
- func (_mock *KafkaSubscriberConfigBuilder) GroupId(groupId string) kafka.SubscriberConfigBuilder
- func (_mock *KafkaSubscriberConfigBuilder) JoinGroupBackoff(t time.Duration) kafka.SubscriberConfigBuilder
- func (_mock *KafkaSubscriberConfigBuilder) Logging(v bool) kafka.SubscriberConfigBuilder
- func (_mock *KafkaSubscriberConfigBuilder) MaxWait(to time.Duration) kafka.SubscriberConfigBuilder
- func (_mock *KafkaSubscriberConfigBuilder) StartOffset(v int64) kafka.SubscriberConfigBuilder
- func (_mock *KafkaSubscriberConfigBuilder) Workers(num int) kafka.SubscriberConfigBuilder
- type KafkaSubscriberConfigBuilder_BatchTimeout_Call
- func (_c *KafkaSubscriberConfigBuilder_BatchTimeout_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_BatchTimeout_Call
- func (_c *KafkaSubscriberConfigBuilder_BatchTimeout_Call) Run(run func(to time.Duration)) *KafkaSubscriberConfigBuilder_BatchTimeout_Call
- func (_c *KafkaSubscriberConfigBuilder_BatchTimeout_Call) RunAndReturn(run func(to time.Duration) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_BatchTimeout_Call
- type KafkaSubscriberConfigBuilder_Build_Call
- func (_c *KafkaSubscriberConfigBuilder_Build_Call) Return(subscriberConfig *kafka.SubscriberConfig) *KafkaSubscriberConfigBuilder_Build_Call
- func (_c *KafkaSubscriberConfigBuilder_Build_Call) Run(run func()) *KafkaSubscriberConfigBuilder_Build_Call
- func (_c *KafkaSubscriberConfigBuilder_Build_Call) RunAndReturn(run func() *kafka.SubscriberConfig) *KafkaSubscriberConfigBuilder_Build_Call
- type KafkaSubscriberConfigBuilder_CommitInterval_Call
- func (_c *KafkaSubscriberConfigBuilder_CommitInterval_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_CommitInterval_Call
- func (_c *KafkaSubscriberConfigBuilder_CommitInterval_Call) Run(run func(to time.Duration)) *KafkaSubscriberConfigBuilder_CommitInterval_Call
- func (_c *KafkaSubscriberConfigBuilder_CommitInterval_Call) RunAndReturn(run func(to time.Duration) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_CommitInterval_Call
- type KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
- func (_c *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
- func (_c *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) Run(run func(g kafka.DeliveryGuarantee)) *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
- func (_c *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) RunAndReturn(run func(g kafka.DeliveryGuarantee) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
- type KafkaSubscriberConfigBuilder_Expecter
- func (_e *KafkaSubscriberConfigBuilder_Expecter) BatchTimeout(to interface{}) *KafkaSubscriberConfigBuilder_BatchTimeout_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) Build() *KafkaSubscriberConfigBuilder_Build_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) CommitInterval(to interface{}) *KafkaSubscriberConfigBuilder_CommitInterval_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) DeliveryGuarantee(g interface{}) *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) GroupId(groupId interface{}) *KafkaSubscriberConfigBuilder_GroupId_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) JoinGroupBackoff(t interface{}) *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) Logging(v interface{}) *KafkaSubscriberConfigBuilder_Logging_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) MaxWait(to interface{}) *KafkaSubscriberConfigBuilder_MaxWait_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) StartOffset(v interface{}) *KafkaSubscriberConfigBuilder_StartOffset_Call
- func (_e *KafkaSubscriberConfigBuilder_Expecter) Workers(num interface{}) *KafkaSubscriberConfigBuilder_Workers_Call
- type KafkaSubscriberConfigBuilder_GroupId_Call
- func (_c *KafkaSubscriberConfigBuilder_GroupId_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_GroupId_Call
- func (_c *KafkaSubscriberConfigBuilder_GroupId_Call) Run(run func(groupId string)) *KafkaSubscriberConfigBuilder_GroupId_Call
- func (_c *KafkaSubscriberConfigBuilder_GroupId_Call) RunAndReturn(run func(groupId string) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_GroupId_Call
- type KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
- func (_c *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
- func (_c *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) Run(run func(t time.Duration)) *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
- func (_c *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) RunAndReturn(run func(t time.Duration) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
- type KafkaSubscriberConfigBuilder_Logging_Call
- func (_c *KafkaSubscriberConfigBuilder_Logging_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_Logging_Call
- func (_c *KafkaSubscriberConfigBuilder_Logging_Call) Run(run func(v bool)) *KafkaSubscriberConfigBuilder_Logging_Call
- func (_c *KafkaSubscriberConfigBuilder_Logging_Call) RunAndReturn(run func(v bool) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_Logging_Call
- type KafkaSubscriberConfigBuilder_MaxWait_Call
- func (_c *KafkaSubscriberConfigBuilder_MaxWait_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_MaxWait_Call
- func (_c *KafkaSubscriberConfigBuilder_MaxWait_Call) Run(run func(to time.Duration)) *KafkaSubscriberConfigBuilder_MaxWait_Call
- func (_c *KafkaSubscriberConfigBuilder_MaxWait_Call) RunAndReturn(run func(to time.Duration) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_MaxWait_Call
- type KafkaSubscriberConfigBuilder_StartOffset_Call
- func (_c *KafkaSubscriberConfigBuilder_StartOffset_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_StartOffset_Call
- func (_c *KafkaSubscriberConfigBuilder_StartOffset_Call) Run(run func(v int64)) *KafkaSubscriberConfigBuilder_StartOffset_Call
- func (_c *KafkaSubscriberConfigBuilder_StartOffset_Call) RunAndReturn(run func(v int64) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_StartOffset_Call
- type KafkaSubscriberConfigBuilder_Workers_Call
- func (_c *KafkaSubscriberConfigBuilder_Workers_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_Workers_Call
- func (_c *KafkaSubscriberConfigBuilder_Workers_Call) Run(run func(num int)) *KafkaSubscriberConfigBuilder_Workers_Call
- func (_c *KafkaSubscriberConfigBuilder_Workers_Call) RunAndReturn(run func(num int) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_Workers_Call
- type KafkaTopicBuilder
- type KafkaTopicBuilder_Build_Call
- func (_c *KafkaTopicBuilder_Build_Call) Return(topicConfig *kafka.TopicConfig) *KafkaTopicBuilder_Build_Call
- func (_c *KafkaTopicBuilder_Build_Call) Run(run func()) *KafkaTopicBuilder_Build_Call
- func (_c *KafkaTopicBuilder_Build_Call) RunAndReturn(run func() *kafka.TopicConfig) *KafkaTopicBuilder_Build_Call
- type KafkaTopicBuilder_Expecter
- type KafkaTopicBuilder_WithParams_Call
- func (_c *KafkaTopicBuilder_WithParams_Call) Return(topicBuilder kafka.TopicBuilder) *KafkaTopicBuilder_WithParams_Call
- func (_c *KafkaTopicBuilder_WithParams_Call) Run(run func(params ...kafka.TopicParam)) *KafkaTopicBuilder_WithParams_Call
- func (_c *KafkaTopicBuilder_WithParams_Call) RunAndReturn(run func(params ...kafka.TopicParam) kafka.TopicBuilder) *KafkaTopicBuilder_WithParams_Call
- type KafkaTopicBuilder_WithPartitionNum_Call
- func (_c *KafkaTopicBuilder_WithPartitionNum_Call) Return(topicBuilder kafka.TopicBuilder) *KafkaTopicBuilder_WithPartitionNum_Call
- func (_c *KafkaTopicBuilder_WithPartitionNum_Call) Run(run func(num int)) *KafkaTopicBuilder_WithPartitionNum_Call
- func (_c *KafkaTopicBuilder_WithPartitionNum_Call) RunAndReturn(run func(num int) kafka.TopicBuilder) *KafkaTopicBuilder_WithPartitionNum_Call
- type MemcacheMemCache
- type MemcacheMemCache_Delete_Call
- type MemcacheMemCache_Expecter
- type MemcacheMemCache_Get_Call
- func (_c *MemcacheMemCache_Get_Call) Return(ifaceVal interface{}, b bool) *MemcacheMemCache_Get_Call
- func (_c *MemcacheMemCache_Get_Call) Run(run func(key string)) *MemcacheMemCache_Get_Call
- func (_c *MemcacheMemCache_Get_Call) RunAndReturn(run func(key string) (interface{}, bool)) *MemcacheMemCache_Get_Call
- type MemcacheMemCache_Set_Call
- func (_c *MemcacheMemCache_Set_Call) Return() *MemcacheMemCache_Set_Call
- func (_c *MemcacheMemCache_Set_Call) Run(run func(key string, v interface{}, ttl time.Duration)) *MemcacheMemCache_Set_Call
- func (_c *MemcacheMemCache_Set_Call) RunAndReturn(run func(key string, v interface{}, ttl time.Duration)) *MemcacheMemCache_Set_Call
- type MigrationMigration
- type MigrationMigration_Down_Call
- type MigrationMigration_Expecter
- type MigrationMigration_Up_Call
- type MonitoringErrorMonitoring
- func (_mock *MonitoringErrorMonitoring) BusinessErrorInc(errCode string)
- func (_m *MonitoringErrorMonitoring) EXPECT() *MonitoringErrorMonitoring_Expecter
- func (_mock *MonitoringErrorMonitoring) Error(err error)
- func (_mock *MonitoringErrorMonitoring) GetCollector() monitoring.MetricsCollector
- func (_mock *MonitoringErrorMonitoring) PanicInc()
- func (_mock *MonitoringErrorMonitoring) SystemErrorInc(errCode string)
- type MonitoringErrorMonitoring_BusinessErrorInc_Call
- func (_c *MonitoringErrorMonitoring_BusinessErrorInc_Call) Return() *MonitoringErrorMonitoring_BusinessErrorInc_Call
- func (_c *MonitoringErrorMonitoring_BusinessErrorInc_Call) Run(run func(errCode string)) *MonitoringErrorMonitoring_BusinessErrorInc_Call
- func (_c *MonitoringErrorMonitoring_BusinessErrorInc_Call) RunAndReturn(run func(errCode string)) *MonitoringErrorMonitoring_BusinessErrorInc_Call
- type MonitoringErrorMonitoring_Error_Call
- func (_c *MonitoringErrorMonitoring_Error_Call) Return() *MonitoringErrorMonitoring_Error_Call
- func (_c *MonitoringErrorMonitoring_Error_Call) Run(run func(err error)) *MonitoringErrorMonitoring_Error_Call
- func (_c *MonitoringErrorMonitoring_Error_Call) RunAndReturn(run func(err error)) *MonitoringErrorMonitoring_Error_Call
- type MonitoringErrorMonitoring_Expecter
- func (_e *MonitoringErrorMonitoring_Expecter) BusinessErrorInc(errCode interface{}) *MonitoringErrorMonitoring_BusinessErrorInc_Call
- func (_e *MonitoringErrorMonitoring_Expecter) Error(err interface{}) *MonitoringErrorMonitoring_Error_Call
- func (_e *MonitoringErrorMonitoring_Expecter) GetCollector() *MonitoringErrorMonitoring_GetCollector_Call
- func (_e *MonitoringErrorMonitoring_Expecter) PanicInc() *MonitoringErrorMonitoring_PanicInc_Call
- func (_e *MonitoringErrorMonitoring_Expecter) SystemErrorInc(errCode interface{}) *MonitoringErrorMonitoring_SystemErrorInc_Call
- type MonitoringErrorMonitoring_GetCollector_Call
- func (_c *MonitoringErrorMonitoring_GetCollector_Call) Return(metricsCollector monitoring.MetricsCollector) *MonitoringErrorMonitoring_GetCollector_Call
- func (_c *MonitoringErrorMonitoring_GetCollector_Call) Run(run func()) *MonitoringErrorMonitoring_GetCollector_Call
- func (_c *MonitoringErrorMonitoring_GetCollector_Call) RunAndReturn(run func() monitoring.MetricsCollector) *MonitoringErrorMonitoring_GetCollector_Call
- type MonitoringErrorMonitoring_PanicInc_Call
- func (_c *MonitoringErrorMonitoring_PanicInc_Call) Return() *MonitoringErrorMonitoring_PanicInc_Call
- func (_c *MonitoringErrorMonitoring_PanicInc_Call) Run(run func()) *MonitoringErrorMonitoring_PanicInc_Call
- func (_c *MonitoringErrorMonitoring_PanicInc_Call) RunAndReturn(run func()) *MonitoringErrorMonitoring_PanicInc_Call
- type MonitoringErrorMonitoring_SystemErrorInc_Call
- func (_c *MonitoringErrorMonitoring_SystemErrorInc_Call) Return() *MonitoringErrorMonitoring_SystemErrorInc_Call
- func (_c *MonitoringErrorMonitoring_SystemErrorInc_Call) Run(run func(errCode string)) *MonitoringErrorMonitoring_SystemErrorInc_Call
- func (_c *MonitoringErrorMonitoring_SystemErrorInc_Call) RunAndReturn(run func(errCode string)) *MonitoringErrorMonitoring_SystemErrorInc_Call
- type MonitoringMetricsProvider
- type MonitoringMetricsProvider_Expecter
- type MonitoringMetricsProvider_GetCollector_Call
- func (_c *MonitoringMetricsProvider_GetCollector_Call) Return(metricsCollector monitoring.MetricsCollector) *MonitoringMetricsProvider_GetCollector_Call
- func (_c *MonitoringMetricsProvider_GetCollector_Call) Run(run func()) *MonitoringMetricsProvider_GetCollector_Call
- func (_c *MonitoringMetricsProvider_GetCollector_Call) RunAndReturn(run func() monitoring.MetricsCollector) *MonitoringMetricsProvider_GetCollector_Call
- type MonitoringMetricsServer
- type MonitoringMetricsServer_Close_Call
- type MonitoringMetricsServer_Expecter
- func (_e *MonitoringMetricsServer_Expecter) Close() *MonitoringMetricsServer_Close_Call
- func (_e *MonitoringMetricsServer_Expecter) Init(config interface{}, MetricProviders ...interface{}) *MonitoringMetricsServer_Init_Call
- func (_e *MonitoringMetricsServer_Expecter) Listen() *MonitoringMetricsServer_Listen_Call
- type MonitoringMetricsServer_Init_Call
- type MonitoringMetricsServer_Listen_Call
- func (_c *MonitoringMetricsServer_Listen_Call) Return() *MonitoringMetricsServer_Listen_Call
- func (_c *MonitoringMetricsServer_Listen_Call) Run(run func()) *MonitoringMetricsServer_Listen_Call
- func (_c *MonitoringMetricsServer_Listen_Call) RunAndReturn(run func()) *MonitoringMetricsServer_Listen_Call
- type MonitoringRegexpMonitoring
- func (_mock *MonitoringRegexpMonitoring) AddRegexps(regexps ...*monitoring.Regexp)
- func (_m *MonitoringRegexpMonitoring) EXPECT() *MonitoringRegexpMonitoring_Expecter
- func (_mock *MonitoringRegexpMonitoring) GetCollector() monitoring.MetricsCollector
- func (_mock *MonitoringRegexpMonitoring) Text(text string)
- type MonitoringRegexpMonitoring_AddRegexps_Call
- func (_c *MonitoringRegexpMonitoring_AddRegexps_Call) Return() *MonitoringRegexpMonitoring_AddRegexps_Call
- func (_c *MonitoringRegexpMonitoring_AddRegexps_Call) Run(run func(regexps ...*monitoring.Regexp)) *MonitoringRegexpMonitoring_AddRegexps_Call
- func (_c *MonitoringRegexpMonitoring_AddRegexps_Call) RunAndReturn(run func(regexps ...*monitoring.Regexp)) *MonitoringRegexpMonitoring_AddRegexps_Call
- type MonitoringRegexpMonitoring_Expecter
- func (_e *MonitoringRegexpMonitoring_Expecter) AddRegexps(regexps ...interface{}) *MonitoringRegexpMonitoring_AddRegexps_Call
- func (_e *MonitoringRegexpMonitoring_Expecter) GetCollector() *MonitoringRegexpMonitoring_GetCollector_Call
- func (_e *MonitoringRegexpMonitoring_Expecter) Text(text interface{}) *MonitoringRegexpMonitoring_Text_Call
- type MonitoringRegexpMonitoring_GetCollector_Call
- func (_c *MonitoringRegexpMonitoring_GetCollector_Call) Return(metricsCollector monitoring.MetricsCollector) *MonitoringRegexpMonitoring_GetCollector_Call
- func (_c *MonitoringRegexpMonitoring_GetCollector_Call) Run(run func()) *MonitoringRegexpMonitoring_GetCollector_Call
- func (_c *MonitoringRegexpMonitoring_GetCollector_Call) RunAndReturn(run func() monitoring.MetricsCollector) *MonitoringRegexpMonitoring_GetCollector_Call
- type MonitoringRegexpMonitoring_Text_Call
- func (_c *MonitoringRegexpMonitoring_Text_Call) Return() *MonitoringRegexpMonitoring_Text_Call
- func (_c *MonitoringRegexpMonitoring_Text_Call) Run(run func(text string)) *MonitoringRegexpMonitoring_Text_Call
- func (_c *MonitoringRegexpMonitoring_Text_Call) RunAndReturn(run func(text string)) *MonitoringRegexpMonitoring_Text_Call
- type NotificationBuilder
- func (_mock *NotificationBuilder[T]) B(msg *T) *notification.Notification[T]
- func (_m *NotificationBuilder[T]) EXPECT() *NotificationBuilder_Expecter[T]
- func (_mock *NotificationBuilder[T]) Receivers(receivers []*notification.Receiver) notification.Builder[T]
- func (_mock *NotificationBuilder[T]) Types(types ...string) notification.Builder[T]
- type NotificationBuilder_B_Call
- func (_c *NotificationBuilder_B_Call[T]) Return(notification1 *notification.Notification[T]) *NotificationBuilder_B_Call[T]
- func (_c *NotificationBuilder_B_Call[T]) Run(run func(msg *T)) *NotificationBuilder_B_Call[T]
- func (_c *NotificationBuilder_B_Call[T]) RunAndReturn(run func(msg *T) *notification.Notification[T]) *NotificationBuilder_B_Call[T]
- type NotificationBuilder_Expecter
- func (_e *NotificationBuilder_Expecter[T]) B(msg interface{}) *NotificationBuilder_B_Call[T]
- func (_e *NotificationBuilder_Expecter[T]) Receivers(receivers interface{}) *NotificationBuilder_Receivers_Call[T]
- func (_e *NotificationBuilder_Expecter[T]) Types(types ...interface{}) *NotificationBuilder_Types_Call[T]
- type NotificationBuilder_Receivers_Call
- func (_c *NotificationBuilder_Receivers_Call[T]) Return(builder notification.Builder[T]) *NotificationBuilder_Receivers_Call[T]
- func (_c *NotificationBuilder_Receivers_Call[T]) Run(run func(receivers []*notification.Receiver)) *NotificationBuilder_Receivers_Call[T]
- func (_c *NotificationBuilder_Receivers_Call[T]) RunAndReturn(run func(receivers []*notification.Receiver) notification.Builder[T]) *NotificationBuilder_Receivers_Call[T]
- type NotificationBuilder_Types_Call
- func (_c *NotificationBuilder_Types_Call[T]) Return(builder notification.Builder[T]) *NotificationBuilder_Types_Call[T]
- func (_c *NotificationBuilder_Types_Call[T]) Run(run func(types ...string)) *NotificationBuilder_Types_Call[T]
- func (_c *NotificationBuilder_Types_Call[T]) RunAndReturn(run func(types ...string) notification.Builder[T]) *NotificationBuilder_Types_Call[T]
- type NotificationReceivers
- func (_mock *NotificationReceivers) B() ([]*notification.Receiver, error)
- func (_m *NotificationReceivers) EXPECT() *NotificationReceivers_Expecter
- func (_mock *NotificationReceivers) Permissions(resolver notification.Resolver) notification.Receivers
- func (_mock *NotificationReceivers) Scopes(fns ...notification.ReceiverFn) notification.Receivers
- type NotificationReceivers_B_Call
- func (_c *NotificationReceivers_B_Call) Return(receivers []*notification.Receiver, err error) *NotificationReceivers_B_Call
- func (_c *NotificationReceivers_B_Call) Run(run func()) *NotificationReceivers_B_Call
- func (_c *NotificationReceivers_B_Call) RunAndReturn(run func() ([]*notification.Receiver, error)) *NotificationReceivers_B_Call
- type NotificationReceivers_Expecter
- type NotificationReceivers_Permissions_Call
- func (_c *NotificationReceivers_Permissions_Call) Return(receivers notification.Receivers) *NotificationReceivers_Permissions_Call
- func (_c *NotificationReceivers_Permissions_Call) Run(run func(resolver notification.Resolver)) *NotificationReceivers_Permissions_Call
- func (_c *NotificationReceivers_Permissions_Call) RunAndReturn(run func(resolver notification.Resolver) notification.Receivers) *NotificationReceivers_Permissions_Call
- type NotificationReceivers_Scopes_Call
- func (_c *NotificationReceivers_Scopes_Call) Return(receivers notification.Receivers) *NotificationReceivers_Scopes_Call
- func (_c *NotificationReceivers_Scopes_Call) Run(run func(fns ...notification.ReceiverFn)) *NotificationReceivers_Scopes_Call
- func (_c *NotificationReceivers_Scopes_Call) RunAndReturn(run func(fns ...notification.ReceiverFn) notification.Receivers) *NotificationReceivers_Scopes_Call
- type NotificationResolver
- type NotificationResolver_Expecter
- type NotificationResolver_Resolve_Call
- func (_c *NotificationResolver_Resolve_Call) Return(permissionsRequest *notification.PermissionsRequest) *NotificationResolver_Resolve_Call
- func (_c *NotificationResolver_Resolve_Call) Run(run func()) *NotificationResolver_Resolve_Call
- func (_c *NotificationResolver_Resolve_Call) RunAndReturn(run func() *notification.PermissionsRequest) *NotificationResolver_Resolve_Call
- type ProfileServer
- type ProfileServer_Close_Call
- type ProfileServer_Expecter
- type ProfileServer_Init_Call
- type ProfileServer_Listen_Call
- type RedisPriorityQueue
- func (_m *RedisPriorityQueue[T]) EXPECT() *RedisPriorityQueue_Expecter[T]
- func (_mock *RedisPriorityQueue[T]) Pop(ctx context.Context, numItems int) ([]T, error)
- func (_mock *RedisPriorityQueue[T]) PopManyAndRemove(ctx context.Context, numItems int) ([]T, error)
- func (_mock *RedisPriorityQueue[T]) Push(ctx context.Context, item T, priority int) error
- type RedisPriorityQueue_Expecter
- func (_e *RedisPriorityQueue_Expecter[T]) Pop(ctx interface{}, numItems interface{}) *RedisPriorityQueue_Pop_Call[T]
- func (_e *RedisPriorityQueue_Expecter[T]) PopManyAndRemove(ctx interface{}, numItems interface{}) *RedisPriorityQueue_PopManyAndRemove_Call[T]
- func (_e *RedisPriorityQueue_Expecter[T]) Push(ctx interface{}, item interface{}, priority interface{}) *RedisPriorityQueue_Push_Call[T]
- type RedisPriorityQueue_PopManyAndRemove_Call
- func (_c *RedisPriorityQueue_PopManyAndRemove_Call[T]) Return(vs []T, err error) *RedisPriorityQueue_PopManyAndRemove_Call[T]
- func (_c *RedisPriorityQueue_PopManyAndRemove_Call[T]) Run(run func(ctx context.Context, numItems int)) *RedisPriorityQueue_PopManyAndRemove_Call[T]
- func (_c *RedisPriorityQueue_PopManyAndRemove_Call[T]) RunAndReturn(run func(ctx context.Context, numItems int) ([]T, error)) *RedisPriorityQueue_PopManyAndRemove_Call[T]
- type RedisPriorityQueue_Pop_Call
- func (_c *RedisPriorityQueue_Pop_Call[T]) Return(vs []T, err error) *RedisPriorityQueue_Pop_Call[T]
- func (_c *RedisPriorityQueue_Pop_Call[T]) Run(run func(ctx context.Context, numItems int)) *RedisPriorityQueue_Pop_Call[T]
- func (_c *RedisPriorityQueue_Pop_Call[T]) RunAndReturn(run func(ctx context.Context, numItems int) ([]T, error)) *RedisPriorityQueue_Pop_Call[T]
- type RedisPriorityQueue_Push_Call
- func (_c *RedisPriorityQueue_Push_Call[T]) Return(err error) *RedisPriorityQueue_Push_Call[T]
- func (_c *RedisPriorityQueue_Push_Call[T]) Run(run func(ctx context.Context, item T, priority int)) *RedisPriorityQueue_Push_Call[T]
- func (_c *RedisPriorityQueue_Push_Call[T]) RunAndReturn(run func(ctx context.Context, item T, priority int) error) *RedisPriorityQueue_Push_Call[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiprotoCentrifugoApiClient ¶
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 (_m *ApiprotoCentrifugoApiClient) EXPECT() *ApiprotoCentrifugoApiClient_Expecter
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 (_c *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call) Run(run func(ctx context.Context, in *apiproto.InvalidateUserTokensRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_InvalidateUserTokens_Call
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 (_c *ApiprotoCentrifugoApiClient_SendPushNotification_Call) Run(run func(ctx context.Context, in *apiproto.SendPushNotificationRequest, opts ...grpc.CallOption)) *ApiprotoCentrifugoApiClient_SendPushNotification_Call
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 (_m *ApiprotoCentrifugoApiServer) EXPECT() *ApiprotoCentrifugoApiServer_Expecter
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) RunAndReturn ¶
func (_c *ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call) RunAndReturn(run func()) *ApiprotoCentrifugoApiServer_mustEmbedUnimplementedCentrifugoApiServer_Call
type ApiprotoUnsafeCentrifugoApiServer ¶
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 ¶
func (_m *ApiprotoUnsafeCentrifugoApiServer) EXPECT() *ApiprotoUnsafeCentrifugoApiServer_Expecter
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) RunAndReturn ¶
type BatchWorker ¶
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 ¶
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 ¶
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 ¶
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 ¶
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]
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 ¶
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 ¶
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 (_m *CentrifugoClient) EXPECT() *CentrifugoClient_Expecter
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 ¶
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 (_c *CentrifugoClient_ClientId_Call) Return(s string) *CentrifugoClient_ClientId_Call
func (*CentrifugoClient_ClientId_Call) Run ¶
func (_c *CentrifugoClient_ClientId_Call) Run(run func()) *CentrifugoClient_ClientId_Call
func (*CentrifugoClient_ClientId_Call) RunAndReturn ¶
func (_c *CentrifugoClient_ClientId_Call) RunAndReturn(run func() string) *CentrifugoClient_ClientId_Call
type CentrifugoClient_Close_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 (_c *CentrifugoClient_Close_Call) Return(err error) *CentrifugoClient_Close_Call
func (*CentrifugoClient_Close_Call) Run ¶
func (_c *CentrifugoClient_Close_Call) Run(run func(ctx context.Context)) *CentrifugoClient_Close_Call
func (*CentrifugoClient_Close_Call) RunAndReturn ¶
func (_c *CentrifugoClient_Close_Call) RunAndReturn(run func(ctx context.Context) error) *CentrifugoClient_Close_Call
type CentrifugoClient_Connect_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 (_c *CentrifugoClient_Connect_Call) Return(err error) *CentrifugoClient_Connect_Call
func (*CentrifugoClient_Connect_Call) Run ¶
func (_c *CentrifugoClient_Connect_Call) Run(run func(ctx context.Context, token string)) *CentrifugoClient_Connect_Call
func (*CentrifugoClient_Connect_Call) RunAndReturn ¶
func (_c *CentrifugoClient_Connect_Call) RunAndReturn(run func(ctx context.Context, token string) error) *CentrifugoClient_Connect_Call
type CentrifugoClient_Connected_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 (_c *CentrifugoClient_Connected_Call) Return(b bool) *CentrifugoClient_Connected_Call
func (*CentrifugoClient_Connected_Call) Run ¶
func (_c *CentrifugoClient_Connected_Call) Run(run func()) *CentrifugoClient_Connected_Call
func (*CentrifugoClient_Connected_Call) RunAndReturn ¶
func (_c *CentrifugoClient_Connected_Call) RunAndReturn(run func() bool) *CentrifugoClient_Connected_Call
type CentrifugoClient_Expecter ¶
type CentrifugoClient_Expecter struct {
// contains filtered or unexported fields
}
func (*CentrifugoClient_Expecter) ClientId ¶
func (_e *CentrifugoClient_Expecter) ClientId() *CentrifugoClient_ClientId_Call
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 ¶
func (_e *CentrifugoClient_Expecter) Connected() *CentrifugoClient_Connected_Call
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 ¶
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 (_c *CentrifugoClient_OnPublication_Call) Return(err error) *CentrifugoClient_OnPublication_Call
func (*CentrifugoClient_OnPublication_Call) Run ¶
func (_c *CentrifugoClient_OnPublication_Call) Run(run func(ctx context.Context, handler func(p centrifuge.ServerPublicationEvent) error)) *CentrifugoClient_OnPublication_Call
func (*CentrifugoClient_OnPublication_Call) RunAndReturn ¶
func (_c *CentrifugoClient_OnPublication_Call) RunAndReturn(run func(ctx context.Context, handler func(p centrifuge.ServerPublicationEvent) error) error) *CentrifugoClient_OnPublication_Call
type CentrifugoClient_Subscribe_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 (_c *CentrifugoClient_Subscribe_Call) Return(err error) *CentrifugoClient_Subscribe_Call
func (*CentrifugoClient_Subscribe_Call) Run ¶
func (_c *CentrifugoClient_Subscribe_Call) Run(run func(ctx context.Context, token string, channel string, handler func(p centrifuge.Publication) error)) *CentrifugoClient_Subscribe_Call
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 ¶
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 ¶
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 (_m *CentrifugoServer) EXPECT() *CentrifugoServer_Expecter
func (*CentrifugoServer) GetPresence ¶
func (_mock *CentrifugoServer) GetPresence(ctx context.Context, channel string) (*apiproto.PresenceResult, error)
GetPresence provides a mock function for the type CentrifugoServer
type CentrifugoServer_BatchPublish_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 (_c *CentrifugoServer_BatchPublish_Call) Return(err error) *CentrifugoServer_BatchPublish_Call
func (*CentrifugoServer_BatchPublish_Call) Run ¶
func (_c *CentrifugoServer_BatchPublish_Call) Run(run func(ctx context.Context, channels []string, msg any)) *CentrifugoServer_BatchPublish_Call
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 ¶
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 (_c *CentrifugoServer_Close_Call) Return(err error) *CentrifugoServer_Close_Call
func (*CentrifugoServer_Close_Call) Run ¶
func (_c *CentrifugoServer_Close_Call) Run(run func(ctx context.Context)) *CentrifugoServer_Close_Call
func (*CentrifugoServer_Close_Call) RunAndReturn ¶
func (_c *CentrifugoServer_Close_Call) RunAndReturn(run func(ctx context.Context) error) *CentrifugoServer_Close_Call
type CentrifugoServer_Connect_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 (_c *CentrifugoServer_Connect_Call) Return(err error) *CentrifugoServer_Connect_Call
func (*CentrifugoServer_Connect_Call) Run ¶
func (_c *CentrifugoServer_Connect_Call) Run(run func(ctx context.Context)) *CentrifugoServer_Connect_Call
func (*CentrifugoServer_Connect_Call) RunAndReturn ¶
func (_c *CentrifugoServer_Connect_Call) RunAndReturn(run func(ctx context.Context) error) *CentrifugoServer_Connect_Call
type CentrifugoServer_DisconnectUser_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 (_c *CentrifugoServer_DisconnectUser_Call) Return(err error) *CentrifugoServer_DisconnectUser_Call
func (*CentrifugoServer_DisconnectUser_Call) Run ¶
func (_c *CentrifugoServer_DisconnectUser_Call) Run(run func(ctx context.Context, userId string)) *CentrifugoServer_DisconnectUser_Call
func (*CentrifugoServer_DisconnectUser_Call) RunAndReturn ¶
func (_c *CentrifugoServer_DisconnectUser_Call) RunAndReturn(run func(ctx context.Context, userId string) error) *CentrifugoServer_DisconnectUser_Call
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 ¶
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 (_c *CentrifugoServer_GetPresence_Call) Run(run func(ctx context.Context, channel string)) *CentrifugoServer_GetPresence_Call
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 ¶
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 (_c *CentrifugoServer_Publish_Call) Return(err error) *CentrifugoServer_Publish_Call
func (*CentrifugoServer_Publish_Call) Run ¶
func (_c *CentrifugoServer_Publish_Call) Run(run func(ctx context.Context, channel string, msg any)) *CentrifugoServer_Publish_Call
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 ¶
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 (_m *ClusterBootstrap) EXPECT() *ClusterBootstrap_Expecter
type ClusterBootstrap_Close_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 (_c *ClusterBootstrap_Close_Call) Return() *ClusterBootstrap_Close_Call
func (*ClusterBootstrap_Close_Call) Run ¶
func (_c *ClusterBootstrap_Close_Call) Run(run func(ctx context.Context)) *ClusterBootstrap_Close_Call
func (*ClusterBootstrap_Close_Call) RunAndReturn ¶
func (_c *ClusterBootstrap_Close_Call) RunAndReturn(run func(ctx context.Context)) *ClusterBootstrap_Close_Call
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 ¶
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 (_c *ClusterBootstrap_Init_Call) Return(err error) *ClusterBootstrap_Init_Call
func (*ClusterBootstrap_Init_Call) Run ¶
func (_c *ClusterBootstrap_Init_Call) Run(run func(ctx context.Context, cfg any)) *ClusterBootstrap_Init_Call
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 ¶
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 (_c *ClusterBootstrap_Start_Call) Return(err error) *ClusterBootstrap_Start_Call
func (*ClusterBootstrap_Start_Call) Run ¶
func (_c *ClusterBootstrap_Start_Call) Run(run func(ctx context.Context)) *ClusterBootstrap_Start_Call
func (*ClusterBootstrap_Start_Call) RunAndReturn ¶
func (_c *ClusterBootstrap_Start_Call) RunAndReturn(run func(ctx context.Context) error) *ClusterBootstrap_Start_Call
type ClusterDistributedKeys ¶ added in v0.2.0
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 (_m *ClusterDistributedKeys) EXPECT() *ClusterDistributedKeys_Expecter
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
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 (_c *ClusterDistributedKeys_Check_Call) Return(b bool) *ClusterDistributedKeys_Check_Call
func (*ClusterDistributedKeys_Check_Call) Run ¶ added in v0.2.0
func (_c *ClusterDistributedKeys_Check_Call) Run(run func(key string)) *ClusterDistributedKeys_Check_Call
func (*ClusterDistributedKeys_Check_Call) RunAndReturn ¶ added in v0.2.0
func (_c *ClusterDistributedKeys_Check_Call) RunAndReturn(run func(key string) bool) *ClusterDistributedKeys_Check_Call
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
func (_e *ClusterDistributedKeys_Expecter) Check(key interface{}) *ClusterDistributedKeys_Check_Call
Check is a helper method to define mock.On call
- key string
func (*ClusterDistributedKeys_Expecter) Remove ¶ added in v0.2.0
func (_e *ClusterDistributedKeys_Expecter) Remove(key interface{}) *ClusterDistributedKeys_Remove_Call
Remove is a helper method to define mock.On call
- key string
func (*ClusterDistributedKeys_Expecter) Set ¶ added in v0.2.0
func (_e *ClusterDistributedKeys_Expecter) Set(key interface{}) *ClusterDistributedKeys_Set_Call
Set is a helper method to define mock.On call
- key string
type ClusterDistributedKeys_Remove_Call ¶ added in v0.2.0
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 (_c *ClusterDistributedKeys_Remove_Call) Return() *ClusterDistributedKeys_Remove_Call
func (*ClusterDistributedKeys_Remove_Call) Run ¶ added in v0.2.0
func (_c *ClusterDistributedKeys_Remove_Call) Run(run func(key string)) *ClusterDistributedKeys_Remove_Call
func (*ClusterDistributedKeys_Remove_Call) RunAndReturn ¶ added in v0.2.0
func (_c *ClusterDistributedKeys_Remove_Call) RunAndReturn(run func(key string)) *ClusterDistributedKeys_Remove_Call
type ClusterDistributedKeys_Set_Call ¶ added in v0.2.0
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 (_c *ClusterDistributedKeys_Set_Call) Return() *ClusterDistributedKeys_Set_Call
func (*ClusterDistributedKeys_Set_Call) Run ¶ added in v0.2.0
func (_c *ClusterDistributedKeys_Set_Call) Run(run func(key string)) *ClusterDistributedKeys_Set_Call
func (*ClusterDistributedKeys_Set_Call) RunAndReturn ¶ added in v0.2.0
func (_c *ClusterDistributedKeys_Set_Call) RunAndReturn(run func(key string)) *ClusterDistributedKeys_Set_Call
type ElasticsearchIndexBuilder ¶
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 (_m *ElasticsearchIndexBuilder) EXPECT() *ElasticsearchIndexBuilder_Expecter
func (*ElasticsearchIndexBuilder) WithAlias ¶
func (_mock *ElasticsearchIndexBuilder) WithAlias(name string) elasticsearch.IndexBuilder
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 ¶
func (_mock *ElasticsearchIndexBuilder) WithIndex(name string) elasticsearch.IndexBuilder
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 ¶
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 (_c *ElasticsearchIndexBuilder_Build_Call) Return(err error) *ElasticsearchIndexBuilder_Build_Call
func (*ElasticsearchIndexBuilder_Build_Call) Run ¶
func (_c *ElasticsearchIndexBuilder_Build_Call) Run(run func(ctx context.Context)) *ElasticsearchIndexBuilder_Build_Call
func (*ElasticsearchIndexBuilder_Build_Call) RunAndReturn ¶
func (_c *ElasticsearchIndexBuilder_Build_Call) RunAndReturn(run func(ctx context.Context) error) *ElasticsearchIndexBuilder_Build_Call
type ElasticsearchIndexBuilder_Expecter ¶
type ElasticsearchIndexBuilder_Expecter struct {
// contains filtered or unexported fields
}
func (*ElasticsearchIndexBuilder_Expecter) Build ¶
func (_e *ElasticsearchIndexBuilder_Expecter) Build(ctx interface{}) *ElasticsearchIndexBuilder_Build_Call
Build is a helper method to define mock.On call
- ctx context.Context
func (*ElasticsearchIndexBuilder_Expecter) WithAlias ¶
func (_e *ElasticsearchIndexBuilder_Expecter) WithAlias(name interface{}) *ElasticsearchIndexBuilder_WithAlias_Call
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 ¶
func (_e *ElasticsearchIndexBuilder_Expecter) WithIndex(name interface{}) *ElasticsearchIndexBuilder_WithIndex_Call
WithIndex is a helper method to define mock.On call
- name string
func (*ElasticsearchIndexBuilder_Expecter) WithMappingModel ¶
func (_e *ElasticsearchIndexBuilder_Expecter) WithMappingModel(model interface{}) *ElasticsearchIndexBuilder_WithMappingModel_Call
WithMappingModel is a helper method to define mock.On call
- model interface{}
type ElasticsearchIndexBuilder_WithAlias_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 (_c *ElasticsearchIndexBuilder_WithAlias_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithAlias_Call
func (*ElasticsearchIndexBuilder_WithAlias_Call) Run ¶
func (_c *ElasticsearchIndexBuilder_WithAlias_Call) Run(run func(name string)) *ElasticsearchIndexBuilder_WithAlias_Call
func (*ElasticsearchIndexBuilder_WithAlias_Call) RunAndReturn ¶
func (_c *ElasticsearchIndexBuilder_WithAlias_Call) RunAndReturn(run func(name string) elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithAlias_Call
type ElasticsearchIndexBuilder_WithExplicitMapping_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 (_c *ElasticsearchIndexBuilder_WithExplicitMapping_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithExplicitMapping_Call
func (*ElasticsearchIndexBuilder_WithExplicitMapping_Call) Run ¶
func (_c *ElasticsearchIndexBuilder_WithExplicitMapping_Call) Run(run func(mapping string)) *ElasticsearchIndexBuilder_WithExplicitMapping_Call
func (*ElasticsearchIndexBuilder_WithExplicitMapping_Call) RunAndReturn ¶
func (_c *ElasticsearchIndexBuilder_WithExplicitMapping_Call) RunAndReturn(run func(mapping string) elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithExplicitMapping_Call
type ElasticsearchIndexBuilder_WithIndex_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 (_c *ElasticsearchIndexBuilder_WithIndex_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithIndex_Call
func (*ElasticsearchIndexBuilder_WithIndex_Call) Run ¶
func (_c *ElasticsearchIndexBuilder_WithIndex_Call) Run(run func(name string)) *ElasticsearchIndexBuilder_WithIndex_Call
func (*ElasticsearchIndexBuilder_WithIndex_Call) RunAndReturn ¶
func (_c *ElasticsearchIndexBuilder_WithIndex_Call) RunAndReturn(run func(name string) elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithIndex_Call
type ElasticsearchIndexBuilder_WithMappingModel_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 (_c *ElasticsearchIndexBuilder_WithMappingModel_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithMappingModel_Call
func (*ElasticsearchIndexBuilder_WithMappingModel_Call) Run ¶
func (_c *ElasticsearchIndexBuilder_WithMappingModel_Call) Run(run func(model interface{})) *ElasticsearchIndexBuilder_WithMappingModel_Call
func (*ElasticsearchIndexBuilder_WithMappingModel_Call) RunAndReturn ¶
func (_c *ElasticsearchIndexBuilder_WithMappingModel_Call) RunAndReturn(run func(model interface{}) elasticsearch.IndexBuilder) *ElasticsearchIndexBuilder_WithMappingModel_Call
type ElasticsearchSearch ¶
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 ¶
Delete provides a mock function for the type ElasticsearchSearch
func (*ElasticsearchSearch) DeleteBulk ¶
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 (_m *ElasticsearchSearch) EXPECT() *ElasticsearchSearch_Expecter
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
type ElasticsearchSearch_Close_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 (_c *ElasticsearchSearch_Close_Call) Return() *ElasticsearchSearch_Close_Call
func (*ElasticsearchSearch_Close_Call) Run ¶
func (_c *ElasticsearchSearch_Close_Call) Run(run func(ctx context.Context)) *ElasticsearchSearch_Close_Call
func (*ElasticsearchSearch_Close_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_Close_Call) RunAndReturn(run func(ctx context.Context)) *ElasticsearchSearch_Close_Call
type ElasticsearchSearch_DeleteBulk_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 (_c *ElasticsearchSearch_DeleteBulk_Call) Return(err error) *ElasticsearchSearch_DeleteBulk_Call
func (*ElasticsearchSearch_DeleteBulk_Call) Run ¶
func (_c *ElasticsearchSearch_DeleteBulk_Call) Run(run func(ctx context.Context, index string, ids []string)) *ElasticsearchSearch_DeleteBulk_Call
func (*ElasticsearchSearch_DeleteBulk_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_DeleteBulk_Call) RunAndReturn(run func(ctx context.Context, index string, ids []string) error) *ElasticsearchSearch_DeleteBulk_Call
type ElasticsearchSearch_DeleteIndex_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 (_c *ElasticsearchSearch_DeleteIndex_Call) Return(err error) *ElasticsearchSearch_DeleteIndex_Call
func (*ElasticsearchSearch_DeleteIndex_Call) Run ¶
func (_c *ElasticsearchSearch_DeleteIndex_Call) Run(run func(ctx context.Context, index string)) *ElasticsearchSearch_DeleteIndex_Call
func (*ElasticsearchSearch_DeleteIndex_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_DeleteIndex_Call) RunAndReturn(run func(ctx context.Context, index string) error) *ElasticsearchSearch_DeleteIndex_Call
type ElasticsearchSearch_Delete_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 (_c *ElasticsearchSearch_Delete_Call) Return(err error) *ElasticsearchSearch_Delete_Call
func (*ElasticsearchSearch_Delete_Call) Run ¶
func (_c *ElasticsearchSearch_Delete_Call) Run(run func(ctx context.Context, index string, id string)) *ElasticsearchSearch_Delete_Call
func (*ElasticsearchSearch_Delete_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_Delete_Call) RunAndReturn(run func(ctx context.Context, index string, id string) error) *ElasticsearchSearch_Delete_Call
type ElasticsearchSearch_Exists_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 (_c *ElasticsearchSearch_Exists_Call) Return(b bool, err error) *ElasticsearchSearch_Exists_Call
func (*ElasticsearchSearch_Exists_Call) Run ¶
func (_c *ElasticsearchSearch_Exists_Call) Run(run func(ctx context.Context, index string, id string)) *ElasticsearchSearch_Exists_Call
func (*ElasticsearchSearch_Exists_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_Exists_Call) RunAndReturn(run func(ctx context.Context, index string, id string) (bool, error)) *ElasticsearchSearch_Exists_Call
type ElasticsearchSearch_Expecter ¶
type ElasticsearchSearch_Expecter struct {
// contains filtered or unexported fields
}
func (*ElasticsearchSearch_Expecter) Close ¶
func (_e *ElasticsearchSearch_Expecter) Close(ctx interface{}) *ElasticsearchSearch_Close_Call
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 ¶
func (_e *ElasticsearchSearch_Expecter) GetClient() *ElasticsearchSearch_GetClient_Call
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 ¶
func (_e *ElasticsearchSearch_Expecter) NewBuilder() *ElasticsearchSearch_NewBuilder_Call
NewBuilder is a helper method to define mock.On call
func (*ElasticsearchSearch_Expecter) Ping ¶
func (_e *ElasticsearchSearch_Expecter) Ping() *ElasticsearchSearch_Ping_Call
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 ¶
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 (_c *ElasticsearchSearch_GetClient_Call) Return(client *elastic.Client) *ElasticsearchSearch_GetClient_Call
func (*ElasticsearchSearch_GetClient_Call) Run ¶
func (_c *ElasticsearchSearch_GetClient_Call) Run(run func()) *ElasticsearchSearch_GetClient_Call
func (*ElasticsearchSearch_GetClient_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_GetClient_Call) RunAndReturn(run func() *elastic.Client) *ElasticsearchSearch_GetClient_Call
type ElasticsearchSearch_IndexAsync_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 (_c *ElasticsearchSearch_IndexAsync_Call) Return() *ElasticsearchSearch_IndexAsync_Call
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 ¶
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 (_c *ElasticsearchSearch_IndexBulkAsync_Call) Return() *ElasticsearchSearch_IndexBulkAsync_Call
func (*ElasticsearchSearch_IndexBulkAsync_Call) Run ¶
func (_c *ElasticsearchSearch_IndexBulkAsync_Call) Run(run func(ctx context.Context, index string, docs map[string]interface{})) *ElasticsearchSearch_IndexBulkAsync_Call
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 ¶
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 (_c *ElasticsearchSearch_IndexBulk_Call) Return(err error) *ElasticsearchSearch_IndexBulk_Call
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 ¶
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 (_c *ElasticsearchSearch_Index_Call) Return(err error) *ElasticsearchSearch_Index_Call
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 ¶
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 (_c *ElasticsearchSearch_NewBuilder_Call) Return(indexBuilder elasticsearch.IndexBuilder) *ElasticsearchSearch_NewBuilder_Call
func (*ElasticsearchSearch_NewBuilder_Call) Run ¶
func (_c *ElasticsearchSearch_NewBuilder_Call) Run(run func()) *ElasticsearchSearch_NewBuilder_Call
func (*ElasticsearchSearch_NewBuilder_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_NewBuilder_Call) RunAndReturn(run func() elasticsearch.IndexBuilder) *ElasticsearchSearch_NewBuilder_Call
type ElasticsearchSearch_Ping_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 (_c *ElasticsearchSearch_Ping_Call) Return(b bool) *ElasticsearchSearch_Ping_Call
func (*ElasticsearchSearch_Ping_Call) Run ¶
func (_c *ElasticsearchSearch_Ping_Call) Run(run func()) *ElasticsearchSearch_Ping_Call
func (*ElasticsearchSearch_Ping_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_Ping_Call) RunAndReturn(run func() bool) *ElasticsearchSearch_Ping_Call
type ElasticsearchSearch_Refresh_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 (_c *ElasticsearchSearch_Refresh_Call) Return(err error) *ElasticsearchSearch_Refresh_Call
func (*ElasticsearchSearch_Refresh_Call) Run ¶
func (_c *ElasticsearchSearch_Refresh_Call) Run(run func(ctx context.Context, index string)) *ElasticsearchSearch_Refresh_Call
func (*ElasticsearchSearch_Refresh_Call) RunAndReturn ¶
func (_c *ElasticsearchSearch_Refresh_Call) RunAndReturn(run func(ctx context.Context, index string) error) *ElasticsearchSearch_Refresh_Call
type EventBus ¶
EventBus is an autogenerated mock type for the Bus type
func NewEventBus ¶
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 ¶
HasCallback provides a mock function for the type EventBus
func (*EventBus) SubscribeAsync ¶
SubscribeAsync provides a mock function for the type EventBus
func (*EventBus) SubscribeOnce ¶
SubscribeOnce provides a mock function for the type EventBus
func (*EventBus) SubscribeOnceAsync ¶
SubscribeOnceAsync provides a mock function for the type EventBus
func (*EventBus) Unsubscribe ¶
Unsubscribe provides a mock function for the type EventBus
type EventBusController ¶
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 (_m *EventBusController) EXPECT() *EventBusController_Expecter
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 ¶
func (_e *EventBusController_Expecter) WaitAsync() *EventBusController_WaitAsync_Call
WaitAsync is a helper method to define mock.On call
type EventBusController_HasCallback_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 (_c *EventBusController_HasCallback_Call) Return(b bool) *EventBusController_HasCallback_Call
func (*EventBusController_HasCallback_Call) Run ¶
func (_c *EventBusController_HasCallback_Call) Run(run func(topic string)) *EventBusController_HasCallback_Call
func (*EventBusController_HasCallback_Call) RunAndReturn ¶
func (_c *EventBusController_HasCallback_Call) RunAndReturn(run func(topic string) bool) *EventBusController_HasCallback_Call
type EventBusController_WaitAsync_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 (_c *EventBusController_WaitAsync_Call) Return() *EventBusController_WaitAsync_Call
func (*EventBusController_WaitAsync_Call) Run ¶
func (_c *EventBusController_WaitAsync_Call) Run(run func()) *EventBusController_WaitAsync_Call
func (*EventBusController_WaitAsync_Call) RunAndReturn ¶
func (_c *EventBusController_WaitAsync_Call) RunAndReturn(run func()) *EventBusController_WaitAsync_Call
type EventBusPublisher ¶
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 (_m *EventBusPublisher) EXPECT() *EventBusPublisher_Expecter
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 ¶
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 (_c *EventBusPublisher_Publish_Call) Return() *EventBusPublisher_Publish_Call
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 ¶
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 (_m *EventBusSubscriber) EXPECT() *EventBusSubscriber_Expecter
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 ¶
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 (_c *EventBusSubscriber_SubscribeAsync_Call) Return(err error) *EventBusSubscriber_SubscribeAsync_Call
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 ¶
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 (_c *EventBusSubscriber_SubscribeOnceAsync_Call) Return(err error) *EventBusSubscriber_SubscribeOnceAsync_Call
func (*EventBusSubscriber_SubscribeOnceAsync_Call) Run ¶
func (_c *EventBusSubscriber_SubscribeOnceAsync_Call) Run(run func(topic string, fn interface{})) *EventBusSubscriber_SubscribeOnceAsync_Call
func (*EventBusSubscriber_SubscribeOnceAsync_Call) RunAndReturn ¶
func (_c *EventBusSubscriber_SubscribeOnceAsync_Call) RunAndReturn(run func(topic string, fn interface{}) error) *EventBusSubscriber_SubscribeOnceAsync_Call
type EventBusSubscriber_SubscribeOnce_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 (_c *EventBusSubscriber_SubscribeOnce_Call) Return(err error) *EventBusSubscriber_SubscribeOnce_Call
func (*EventBusSubscriber_SubscribeOnce_Call) Run ¶
func (_c *EventBusSubscriber_SubscribeOnce_Call) Run(run func(topic string, fn interface{})) *EventBusSubscriber_SubscribeOnce_Call
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 ¶
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 (_c *EventBusSubscriber_Subscribe_Call) Return(err error) *EventBusSubscriber_Subscribe_Call
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 ¶
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 (_c *EventBusSubscriber_Unsubscribe_Call) Return(err error) *EventBusSubscriber_Unsubscribe_Call
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 ¶
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 (_c *EventBus_HasCallback_Call) Return(b bool) *EventBus_HasCallback_Call
func (*EventBus_HasCallback_Call) Run ¶
func (_c *EventBus_HasCallback_Call) Run(run func(topic string)) *EventBus_HasCallback_Call
func (*EventBus_HasCallback_Call) RunAndReturn ¶
func (_c *EventBus_HasCallback_Call) RunAndReturn(run func(topic string) bool) *EventBus_HasCallback_Call
type EventBus_Publish_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 (_c *EventBus_Publish_Call) Return() *EventBus_Publish_Call
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 ¶
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 (_c *EventBus_SubscribeAsync_Call) Return(err error) *EventBus_SubscribeAsync_Call
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 ¶
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 (_c *EventBus_SubscribeOnceAsync_Call) Return(err error) *EventBus_SubscribeOnceAsync_Call
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 ¶
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 (_c *EventBus_SubscribeOnce_Call) Return(err error) *EventBus_SubscribeOnce_Call
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 ¶
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 (_c *EventBus_Subscribe_Call) Return(err error) *EventBus_Subscribe_Call
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 ¶
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 (_c *EventBus_Unsubscribe_Call) Return(err error) *EventBus_Unsubscribe_Call
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 ¶
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 (_c *EventBus_WaitAsync_Call) Return() *EventBus_WaitAsync_Call
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 ¶
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 ¶
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 (_c *EventEvent_ExecuteAsync_Call[T]) Return() *EventEvent_ExecuteAsync_Call[T]
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 ¶
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 ¶
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 (_c *EventEvent_Register_Call[T]) Return() *EventEvent_Register_Call[T]
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 ¶
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 ¶
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 ¶
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 (_c *GoogleCaptcha_Verify_Call) Return(b bool, err error) *GoogleCaptcha_Verify_Call
func (*GoogleCaptcha_Verify_Call) Run ¶
func (_c *GoogleCaptcha_Verify_Call) Run(run func(ctx context.Context, rq *google.CaptchaRequest)) *GoogleCaptcha_Verify_Call
func (*GoogleCaptcha_Verify_Call) RunAndReturn ¶
func (_c *GoogleCaptcha_Verify_Call) RunAndReturn(run func(ctx context.Context, rq *google.CaptchaRequest) (bool, error)) *GoogleCaptcha_Verify_Call
type GoogleOAuth2 ¶
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 ¶
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 (_c *GoogleOAuth2_GetGoogleUser_Call) Return(userinfo *oauth2.Userinfo, err error) *GoogleOAuth2_GetGoogleUser_Call
func (*GoogleOAuth2_GetGoogleUser_Call) Run ¶
func (_c *GoogleOAuth2_GetGoogleUser_Call) Run(run func(ctx context.Context, token string)) *GoogleOAuth2_GetGoogleUser_Call
func (*GoogleOAuth2_GetGoogleUser_Call) RunAndReturn ¶
func (_c *GoogleOAuth2_GetGoogleUser_Call) RunAndReturn(run func(ctx context.Context, token string) (*oauth2.Userinfo, error)) *GoogleOAuth2_GetGoogleUser_Call
type GoroutineErrGroup ¶
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 (_m *GoroutineErrGroup) EXPECT() *GoroutineErrGroup_Expecter
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 ¶
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 (_c *GoroutineErrGroup_CancelFunc_Call) Return(fn func()) *GoroutineErrGroup_CancelFunc_Call
func (*GoroutineErrGroup_CancelFunc_Call) Run ¶
func (_c *GoroutineErrGroup_CancelFunc_Call) Run(run func()) *GoroutineErrGroup_CancelFunc_Call
func (*GoroutineErrGroup_CancelFunc_Call) RunAndReturn ¶
func (_c *GoroutineErrGroup_CancelFunc_Call) RunAndReturn(run func() func()) *GoroutineErrGroup_CancelFunc_Call
type GoroutineErrGroup_Cancel_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 (_c *GoroutineErrGroup_Cancel_Call) Return() *GoroutineErrGroup_Cancel_Call
func (*GoroutineErrGroup_Cancel_Call) Run ¶
func (_c *GoroutineErrGroup_Cancel_Call) Run(run func()) *GoroutineErrGroup_Cancel_Call
func (*GoroutineErrGroup_Cancel_Call) RunAndReturn ¶
func (_c *GoroutineErrGroup_Cancel_Call) RunAndReturn(run func()) *GoroutineErrGroup_Cancel_Call
type GoroutineErrGroup_Cmp_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 (_c *GoroutineErrGroup_Cmp_Call) Return(errGroup goroutine.ErrGroup) *GoroutineErrGroup_Cmp_Call
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 ¶
func (_e *GoroutineErrGroup_Expecter) Cancel() *GoroutineErrGroup_Cancel_Call
Cancel is a helper method to define mock.On call
func (*GoroutineErrGroup_Expecter) CancelFunc ¶
func (_e *GoroutineErrGroup_Expecter) CancelFunc() *GoroutineErrGroup_CancelFunc_Call
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 ¶
func (_e *GoroutineErrGroup_Expecter) Go(f interface{}) *GoroutineErrGroup_Go_Call
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 ¶
func (_e *GoroutineErrGroup_Expecter) Wait() *GoroutineErrGroup_Wait_Call
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 ¶
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 (_c *GoroutineErrGroup_Go_Call) Return() *GoroutineErrGroup_Go_Call
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 ¶
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 (_c *GoroutineErrGroup_Mth_Call) Return(errGroup goroutine.ErrGroup) *GoroutineErrGroup_Mth_Call
func (*GoroutineErrGroup_Mth_Call) Run ¶
func (_c *GoroutineErrGroup_Mth_Call) Run(run func(method string)) *GoroutineErrGroup_Mth_Call
func (*GoroutineErrGroup_Mth_Call) RunAndReturn ¶
func (_c *GoroutineErrGroup_Mth_Call) RunAndReturn(run func(method string) goroutine.ErrGroup) *GoroutineErrGroup_Mth_Call
type GoroutineErrGroup_Wait_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 (_c *GoroutineErrGroup_Wait_Call) Return(err error) *GoroutineErrGroup_Wait_Call
func (*GoroutineErrGroup_Wait_Call) Run ¶
func (_c *GoroutineErrGroup_Wait_Call) Run(run func()) *GoroutineErrGroup_Wait_Call
func (*GoroutineErrGroup_Wait_Call) RunAndReturn ¶
func (_c *GoroutineErrGroup_Wait_Call) RunAndReturn(run func() error) *GoroutineErrGroup_Wait_Call
type GoroutineErrGroup_WithLoggerFn_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 (_c *GoroutineErrGroup_WithLoggerFn_Call) Return(errGroup goroutine.ErrGroup) *GoroutineErrGroup_WithLoggerFn_Call
func (*GoroutineErrGroup_WithLoggerFn_Call) Run ¶
func (_c *GoroutineErrGroup_WithLoggerFn_Call) Run(run func(loggerFn jet.CLoggerFunc)) *GoroutineErrGroup_WithLoggerFn_Call
func (*GoroutineErrGroup_WithLoggerFn_Call) RunAndReturn ¶
func (_c *GoroutineErrGroup_WithLoggerFn_Call) RunAndReturn(run func(loggerFn jet.CLoggerFunc) goroutine.ErrGroup) *GoroutineErrGroup_WithLoggerFn_Call
type GoroutineErrGroup_WithLogger_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 (_c *GoroutineErrGroup_WithLogger_Call) Return(errGroup goroutine.ErrGroup) *GoroutineErrGroup_WithLogger_Call
func (*GoroutineErrGroup_WithLogger_Call) Run ¶
func (_c *GoroutineErrGroup_WithLogger_Call) Run(run func(logger jet.CLogger)) *GoroutineErrGroup_WithLogger_Call
func (*GoroutineErrGroup_WithLogger_Call) RunAndReturn ¶
func (_c *GoroutineErrGroup_WithLogger_Call) RunAndReturn(run func(logger jet.CLogger) goroutine.ErrGroup) *GoroutineErrGroup_WithLogger_Call
type GoroutineGoroutine ¶
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 (_m *GoroutineGoroutine) EXPECT() *GoroutineGoroutine_Expecter
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 ¶
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 (_c *GoroutineGoroutine_Cmp_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_Cmp_Call
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 ¶
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 (_c *GoroutineGoroutine_Go_Call) Return() *GoroutineGoroutine_Go_Call
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 ¶
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 (_c *GoroutineGoroutine_Mth_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_Mth_Call
func (*GoroutineGoroutine_Mth_Call) Run ¶
func (_c *GoroutineGoroutine_Mth_Call) Run(run func(method string)) *GoroutineGoroutine_Mth_Call
func (*GoroutineGoroutine_Mth_Call) RunAndReturn ¶
func (_c *GoroutineGoroutine_Mth_Call) RunAndReturn(run func(method string) goroutine.Goroutine) *GoroutineGoroutine_Mth_Call
type GoroutineGoroutine_WithLoggerFn_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 (_c *GoroutineGoroutine_WithLoggerFn_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_WithLoggerFn_Call
func (*GoroutineGoroutine_WithLoggerFn_Call) Run ¶
func (_c *GoroutineGoroutine_WithLoggerFn_Call) Run(run func(loggerFn jet.CLoggerFunc)) *GoroutineGoroutine_WithLoggerFn_Call
func (*GoroutineGoroutine_WithLoggerFn_Call) RunAndReturn ¶
func (_c *GoroutineGoroutine_WithLoggerFn_Call) RunAndReturn(run func(loggerFn jet.CLoggerFunc) goroutine.Goroutine) *GoroutineGoroutine_WithLoggerFn_Call
type GoroutineGoroutine_WithLogger_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 (_c *GoroutineGoroutine_WithLogger_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_WithLogger_Call
func (*GoroutineGoroutine_WithLogger_Call) Run ¶
func (_c *GoroutineGoroutine_WithLogger_Call) Run(run func(logger jet.CLogger)) *GoroutineGoroutine_WithLogger_Call
func (*GoroutineGoroutine_WithLogger_Call) RunAndReturn ¶
func (_c *GoroutineGoroutine_WithLogger_Call) RunAndReturn(run func(logger jet.CLogger) goroutine.Goroutine) *GoroutineGoroutine_WithLogger_Call
type GoroutineGoroutine_WithRetryDelay_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 (_c *GoroutineGoroutine_WithRetryDelay_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_WithRetryDelay_Call
func (*GoroutineGoroutine_WithRetryDelay_Call) Run ¶
func (_c *GoroutineGoroutine_WithRetryDelay_Call) Run(run func(delay time.Duration)) *GoroutineGoroutine_WithRetryDelay_Call
func (*GoroutineGoroutine_WithRetryDelay_Call) RunAndReturn ¶
func (_c *GoroutineGoroutine_WithRetryDelay_Call) RunAndReturn(run func(delay time.Duration) goroutine.Goroutine) *GoroutineGoroutine_WithRetryDelay_Call
type GoroutineGoroutine_WithRetry_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 (_c *GoroutineGoroutine_WithRetry_Call) Return(goroutine1 goroutine.Goroutine) *GoroutineGoroutine_WithRetry_Call
func (*GoroutineGoroutine_WithRetry_Call) Run ¶
func (_c *GoroutineGoroutine_WithRetry_Call) Run(run func(retry int)) *GoroutineGoroutine_WithRetry_Call
func (*GoroutineGoroutine_WithRetry_Call) RunAndReturn ¶
func (_c *GoroutineGoroutine_WithRetry_Call) RunAndReturn(run func(retry int) goroutine.Goroutine) *GoroutineGoroutine_WithRetry_Call
type GrpcTestServiceClient ¶
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 (_m *GrpcTestServiceClient) EXPECT() *GrpcTestServiceClient_Expecter
func (*GrpcTestServiceClient) WithError ¶
func (_mock *GrpcTestServiceClient) WithError(ctx context.Context, in *grpc.WithErrorRequest, opts ...grpc0.CallOption) (*grpc.WithErrorResponse, error)
WithError provides a mock function for the type GrpcTestServiceClient
func (*GrpcTestServiceClient) WithPanic ¶
func (_mock *GrpcTestServiceClient) WithPanic(ctx context.Context, in *grpc.WithPanicRequest, opts ...grpc0.CallOption) (*grpc.WithPanicResponse, error)
WithPanic provides a mock function for the type GrpcTestServiceClient
type GrpcTestServiceClient_Do_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 (_c *GrpcTestServiceClient_Do_Call) Return(empty *grpc.Empty, err error) *GrpcTestServiceClient_Do_Call
func (*GrpcTestServiceClient_Do_Call) Run ¶
func (_c *GrpcTestServiceClient_Do_Call) Run(run func(ctx context.Context, in *grpc.Empty, opts ...grpc0.CallOption)) *GrpcTestServiceClient_Do_Call
func (*GrpcTestServiceClient_Do_Call) RunAndReturn ¶
func (_c *GrpcTestServiceClient_Do_Call) RunAndReturn(run func(ctx context.Context, in *grpc.Empty, opts ...grpc0.CallOption) (*grpc.Empty, error)) *GrpcTestServiceClient_Do_Call
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 ¶
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 (_c *GrpcTestServiceClient_WithError_Call) Return(withErrorResponse *grpc.WithErrorResponse, err error) *GrpcTestServiceClient_WithError_Call
func (*GrpcTestServiceClient_WithError_Call) Run ¶
func (_c *GrpcTestServiceClient_WithError_Call) Run(run func(ctx context.Context, in *grpc.WithErrorRequest, opts ...grpc0.CallOption)) *GrpcTestServiceClient_WithError_Call
func (*GrpcTestServiceClient_WithError_Call) RunAndReturn ¶
func (_c *GrpcTestServiceClient_WithError_Call) RunAndReturn(run func(ctx context.Context, in *grpc.WithErrorRequest, opts ...grpc0.CallOption) (*grpc.WithErrorResponse, error)) *GrpcTestServiceClient_WithError_Call
type GrpcTestServiceClient_WithPanic_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 (_c *GrpcTestServiceClient_WithPanic_Call) Return(withPanicResponse *grpc.WithPanicResponse, err error) *GrpcTestServiceClient_WithPanic_Call
func (*GrpcTestServiceClient_WithPanic_Call) Run ¶
func (_c *GrpcTestServiceClient_WithPanic_Call) Run(run func(ctx context.Context, in *grpc.WithPanicRequest, opts ...grpc0.CallOption)) *GrpcTestServiceClient_WithPanic_Call
func (*GrpcTestServiceClient_WithPanic_Call) RunAndReturn ¶
func (_c *GrpcTestServiceClient_WithPanic_Call) RunAndReturn(run func(ctx context.Context, in *grpc.WithPanicRequest, opts ...grpc0.CallOption) (*grpc.WithPanicResponse, error)) *GrpcTestServiceClient_WithPanic_Call
type GrpcTestServiceServer ¶
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 (_m *GrpcTestServiceServer) EXPECT() *GrpcTestServiceServer_Expecter
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 ¶
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 (_c *GrpcTestServiceServer_Do_Call) Return(empty1 *grpc.Empty, err error) *GrpcTestServiceServer_Do_Call
func (*GrpcTestServiceServer_Do_Call) Run ¶
func (_c *GrpcTestServiceServer_Do_Call) Run(run func(context1 context.Context, empty *grpc.Empty)) *GrpcTestServiceServer_Do_Call
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 ¶
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 (_c *GrpcTestServiceServer_WithError_Call) Return(withErrorResponse *grpc.WithErrorResponse, err error) *GrpcTestServiceServer_WithError_Call
func (*GrpcTestServiceServer_WithError_Call) Run ¶
func (_c *GrpcTestServiceServer_WithError_Call) Run(run func(context1 context.Context, withErrorRequest *grpc.WithErrorRequest)) *GrpcTestServiceServer_WithError_Call
func (*GrpcTestServiceServer_WithError_Call) RunAndReturn ¶
func (_c *GrpcTestServiceServer_WithError_Call) RunAndReturn(run func(context1 context.Context, withErrorRequest *grpc.WithErrorRequest) (*grpc.WithErrorResponse, error)) *GrpcTestServiceServer_WithError_Call
type GrpcTestServiceServer_WithPanic_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 (_c *GrpcTestServiceServer_WithPanic_Call) Return(withPanicResponse *grpc.WithPanicResponse, err error) *GrpcTestServiceServer_WithPanic_Call
func (*GrpcTestServiceServer_WithPanic_Call) Run ¶
func (_c *GrpcTestServiceServer_WithPanic_Call) Run(run func(context1 context.Context, withPanicRequest *grpc.WithPanicRequest)) *GrpcTestServiceServer_WithPanic_Call
func (*GrpcTestServiceServer_WithPanic_Call) RunAndReturn ¶
func (_c *GrpcTestServiceServer_WithPanic_Call) RunAndReturn(run func(context1 context.Context, withPanicRequest *grpc.WithPanicRequest) (*grpc.WithPanicResponse, error)) *GrpcTestServiceServer_WithPanic_Call
type GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call ¶
GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedTestServiceServer'
func (*GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn ¶
func (_c *GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn(run func()) *GrpcTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
type GrpcUnsafeTestServiceServer ¶
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 ¶
func (_m *GrpcUnsafeTestServiceServer) EXPECT() *GrpcUnsafeTestServiceServer_Expecter
type GrpcUnsafeTestServiceServer_Expecter ¶
type GrpcUnsafeTestServiceServer_Expecter struct {
// contains filtered or unexported fields
}
type GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call ¶
GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedTestServiceServer'
func (*GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn ¶
func (_c *GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call) RunAndReturn(run func()) *GrpcUnsafeTestServiceServer_mustEmbedUnimplementedTestServiceServer_Call
type HttpController ¶
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 (_m *HttpController) EXPECT() *HttpController_Expecter
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 ¶
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 (_c *HttpController_HasRoles_Call) Return(fn func(ctx context.Context, r *http.Request) (bool, error)) *HttpController_HasRoles_Call
func (*HttpController_HasRoles_Call) Run ¶
func (_c *HttpController_HasRoles_Call) Run(run func(roles ...string)) *HttpController_HasRoles_Call
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 ¶
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 (_c *HttpController_MyUser_Call) Return(b bool, err error) *HttpController_MyUser_Call
func (*HttpController_MyUser_Call) Run ¶
func (_c *HttpController_MyUser_Call) Run(run func(ctx context.Context, r *http.Request)) *HttpController_MyUser_Call
func (*HttpController_MyUser_Call) RunAndReturn ¶
func (_c *HttpController_MyUser_Call) RunAndReturn(run func(ctx context.Context, r *http.Request) (bool, error)) *HttpController_MyUser_Call
type HttpHttpClient ¶
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) EXPECT ¶
func (_m *HttpHttpClient) EXPECT() *HttpHttpClient_Expecter
type HttpHttpClient_Do_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 ¶
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 (_m *HttpMetricsProvider) EXPECT() *HttpMetricsProvider_Expecter
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 ¶
func (_e *HttpMetricsProvider_Expecter) GetCollector() *HttpMetricsProvider_GetCollector_Call
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 ¶
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 (_c *HttpMetricsProvider_GetCollector_Call) Return(metricsCollector monitoring.MetricsCollector) *HttpMetricsProvider_GetCollector_Call
func (*HttpMetricsProvider_GetCollector_Call) Run ¶
func (_c *HttpMetricsProvider_GetCollector_Call) Run(run func()) *HttpMetricsProvider_GetCollector_Call
func (*HttpMetricsProvider_GetCollector_Call) RunAndReturn ¶
func (_c *HttpMetricsProvider_GetCollector_Call) RunAndReturn(run func() monitoring.MetricsCollector) *HttpMetricsProvider_GetCollector_Call
type HttpMetricsProvider_RequestErrorInc_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 (_c *HttpMetricsProvider_RequestErrorInc_Call) Return() *HttpMetricsProvider_RequestErrorInc_Call
func (*HttpMetricsProvider_RequestErrorInc_Call) Run ¶
func (_c *HttpMetricsProvider_RequestErrorInc_Call) Run(run func(ctx context.Context, metric *http0.RequestError)) *HttpMetricsProvider_RequestErrorInc_Call
func (*HttpMetricsProvider_RequestErrorInc_Call) RunAndReturn ¶
func (_c *HttpMetricsProvider_RequestErrorInc_Call) RunAndReturn(run func(ctx context.Context, metric *http0.RequestError)) *HttpMetricsProvider_RequestErrorInc_Call
type HttpMetricsProvider_RequestLatencySet_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 (_c *HttpMetricsProvider_RequestLatencySet_Call) Return() *HttpMetricsProvider_RequestLatencySet_Call
func (*HttpMetricsProvider_RequestLatencySet_Call) Run ¶
func (_c *HttpMetricsProvider_RequestLatencySet_Call) Run(run func(ctx context.Context, metric *http0.RequestLatency)) *HttpMetricsProvider_RequestLatencySet_Call
func (*HttpMetricsProvider_RequestLatencySet_Call) RunAndReturn ¶
func (_c *HttpMetricsProvider_RequestLatencySet_Call) RunAndReturn(run func(ctx context.Context, metric *http0.RequestLatency)) *HttpMetricsProvider_RequestLatencySet_Call
type HttpResourcePolicy ¶
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 (_m *HttpResourcePolicy) EXPECT() *HttpResourcePolicy_Expecter
func (*HttpResourcePolicy) Resolve ¶
func (_mock *HttpResourcePolicy) Resolve(ctx context.Context, r *http.Request) (*http0.AuthorizationResource, error)
Resolve provides a mock function for the type HttpResourcePolicy
type HttpResourcePolicyManager ¶
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 (_m *HttpResourcePolicyManager) EXPECT() *HttpResourcePolicyManager_Expecter
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 ¶
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 (_c *HttpResourcePolicyManager_GetRequestedResources_Call) Return(authorizationResources []*http0.AuthorizationResource, err error) *HttpResourcePolicyManager_GetRequestedResources_Call
func (*HttpResourcePolicyManager_GetRequestedResources_Call) Run ¶
func (_c *HttpResourcePolicyManager_GetRequestedResources_Call) Run(run func(ctx context.Context, routeId string, r *http.Request)) *HttpResourcePolicyManager_GetRequestedResources_Call
func (*HttpResourcePolicyManager_GetRequestedResources_Call) RunAndReturn ¶
func (_c *HttpResourcePolicyManager_GetRequestedResources_Call) RunAndReturn(run func(ctx context.Context, routeId string, r *http.Request) ([]*http0.AuthorizationResource, error)) *HttpResourcePolicyManager_GetRequestedResources_Call
type HttpResourcePolicyManager_RegisterResourceMapping_Call ¶
HttpResourcePolicyManager_RegisterResourceMapping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterResourceMapping'
func (*HttpResourcePolicyManager_RegisterResourceMapping_Call) Run ¶
func (_c *HttpResourcePolicyManager_RegisterResourceMapping_Call) Run(run func(routeId string, policies ...http0.ResourcePolicy)) *HttpResourcePolicyManager_RegisterResourceMapping_Call
func (*HttpResourcePolicyManager_RegisterResourceMapping_Call) RunAndReturn ¶
func (_c *HttpResourcePolicyManager_RegisterResourceMapping_Call) RunAndReturn(run func(routeId string, policies ...http0.ResourcePolicy)) *HttpResourcePolicyManager_RegisterResourceMapping_Call
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 ¶
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 (_c *HttpResourcePolicy_Resolve_Call) Return(authorizationResource *http0.AuthorizationResource, err error) *HttpResourcePolicy_Resolve_Call
func (*HttpResourcePolicy_Resolve_Call) Run ¶
func (_c *HttpResourcePolicy_Resolve_Call) Run(run func(ctx context.Context, r *http.Request)) *HttpResourcePolicy_Resolve_Call
func (*HttpResourcePolicy_Resolve_Call) RunAndReturn ¶
func (_c *HttpResourcePolicy_Resolve_Call) RunAndReturn(run func(ctx context.Context, r *http.Request) (*http0.AuthorizationResource, error)) *HttpResourcePolicy_Resolve_Call
type HttpRouteSetter ¶
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 (_m *HttpRouteSetter) EXPECT() *HttpRouteSetter_Expecter
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 ¶
func (_e *HttpRouteSetter_Expecter) Set() *HttpRouteSetter_Set_Call
Set is a helper method to define mock.On call
type HttpRouteSetter_Set_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 (_c *HttpRouteSetter_Set_Call) Return(err error) *HttpRouteSetter_Set_Call
func (*HttpRouteSetter_Set_Call) Run ¶
func (_c *HttpRouteSetter_Set_Call) Run(run func()) *HttpRouteSetter_Set_Call
func (*HttpRouteSetter_Set_Call) RunAndReturn ¶
func (_c *HttpRouteSetter_Set_Call) RunAndReturn(run func() error) *HttpRouteSetter_Set_Call
type HttpWsUpgrader ¶
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 (_m *HttpWsUpgrader) EXPECT() *HttpWsUpgrader_Expecter
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 ¶
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 (_c *HttpWsUpgrader_Set_Call) Return() *HttpWsUpgrader_Set_Call
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
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]
type JetAdapterListener ¶ added in v0.2.0
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
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 (_c *JetAdapterListener_Close_Call[T]) Return(err error) *JetAdapterListener_Close_Call[T]
func (*JetAdapterListener_Close_Call[T]) Run ¶ added in v0.2.0
func (_c *JetAdapterListener_Close_Call[T]) Run(run func(ctx context.Context)) *JetAdapterListener_Close_Call[T]
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
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 (_c *JetAdapterListener_Init_Call[T]) Return(err error) *JetAdapterListener_Init_Call[T]
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
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 (_c *JetAdapterListener_ListenAsync_Call[T]) Return(err error) *JetAdapterListener_ListenAsync_Call[T]
func (*JetAdapterListener_ListenAsync_Call[T]) Run ¶ added in v0.2.0
func (_c *JetAdapterListener_ListenAsync_Call[T]) Run(run func(ctx context.Context)) *JetAdapterListener_ListenAsync_Call[T]
func (*JetAdapterListener_ListenAsync_Call[T]) RunAndReturn ¶ added in v0.2.0
func (_c *JetAdapterListener_ListenAsync_Call[T]) RunAndReturn(run func(ctx context.Context) error) *JetAdapterListener_ListenAsync_Call[T]
type JetAdapter_Close_Call ¶ added in v0.2.0
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
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
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
func (_mock *JetAppErrBuilder) C(ctx context.Context) jet.AppErrBuilder
C provides a mock function for the type JetAppErrBuilder
func (*JetAppErrBuilder) EXPECT ¶ added in v0.2.0
func (_m *JetAppErrBuilder) EXPECT() *JetAppErrBuilder_Expecter
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
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 (_c *JetAppErrBuilder_Business_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_Business_Call
func (*JetAppErrBuilder_Business_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Business_Call) Run(run func()) *JetAppErrBuilder_Business_Call
func (*JetAppErrBuilder_Business_Call) RunAndReturn ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Business_Call) RunAndReturn(run func() jet.AppErrBuilder) *JetAppErrBuilder_Business_Call
type JetAppErrBuilder_C_Call ¶ added in v0.2.0
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 (_c *JetAppErrBuilder_C_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_C_Call
func (*JetAppErrBuilder_C_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_C_Call) Run(run func(ctx context.Context)) *JetAppErrBuilder_C_Call
func (*JetAppErrBuilder_C_Call) RunAndReturn ¶ added in v0.2.0
func (_c *JetAppErrBuilder_C_Call) RunAndReturn(run func(ctx context.Context) jet.AppErrBuilder) *JetAppErrBuilder_C_Call
type JetAppErrBuilder_Err_Call ¶ added in v0.2.0
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 (_c *JetAppErrBuilder_Err_Call) Return(err error) *JetAppErrBuilder_Err_Call
func (*JetAppErrBuilder_Err_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Err_Call) Run(run func()) *JetAppErrBuilder_Err_Call
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
func (_e *JetAppErrBuilder_Expecter) Business() *JetAppErrBuilder_Business_Call
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
func (_e *JetAppErrBuilder_Expecter) Err() *JetAppErrBuilder_Err_Call
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
func (_e *JetAppErrBuilder_Expecter) Panic() *JetAppErrBuilder_Panic_Call
Panic is a helper method to define mock.On call
func (*JetAppErrBuilder_Expecter) System ¶ added in v0.2.0
func (_e *JetAppErrBuilder_Expecter) System() *JetAppErrBuilder_System_Call
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
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 (_c *JetAppErrBuilder_F_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_F_Call
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
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 (_c *JetAppErrBuilder_GrpcSt_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_GrpcSt_Call
func (*JetAppErrBuilder_GrpcSt_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_GrpcSt_Call) Run(run func(status uint32)) *JetAppErrBuilder_GrpcSt_Call
func (*JetAppErrBuilder_GrpcSt_Call) RunAndReturn ¶ added in v0.2.0
func (_c *JetAppErrBuilder_GrpcSt_Call) RunAndReturn(run func(status uint32) jet.AppErrBuilder) *JetAppErrBuilder_GrpcSt_Call
type JetAppErrBuilder_HttpSt_Call ¶ added in v0.2.0
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 (_c *JetAppErrBuilder_HttpSt_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_HttpSt_Call
func (*JetAppErrBuilder_HttpSt_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_HttpSt_Call) Run(run func(status uint32)) *JetAppErrBuilder_HttpSt_Call
func (*JetAppErrBuilder_HttpSt_Call) RunAndReturn ¶ added in v0.2.0
func (_c *JetAppErrBuilder_HttpSt_Call) RunAndReturn(run func(status uint32) jet.AppErrBuilder) *JetAppErrBuilder_HttpSt_Call
type JetAppErrBuilder_Panic_Call ¶ added in v0.2.0
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 (_c *JetAppErrBuilder_Panic_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_Panic_Call
func (*JetAppErrBuilder_Panic_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Panic_Call) Run(run func()) *JetAppErrBuilder_Panic_Call
func (*JetAppErrBuilder_Panic_Call) RunAndReturn ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Panic_Call) RunAndReturn(run func() jet.AppErrBuilder) *JetAppErrBuilder_Panic_Call
type JetAppErrBuilder_System_Call ¶ added in v0.2.0
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 (_c *JetAppErrBuilder_System_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_System_Call
func (*JetAppErrBuilder_System_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_System_Call) Run(run func()) *JetAppErrBuilder_System_Call
func (*JetAppErrBuilder_System_Call) RunAndReturn ¶ added in v0.2.0
func (_c *JetAppErrBuilder_System_Call) RunAndReturn(run func() jet.AppErrBuilder) *JetAppErrBuilder_System_Call
type JetAppErrBuilder_Type_Call ¶ added in v0.2.0
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 (_c *JetAppErrBuilder_Type_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_Type_Call
func (*JetAppErrBuilder_Type_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Type_Call) Run(run func(t string)) *JetAppErrBuilder_Type_Call
func (*JetAppErrBuilder_Type_Call) RunAndReturn ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Type_Call) RunAndReturn(run func(t string) jet.AppErrBuilder) *JetAppErrBuilder_Type_Call
type JetAppErrBuilder_Wrap_Call ¶ added in v0.2.0
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 (_c *JetAppErrBuilder_Wrap_Call) Return(appErrBuilder jet.AppErrBuilder) *JetAppErrBuilder_Wrap_Call
func (*JetAppErrBuilder_Wrap_Call) Run ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Wrap_Call) Run(run func(cause error)) *JetAppErrBuilder_Wrap_Call
func (*JetAppErrBuilder_Wrap_Call) RunAndReturn ¶ added in v0.2.0
func (_c *JetAppErrBuilder_Wrap_Call) RunAndReturn(run func(cause error) jet.AppErrBuilder) *JetAppErrBuilder_Wrap_Call
type JetCLogger ¶ added in v0.2.0
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
type JetCLogger_C_Call ¶ added in v0.2.0
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
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 (_c *JetCLogger_Clone_Call) Return(cLogger jet.CLogger) *JetCLogger_Clone_Call
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
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
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 (_c *JetCLogger_DbgF_Call) Return(cLogger jet.CLogger) *JetCLogger_DbgF_Call
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
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
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
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 (_c *JetCLogger_ErrF_Call) Return(cLogger jet.CLogger) *JetCLogger_ErrF_Call
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
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
func (_e *JetCLogger_Expecter) Clone() *JetCLogger_Clone_Call
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
func (_e *JetCLogger_Expecter) St() *JetCLogger_St_Call
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
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
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 (_c *JetCLogger_FatalF_Call) Return(cLogger jet.CLogger) *JetCLogger_FatalF_Call
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
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 (_c *JetCLogger_Fatal_Call) Return(cLogger jet.CLogger) *JetCLogger_Fatal_Call
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
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 (_c *JetCLogger_InfF_Call) Return(cLogger jet.CLogger) *JetCLogger_InfF_Call
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
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
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
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 (_c *JetCLogger_Node_Call) Return(cLogger jet.CLogger) *JetCLogger_Node_Call
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
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
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 (_c *JetCLogger_PrintfErr_Call) Return() *JetCLogger_PrintfErr_Call
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
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 (_c *JetCLogger_Printf_Call) Return() *JetCLogger_Printf_Call
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
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
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
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 (_c *JetCLogger_TrcF_Call) Return(cLogger jet.CLogger) *JetCLogger_TrcF_Call
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
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 (_c *JetCLogger_TrcObj_Call) Return(cLogger jet.CLogger) *JetCLogger_TrcObj_Call
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
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
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 (_c *JetCLogger_WarnF_Call) Return(cLogger jet.CLogger) *JetCLogger_WarnF_Call
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
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 (_c *JetCLogger_Warn_Call) Return(cLogger jet.CLogger) *JetCLogger_Warn_Call
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
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 (_c *JetCLogger_Write_Call) Return(n int, err error) *JetCLogger_Write_Call
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
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
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 (_c *JetErrorHook_Error_Call) Return() *JetErrorHook_Error_Call
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
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
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
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
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
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 ¶
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
type KafkaBroker_AddProducer_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 (_c *KafkaBroker_AddProducer_Call) Return(producer kafka.Producer, err error) *KafkaBroker_AddProducer_Call
func (*KafkaBroker_AddProducer_Call) Run ¶
func (_c *KafkaBroker_AddProducer_Call) Run(run func(ctx context.Context, topic *kafka.TopicConfig, cfg *kafka.ProducerConfig)) *KafkaBroker_AddProducer_Call
func (*KafkaBroker_AddProducer_Call) RunAndReturn ¶
func (_c *KafkaBroker_AddProducer_Call) RunAndReturn(run func(ctx context.Context, topic *kafka.TopicConfig, cfg *kafka.ProducerConfig) (kafka.Producer, error)) *KafkaBroker_AddProducer_Call
type KafkaBroker_AddSubscriber_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 (_c *KafkaBroker_AddSubscriber_Call) Return(err error) *KafkaBroker_AddSubscriber_Call
func (*KafkaBroker_AddSubscriber_Call) Run ¶
func (_c *KafkaBroker_AddSubscriber_Call) Run(run func(ctx context.Context, topic *kafka.TopicConfig, cfg *kafka.SubscriberConfig, handlers ...kafka.HandlerFn)) *KafkaBroker_AddSubscriber_Call
func (*KafkaBroker_AddSubscriber_Call) RunAndReturn ¶
func (_c *KafkaBroker_AddSubscriber_Call) RunAndReturn(run func(ctx context.Context, topic *kafka.TopicConfig, cfg *kafka.SubscriberConfig, handlers ...kafka.HandlerFn) error) *KafkaBroker_AddSubscriber_Call
type KafkaBroker_Close_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 (_c *KafkaBroker_Close_Call) Return() *KafkaBroker_Close_Call
func (*KafkaBroker_Close_Call) Run ¶
func (_c *KafkaBroker_Close_Call) Run(run func(ctx context.Context)) *KafkaBroker_Close_Call
func (*KafkaBroker_Close_Call) RunAndReturn ¶
func (_c *KafkaBroker_Close_Call) RunAndReturn(run func(ctx context.Context)) *KafkaBroker_Close_Call
type KafkaBroker_DeclareTopics_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 (_c *KafkaBroker_DeclareTopics_Call) Return(err error) *KafkaBroker_DeclareTopics_Call
func (*KafkaBroker_DeclareTopics_Call) Run ¶
func (_c *KafkaBroker_DeclareTopics_Call) Run(run func(ctx context.Context)) *KafkaBroker_DeclareTopics_Call
func (*KafkaBroker_DeclareTopics_Call) RunAndReturn ¶
func (_c *KafkaBroker_DeclareTopics_Call) RunAndReturn(run func(ctx context.Context) error) *KafkaBroker_DeclareTopics_Call
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 ¶
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 (_c *KafkaBroker_Init_Call) Return(err error) *KafkaBroker_Init_Call
func (*KafkaBroker_Init_Call) Run ¶
func (_c *KafkaBroker_Init_Call) Run(run func(ctx context.Context, cfg *kafka.BrokerConfig)) *KafkaBroker_Init_Call
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 ¶
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 (_c *KafkaBroker_Start_Call) Return(err error) *KafkaBroker_Start_Call
func (*KafkaBroker_Start_Call) Run ¶
func (_c *KafkaBroker_Start_Call) Run(run func(ctx context.Context)) *KafkaBroker_Start_Call
func (*KafkaBroker_Start_Call) RunAndReturn ¶
func (_c *KafkaBroker_Start_Call) RunAndReturn(run func(ctx context.Context) error) *KafkaBroker_Start_Call
type KafkaProducer ¶
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
type KafkaProducerConfigBuilder ¶
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 ¶
func (_mock *KafkaProducerConfigBuilder) Async(v bool) kafka.ProducerConfigBuilder
Async provides a mock function for the type KafkaProducerConfigBuilder
func (*KafkaProducerConfigBuilder) BatchSize ¶
func (_mock *KafkaProducerConfigBuilder) BatchSize(size int) kafka.ProducerConfigBuilder
BatchSize provides a mock function for the type KafkaProducerConfigBuilder
func (*KafkaProducerConfigBuilder) BatchTimeout ¶
func (_mock *KafkaProducerConfigBuilder) BatchTimeout(to time.Duration) kafka.ProducerConfigBuilder
BatchTimeout provides a mock function for the type KafkaProducerConfigBuilder
func (*KafkaProducerConfigBuilder) Build ¶
func (_mock *KafkaProducerConfigBuilder) Build() *kafka.ProducerConfig
Build provides a mock function for the type KafkaProducerConfigBuilder
func (*KafkaProducerConfigBuilder) EXPECT ¶
func (_m *KafkaProducerConfigBuilder) EXPECT() *KafkaProducerConfigBuilder_Expecter
func (*KafkaProducerConfigBuilder) Retry ¶
func (_mock *KafkaProducerConfigBuilder) Retry(time1 int, timeout time.Duration) kafka.ProducerConfigBuilder
Retry provides a mock function for the type KafkaProducerConfigBuilder
type KafkaProducerConfigBuilder_Async_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 (_c *KafkaProducerConfigBuilder_Async_Call) Return(producerConfigBuilder kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_Async_Call
func (*KafkaProducerConfigBuilder_Async_Call) Run ¶
func (_c *KafkaProducerConfigBuilder_Async_Call) Run(run func(v bool)) *KafkaProducerConfigBuilder_Async_Call
func (*KafkaProducerConfigBuilder_Async_Call) RunAndReturn ¶
func (_c *KafkaProducerConfigBuilder_Async_Call) RunAndReturn(run func(v bool) kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_Async_Call
type KafkaProducerConfigBuilder_BatchSize_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 (_c *KafkaProducerConfigBuilder_BatchSize_Call) Return(producerConfigBuilder kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_BatchSize_Call
func (*KafkaProducerConfigBuilder_BatchSize_Call) Run ¶
func (_c *KafkaProducerConfigBuilder_BatchSize_Call) Run(run func(size int)) *KafkaProducerConfigBuilder_BatchSize_Call
func (*KafkaProducerConfigBuilder_BatchSize_Call) RunAndReturn ¶
func (_c *KafkaProducerConfigBuilder_BatchSize_Call) RunAndReturn(run func(size int) kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_BatchSize_Call
type KafkaProducerConfigBuilder_BatchTimeout_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 (_c *KafkaProducerConfigBuilder_BatchTimeout_Call) Return(producerConfigBuilder kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_BatchTimeout_Call
func (*KafkaProducerConfigBuilder_BatchTimeout_Call) Run ¶
func (_c *KafkaProducerConfigBuilder_BatchTimeout_Call) Run(run func(to time.Duration)) *KafkaProducerConfigBuilder_BatchTimeout_Call
func (*KafkaProducerConfigBuilder_BatchTimeout_Call) RunAndReturn ¶
func (_c *KafkaProducerConfigBuilder_BatchTimeout_Call) RunAndReturn(run func(to time.Duration) kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_BatchTimeout_Call
type KafkaProducerConfigBuilder_Build_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 (_c *KafkaProducerConfigBuilder_Build_Call) Return(producerConfig *kafka.ProducerConfig) *KafkaProducerConfigBuilder_Build_Call
func (*KafkaProducerConfigBuilder_Build_Call) Run ¶
func (_c *KafkaProducerConfigBuilder_Build_Call) Run(run func()) *KafkaProducerConfigBuilder_Build_Call
func (*KafkaProducerConfigBuilder_Build_Call) RunAndReturn ¶
func (_c *KafkaProducerConfigBuilder_Build_Call) RunAndReturn(run func() *kafka.ProducerConfig) *KafkaProducerConfigBuilder_Build_Call
type KafkaProducerConfigBuilder_Expecter ¶
type KafkaProducerConfigBuilder_Expecter struct {
// contains filtered or unexported fields
}
func (*KafkaProducerConfigBuilder_Expecter) Async ¶
func (_e *KafkaProducerConfigBuilder_Expecter) Async(v interface{}) *KafkaProducerConfigBuilder_Async_Call
Async is a helper method to define mock.On call
- v bool
func (*KafkaProducerConfigBuilder_Expecter) BatchSize ¶
func (_e *KafkaProducerConfigBuilder_Expecter) BatchSize(size interface{}) *KafkaProducerConfigBuilder_BatchSize_Call
BatchSize is a helper method to define mock.On call
- size int
func (*KafkaProducerConfigBuilder_Expecter) BatchTimeout ¶
func (_e *KafkaProducerConfigBuilder_Expecter) BatchTimeout(to interface{}) *KafkaProducerConfigBuilder_BatchTimeout_Call
BatchTimeout is a helper method to define mock.On call
- to time.Duration
func (*KafkaProducerConfigBuilder_Expecter) Build ¶
func (_e *KafkaProducerConfigBuilder_Expecter) Build() *KafkaProducerConfigBuilder_Build_Call
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 ¶
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 (_c *KafkaProducerConfigBuilder_Retry_Call) Return(producerConfigBuilder kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_Retry_Call
func (*KafkaProducerConfigBuilder_Retry_Call) Run ¶
func (_c *KafkaProducerConfigBuilder_Retry_Call) Run(run func(time1 int, timeout time.Duration)) *KafkaProducerConfigBuilder_Retry_Call
func (*KafkaProducerConfigBuilder_Retry_Call) RunAndReturn ¶
func (_c *KafkaProducerConfigBuilder_Retry_Call) RunAndReturn(run func(time1 int, timeout time.Duration) kafka.ProducerConfigBuilder) *KafkaProducerConfigBuilder_Retry_Call
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 ¶
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 (_c *KafkaProducer_SendMany_Call) Return(err error) *KafkaProducer_SendMany_Call
func (*KafkaProducer_SendMany_Call) Run ¶
func (_c *KafkaProducer_SendMany_Call) Run(run func(ctx context.Context, messages ...*kafka.Message)) *KafkaProducer_SendMany_Call
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 ¶
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 (_c *KafkaProducer_Send_Call) Return(err error) *KafkaProducer_Send_Call
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 ¶
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 ¶
func (_mock *KafkaSubscriberConfigBuilder) BatchTimeout(to time.Duration) kafka.SubscriberConfigBuilder
BatchTimeout provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) Build ¶
func (_mock *KafkaSubscriberConfigBuilder) Build() *kafka.SubscriberConfig
Build provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) CommitInterval ¶
func (_mock *KafkaSubscriberConfigBuilder) CommitInterval(to time.Duration) kafka.SubscriberConfigBuilder
CommitInterval provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) DeliveryGuarantee ¶ added in v0.2.0
func (_mock *KafkaSubscriberConfigBuilder) DeliveryGuarantee(g kafka.DeliveryGuarantee) kafka.SubscriberConfigBuilder
DeliveryGuarantee provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) EXPECT ¶
func (_m *KafkaSubscriberConfigBuilder) EXPECT() *KafkaSubscriberConfigBuilder_Expecter
func (*KafkaSubscriberConfigBuilder) GroupId ¶
func (_mock *KafkaSubscriberConfigBuilder) GroupId(groupId string) kafka.SubscriberConfigBuilder
GroupId provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) JoinGroupBackoff ¶
func (_mock *KafkaSubscriberConfigBuilder) JoinGroupBackoff(t time.Duration) kafka.SubscriberConfigBuilder
JoinGroupBackoff provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) Logging ¶
func (_mock *KafkaSubscriberConfigBuilder) Logging(v bool) kafka.SubscriberConfigBuilder
Logging provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) MaxWait ¶
func (_mock *KafkaSubscriberConfigBuilder) MaxWait(to time.Duration) kafka.SubscriberConfigBuilder
MaxWait provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) StartOffset ¶
func (_mock *KafkaSubscriberConfigBuilder) StartOffset(v int64) kafka.SubscriberConfigBuilder
StartOffset provides a mock function for the type KafkaSubscriberConfigBuilder
func (*KafkaSubscriberConfigBuilder) Workers ¶
func (_mock *KafkaSubscriberConfigBuilder) Workers(num int) kafka.SubscriberConfigBuilder
Workers provides a mock function for the type KafkaSubscriberConfigBuilder
type KafkaSubscriberConfigBuilder_BatchTimeout_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 (_c *KafkaSubscriberConfigBuilder_BatchTimeout_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_BatchTimeout_Call
func (*KafkaSubscriberConfigBuilder_BatchTimeout_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_BatchTimeout_Call) Run(run func(to time.Duration)) *KafkaSubscriberConfigBuilder_BatchTimeout_Call
func (*KafkaSubscriberConfigBuilder_BatchTimeout_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_BatchTimeout_Call) RunAndReturn(run func(to time.Duration) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_BatchTimeout_Call
type KafkaSubscriberConfigBuilder_Build_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 (_c *KafkaSubscriberConfigBuilder_Build_Call) Return(subscriberConfig *kafka.SubscriberConfig) *KafkaSubscriberConfigBuilder_Build_Call
func (*KafkaSubscriberConfigBuilder_Build_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_Build_Call) Run(run func()) *KafkaSubscriberConfigBuilder_Build_Call
func (*KafkaSubscriberConfigBuilder_Build_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_Build_Call) RunAndReturn(run func() *kafka.SubscriberConfig) *KafkaSubscriberConfigBuilder_Build_Call
type KafkaSubscriberConfigBuilder_CommitInterval_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 (_c *KafkaSubscriberConfigBuilder_CommitInterval_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_CommitInterval_Call
func (*KafkaSubscriberConfigBuilder_CommitInterval_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_CommitInterval_Call) Run(run func(to time.Duration)) *KafkaSubscriberConfigBuilder_CommitInterval_Call
func (*KafkaSubscriberConfigBuilder_CommitInterval_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_CommitInterval_Call) RunAndReturn(run func(to time.Duration) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_CommitInterval_Call
type KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call ¶ added in v0.2.0
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 (_c *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
func (*KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) Run ¶ added in v0.2.0
func (_c *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) Run(run func(g kafka.DeliveryGuarantee)) *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
func (*KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) RunAndReturn ¶ added in v0.2.0
func (_c *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call) RunAndReturn(run func(g kafka.DeliveryGuarantee) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
type KafkaSubscriberConfigBuilder_Expecter ¶
type KafkaSubscriberConfigBuilder_Expecter struct {
// contains filtered or unexported fields
}
func (*KafkaSubscriberConfigBuilder_Expecter) BatchTimeout ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) BatchTimeout(to interface{}) *KafkaSubscriberConfigBuilder_BatchTimeout_Call
BatchTimeout is a helper method to define mock.On call
- to time.Duration
func (*KafkaSubscriberConfigBuilder_Expecter) Build ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) Build() *KafkaSubscriberConfigBuilder_Build_Call
Build is a helper method to define mock.On call
func (*KafkaSubscriberConfigBuilder_Expecter) CommitInterval ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) CommitInterval(to interface{}) *KafkaSubscriberConfigBuilder_CommitInterval_Call
CommitInterval is a helper method to define mock.On call
- to time.Duration
func (*KafkaSubscriberConfigBuilder_Expecter) DeliveryGuarantee ¶ added in v0.2.0
func (_e *KafkaSubscriberConfigBuilder_Expecter) DeliveryGuarantee(g interface{}) *KafkaSubscriberConfigBuilder_DeliveryGuarantee_Call
DeliveryGuarantee is a helper method to define mock.On call
- g kafka.DeliveryGuarantee
func (*KafkaSubscriberConfigBuilder_Expecter) GroupId ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) GroupId(groupId interface{}) *KafkaSubscriberConfigBuilder_GroupId_Call
GroupId is a helper method to define mock.On call
- groupId string
func (*KafkaSubscriberConfigBuilder_Expecter) JoinGroupBackoff ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) JoinGroupBackoff(t interface{}) *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
JoinGroupBackoff is a helper method to define mock.On call
- t time.Duration
func (*KafkaSubscriberConfigBuilder_Expecter) Logging ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) Logging(v interface{}) *KafkaSubscriberConfigBuilder_Logging_Call
Logging is a helper method to define mock.On call
- v bool
func (*KafkaSubscriberConfigBuilder_Expecter) MaxWait ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) MaxWait(to interface{}) *KafkaSubscriberConfigBuilder_MaxWait_Call
MaxWait is a helper method to define mock.On call
- to time.Duration
func (*KafkaSubscriberConfigBuilder_Expecter) StartOffset ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) StartOffset(v interface{}) *KafkaSubscriberConfigBuilder_StartOffset_Call
StartOffset is a helper method to define mock.On call
- v int64
func (*KafkaSubscriberConfigBuilder_Expecter) Workers ¶
func (_e *KafkaSubscriberConfigBuilder_Expecter) Workers(num interface{}) *KafkaSubscriberConfigBuilder_Workers_Call
Workers is a helper method to define mock.On call
- num int
type KafkaSubscriberConfigBuilder_GroupId_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 (_c *KafkaSubscriberConfigBuilder_GroupId_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_GroupId_Call
func (*KafkaSubscriberConfigBuilder_GroupId_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_GroupId_Call) Run(run func(groupId string)) *KafkaSubscriberConfigBuilder_GroupId_Call
func (*KafkaSubscriberConfigBuilder_GroupId_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_GroupId_Call) RunAndReturn(run func(groupId string) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_GroupId_Call
type KafkaSubscriberConfigBuilder_JoinGroupBackoff_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 (_c *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
func (*KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) Run(run func(t time.Duration)) *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
func (*KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call) RunAndReturn(run func(t time.Duration) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_JoinGroupBackoff_Call
type KafkaSubscriberConfigBuilder_Logging_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 (_c *KafkaSubscriberConfigBuilder_Logging_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_Logging_Call
func (*KafkaSubscriberConfigBuilder_Logging_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_Logging_Call) Run(run func(v bool)) *KafkaSubscriberConfigBuilder_Logging_Call
func (*KafkaSubscriberConfigBuilder_Logging_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_Logging_Call) RunAndReturn(run func(v bool) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_Logging_Call
type KafkaSubscriberConfigBuilder_MaxWait_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 (_c *KafkaSubscriberConfigBuilder_MaxWait_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_MaxWait_Call
func (*KafkaSubscriberConfigBuilder_MaxWait_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_MaxWait_Call) Run(run func(to time.Duration)) *KafkaSubscriberConfigBuilder_MaxWait_Call
func (*KafkaSubscriberConfigBuilder_MaxWait_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_MaxWait_Call) RunAndReturn(run func(to time.Duration) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_MaxWait_Call
type KafkaSubscriberConfigBuilder_StartOffset_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 (_c *KafkaSubscriberConfigBuilder_StartOffset_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_StartOffset_Call
func (*KafkaSubscriberConfigBuilder_StartOffset_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_StartOffset_Call) Run(run func(v int64)) *KafkaSubscriberConfigBuilder_StartOffset_Call
func (*KafkaSubscriberConfigBuilder_StartOffset_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_StartOffset_Call) RunAndReturn(run func(v int64) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_StartOffset_Call
type KafkaSubscriberConfigBuilder_Workers_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 (_c *KafkaSubscriberConfigBuilder_Workers_Call) Return(subscriberConfigBuilder kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_Workers_Call
func (*KafkaSubscriberConfigBuilder_Workers_Call) Run ¶
func (_c *KafkaSubscriberConfigBuilder_Workers_Call) Run(run func(num int)) *KafkaSubscriberConfigBuilder_Workers_Call
func (*KafkaSubscriberConfigBuilder_Workers_Call) RunAndReturn ¶
func (_c *KafkaSubscriberConfigBuilder_Workers_Call) RunAndReturn(run func(num int) kafka.SubscriberConfigBuilder) *KafkaSubscriberConfigBuilder_Workers_Call
type KafkaTopicBuilder ¶
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 (_m *KafkaTopicBuilder) EXPECT() *KafkaTopicBuilder_Expecter
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 ¶
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 (_c *KafkaTopicBuilder_Build_Call) Return(topicConfig *kafka.TopicConfig) *KafkaTopicBuilder_Build_Call
func (*KafkaTopicBuilder_Build_Call) Run ¶
func (_c *KafkaTopicBuilder_Build_Call) Run(run func()) *KafkaTopicBuilder_Build_Call
func (*KafkaTopicBuilder_Build_Call) RunAndReturn ¶
func (_c *KafkaTopicBuilder_Build_Call) RunAndReturn(run func() *kafka.TopicConfig) *KafkaTopicBuilder_Build_Call
type KafkaTopicBuilder_Expecter ¶
type KafkaTopicBuilder_Expecter struct {
// contains filtered or unexported fields
}
func (*KafkaTopicBuilder_Expecter) Build ¶
func (_e *KafkaTopicBuilder_Expecter) Build() *KafkaTopicBuilder_Build_Call
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 ¶
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 (_c *KafkaTopicBuilder_WithParams_Call) Return(topicBuilder kafka.TopicBuilder) *KafkaTopicBuilder_WithParams_Call
func (*KafkaTopicBuilder_WithParams_Call) Run ¶
func (_c *KafkaTopicBuilder_WithParams_Call) Run(run func(params ...kafka.TopicParam)) *KafkaTopicBuilder_WithParams_Call
func (*KafkaTopicBuilder_WithParams_Call) RunAndReturn ¶
func (_c *KafkaTopicBuilder_WithParams_Call) RunAndReturn(run func(params ...kafka.TopicParam) kafka.TopicBuilder) *KafkaTopicBuilder_WithParams_Call
type KafkaTopicBuilder_WithPartitionNum_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 (_c *KafkaTopicBuilder_WithPartitionNum_Call) Return(topicBuilder kafka.TopicBuilder) *KafkaTopicBuilder_WithPartitionNum_Call
func (*KafkaTopicBuilder_WithPartitionNum_Call) Run ¶
func (_c *KafkaTopicBuilder_WithPartitionNum_Call) Run(run func(num int)) *KafkaTopicBuilder_WithPartitionNum_Call
func (*KafkaTopicBuilder_WithPartitionNum_Call) RunAndReturn ¶
func (_c *KafkaTopicBuilder_WithPartitionNum_Call) RunAndReturn(run func(num int) kafka.TopicBuilder) *KafkaTopicBuilder_WithPartitionNum_Call
type MemcacheMemCache ¶
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 (_m *MemcacheMemCache) EXPECT() *MemcacheMemCache_Expecter
func (*MemcacheMemCache) Get ¶
func (_mock *MemcacheMemCache) Get(key string) (interface{}, bool)
Get provides a mock function for the type MemcacheMemCache
type MemcacheMemCache_Delete_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 (_c *MemcacheMemCache_Delete_Call) Return() *MemcacheMemCache_Delete_Call
func (*MemcacheMemCache_Delete_Call) Run ¶
func (_c *MemcacheMemCache_Delete_Call) Run(run func(key string)) *MemcacheMemCache_Delete_Call
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 ¶
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 (_c *MemcacheMemCache_Get_Call) Run(run func(key string)) *MemcacheMemCache_Get_Call
func (*MemcacheMemCache_Get_Call) RunAndReturn ¶
func (_c *MemcacheMemCache_Get_Call) RunAndReturn(run func(key string) (interface{}, bool)) *MemcacheMemCache_Get_Call
type MemcacheMemCache_Set_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 (_c *MemcacheMemCache_Set_Call) Return() *MemcacheMemCache_Set_Call
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 ¶
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 (_m *MigrationMigration) EXPECT() *MigrationMigration_Expecter
func (*MigrationMigration) Up ¶
func (_mock *MigrationMigration) Up() error
Up provides a mock function for the type MigrationMigration
type MigrationMigration_Down_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 (_c *MigrationMigration_Down_Call) Return(err error) *MigrationMigration_Down_Call
func (*MigrationMigration_Down_Call) Run ¶
func (_c *MigrationMigration_Down_Call) Run(run func()) *MigrationMigration_Down_Call
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 ¶
func (_e *MigrationMigration_Expecter) Down() *MigrationMigration_Down_Call
Down is a helper method to define mock.On call
func (*MigrationMigration_Expecter) Up ¶
func (_e *MigrationMigration_Expecter) Up() *MigrationMigration_Up_Call
Up is a helper method to define mock.On call
type MigrationMigration_Up_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 (_c *MigrationMigration_Up_Call) Return(err error) *MigrationMigration_Up_Call
func (*MigrationMigration_Up_Call) Run ¶
func (_c *MigrationMigration_Up_Call) Run(run func()) *MigrationMigration_Up_Call
func (*MigrationMigration_Up_Call) RunAndReturn ¶
func (_c *MigrationMigration_Up_Call) RunAndReturn(run func() error) *MigrationMigration_Up_Call
type MonitoringErrorMonitoring ¶
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 (_m *MonitoringErrorMonitoring) EXPECT() *MonitoringErrorMonitoring_Expecter
func (*MonitoringErrorMonitoring) Error ¶
func (_mock *MonitoringErrorMonitoring) Error(err error)
Error provides a mock function for the type MonitoringErrorMonitoring
func (*MonitoringErrorMonitoring) GetCollector ¶
func (_mock *MonitoringErrorMonitoring) GetCollector() monitoring.MetricsCollector
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 ¶
MonitoringErrorMonitoring_BusinessErrorInc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BusinessErrorInc'
func (*MonitoringErrorMonitoring_BusinessErrorInc_Call) Run ¶
func (_c *MonitoringErrorMonitoring_BusinessErrorInc_Call) Run(run func(errCode string)) *MonitoringErrorMonitoring_BusinessErrorInc_Call
func (*MonitoringErrorMonitoring_BusinessErrorInc_Call) RunAndReturn ¶
func (_c *MonitoringErrorMonitoring_BusinessErrorInc_Call) RunAndReturn(run func(errCode string)) *MonitoringErrorMonitoring_BusinessErrorInc_Call
type MonitoringErrorMonitoring_Error_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 (_c *MonitoringErrorMonitoring_Error_Call) Return() *MonitoringErrorMonitoring_Error_Call
func (*MonitoringErrorMonitoring_Error_Call) Run ¶
func (_c *MonitoringErrorMonitoring_Error_Call) Run(run func(err error)) *MonitoringErrorMonitoring_Error_Call
func (*MonitoringErrorMonitoring_Error_Call) RunAndReturn ¶
func (_c *MonitoringErrorMonitoring_Error_Call) RunAndReturn(run func(err error)) *MonitoringErrorMonitoring_Error_Call
type MonitoringErrorMonitoring_Expecter ¶
type MonitoringErrorMonitoring_Expecter struct {
// contains filtered or unexported fields
}
func (*MonitoringErrorMonitoring_Expecter) BusinessErrorInc ¶
func (_e *MonitoringErrorMonitoring_Expecter) BusinessErrorInc(errCode interface{}) *MonitoringErrorMonitoring_BusinessErrorInc_Call
BusinessErrorInc is a helper method to define mock.On call
- errCode string
func (*MonitoringErrorMonitoring_Expecter) Error ¶
func (_e *MonitoringErrorMonitoring_Expecter) Error(err interface{}) *MonitoringErrorMonitoring_Error_Call
Error is a helper method to define mock.On call
- err error
func (*MonitoringErrorMonitoring_Expecter) GetCollector ¶
func (_e *MonitoringErrorMonitoring_Expecter) GetCollector() *MonitoringErrorMonitoring_GetCollector_Call
GetCollector is a helper method to define mock.On call
func (*MonitoringErrorMonitoring_Expecter) PanicInc ¶
func (_e *MonitoringErrorMonitoring_Expecter) PanicInc() *MonitoringErrorMonitoring_PanicInc_Call
PanicInc is a helper method to define mock.On call
func (*MonitoringErrorMonitoring_Expecter) SystemErrorInc ¶
func (_e *MonitoringErrorMonitoring_Expecter) SystemErrorInc(errCode interface{}) *MonitoringErrorMonitoring_SystemErrorInc_Call
SystemErrorInc is a helper method to define mock.On call
- errCode string
type MonitoringErrorMonitoring_GetCollector_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 (_c *MonitoringErrorMonitoring_GetCollector_Call) Return(metricsCollector monitoring.MetricsCollector) *MonitoringErrorMonitoring_GetCollector_Call
func (*MonitoringErrorMonitoring_GetCollector_Call) Run ¶
func (_c *MonitoringErrorMonitoring_GetCollector_Call) Run(run func()) *MonitoringErrorMonitoring_GetCollector_Call
func (*MonitoringErrorMonitoring_GetCollector_Call) RunAndReturn ¶
func (_c *MonitoringErrorMonitoring_GetCollector_Call) RunAndReturn(run func() monitoring.MetricsCollector) *MonitoringErrorMonitoring_GetCollector_Call
type MonitoringErrorMonitoring_PanicInc_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 (_c *MonitoringErrorMonitoring_PanicInc_Call) Return() *MonitoringErrorMonitoring_PanicInc_Call
func (*MonitoringErrorMonitoring_PanicInc_Call) Run ¶
func (_c *MonitoringErrorMonitoring_PanicInc_Call) Run(run func()) *MonitoringErrorMonitoring_PanicInc_Call
func (*MonitoringErrorMonitoring_PanicInc_Call) RunAndReturn ¶
func (_c *MonitoringErrorMonitoring_PanicInc_Call) RunAndReturn(run func()) *MonitoringErrorMonitoring_PanicInc_Call
type MonitoringErrorMonitoring_SystemErrorInc_Call ¶
MonitoringErrorMonitoring_SystemErrorInc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SystemErrorInc'
func (*MonitoringErrorMonitoring_SystemErrorInc_Call) Run ¶
func (_c *MonitoringErrorMonitoring_SystemErrorInc_Call) Run(run func(errCode string)) *MonitoringErrorMonitoring_SystemErrorInc_Call
func (*MonitoringErrorMonitoring_SystemErrorInc_Call) RunAndReturn ¶
func (_c *MonitoringErrorMonitoring_SystemErrorInc_Call) RunAndReturn(run func(errCode string)) *MonitoringErrorMonitoring_SystemErrorInc_Call
type MonitoringMetricsProvider ¶
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 (_m *MonitoringMetricsProvider) EXPECT() *MonitoringMetricsProvider_Expecter
func (*MonitoringMetricsProvider) GetCollector ¶
func (_mock *MonitoringMetricsProvider) GetCollector() monitoring.MetricsCollector
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 ¶
func (_e *MonitoringMetricsProvider_Expecter) GetCollector() *MonitoringMetricsProvider_GetCollector_Call
GetCollector is a helper method to define mock.On call
type MonitoringMetricsProvider_GetCollector_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 (_c *MonitoringMetricsProvider_GetCollector_Call) Return(metricsCollector monitoring.MetricsCollector) *MonitoringMetricsProvider_GetCollector_Call
func (*MonitoringMetricsProvider_GetCollector_Call) Run ¶
func (_c *MonitoringMetricsProvider_GetCollector_Call) Run(run func()) *MonitoringMetricsProvider_GetCollector_Call
func (*MonitoringMetricsProvider_GetCollector_Call) RunAndReturn ¶
func (_c *MonitoringMetricsProvider_GetCollector_Call) RunAndReturn(run func() monitoring.MetricsCollector) *MonitoringMetricsProvider_GetCollector_Call
type MonitoringMetricsServer ¶
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 (_m *MonitoringMetricsServer) EXPECT() *MonitoringMetricsServer_Expecter
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 ¶
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 (_c *MonitoringMetricsServer_Close_Call) Return() *MonitoringMetricsServer_Close_Call
func (*MonitoringMetricsServer_Close_Call) Run ¶
func (_c *MonitoringMetricsServer_Close_Call) Run(run func()) *MonitoringMetricsServer_Close_Call
func (*MonitoringMetricsServer_Close_Call) RunAndReturn ¶
func (_c *MonitoringMetricsServer_Close_Call) RunAndReturn(run func()) *MonitoringMetricsServer_Close_Call
type MonitoringMetricsServer_Expecter ¶
type MonitoringMetricsServer_Expecter struct {
// contains filtered or unexported fields
}
func (*MonitoringMetricsServer_Expecter) Close ¶
func (_e *MonitoringMetricsServer_Expecter) Close() *MonitoringMetricsServer_Close_Call
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 ¶
func (_e *MonitoringMetricsServer_Expecter) Listen() *MonitoringMetricsServer_Listen_Call
Listen is a helper method to define mock.On call
type MonitoringMetricsServer_Init_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 (_c *MonitoringMetricsServer_Init_Call) Return(err error) *MonitoringMetricsServer_Init_Call
func (*MonitoringMetricsServer_Init_Call) Run ¶
func (_c *MonitoringMetricsServer_Init_Call) Run(run func(config *monitoring.Config, MetricProviders ...monitoring.MetricsProvider)) *MonitoringMetricsServer_Init_Call
func (*MonitoringMetricsServer_Init_Call) RunAndReturn ¶
func (_c *MonitoringMetricsServer_Init_Call) RunAndReturn(run func(config *monitoring.Config, MetricProviders ...monitoring.MetricsProvider) error) *MonitoringMetricsServer_Init_Call
type MonitoringMetricsServer_Listen_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 (_c *MonitoringMetricsServer_Listen_Call) Return() *MonitoringMetricsServer_Listen_Call
func (*MonitoringMetricsServer_Listen_Call) Run ¶
func (_c *MonitoringMetricsServer_Listen_Call) Run(run func()) *MonitoringMetricsServer_Listen_Call
func (*MonitoringMetricsServer_Listen_Call) RunAndReturn ¶
func (_c *MonitoringMetricsServer_Listen_Call) RunAndReturn(run func()) *MonitoringMetricsServer_Listen_Call
type MonitoringRegexpMonitoring ¶
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 (_m *MonitoringRegexpMonitoring) EXPECT() *MonitoringRegexpMonitoring_Expecter
func (*MonitoringRegexpMonitoring) GetCollector ¶
func (_mock *MonitoringRegexpMonitoring) GetCollector() monitoring.MetricsCollector
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 ¶
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 (_c *MonitoringRegexpMonitoring_AddRegexps_Call) Return() *MonitoringRegexpMonitoring_AddRegexps_Call
func (*MonitoringRegexpMonitoring_AddRegexps_Call) Run ¶
func (_c *MonitoringRegexpMonitoring_AddRegexps_Call) Run(run func(regexps ...*monitoring.Regexp)) *MonitoringRegexpMonitoring_AddRegexps_Call
func (*MonitoringRegexpMonitoring_AddRegexps_Call) RunAndReturn ¶
func (_c *MonitoringRegexpMonitoring_AddRegexps_Call) RunAndReturn(run func(regexps ...*monitoring.Regexp)) *MonitoringRegexpMonitoring_AddRegexps_Call
type MonitoringRegexpMonitoring_Expecter ¶
type MonitoringRegexpMonitoring_Expecter struct {
// contains filtered or unexported fields
}
func (*MonitoringRegexpMonitoring_Expecter) AddRegexps ¶
func (_e *MonitoringRegexpMonitoring_Expecter) AddRegexps(regexps ...interface{}) *MonitoringRegexpMonitoring_AddRegexps_Call
AddRegexps is a helper method to define mock.On call
- regexps ...*monitoring.Regexp
func (*MonitoringRegexpMonitoring_Expecter) GetCollector ¶
func (_e *MonitoringRegexpMonitoring_Expecter) GetCollector() *MonitoringRegexpMonitoring_GetCollector_Call
GetCollector is a helper method to define mock.On call
func (*MonitoringRegexpMonitoring_Expecter) Text ¶
func (_e *MonitoringRegexpMonitoring_Expecter) Text(text interface{}) *MonitoringRegexpMonitoring_Text_Call
Text is a helper method to define mock.On call
- text string
type MonitoringRegexpMonitoring_GetCollector_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 (_c *MonitoringRegexpMonitoring_GetCollector_Call) Return(metricsCollector monitoring.MetricsCollector) *MonitoringRegexpMonitoring_GetCollector_Call
func (*MonitoringRegexpMonitoring_GetCollector_Call) Run ¶
func (_c *MonitoringRegexpMonitoring_GetCollector_Call) Run(run func()) *MonitoringRegexpMonitoring_GetCollector_Call
func (*MonitoringRegexpMonitoring_GetCollector_Call) RunAndReturn ¶
func (_c *MonitoringRegexpMonitoring_GetCollector_Call) RunAndReturn(run func() monitoring.MetricsCollector) *MonitoringRegexpMonitoring_GetCollector_Call
type MonitoringRegexpMonitoring_Text_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 (_c *MonitoringRegexpMonitoring_Text_Call) Return() *MonitoringRegexpMonitoring_Text_Call
func (*MonitoringRegexpMonitoring_Text_Call) Run ¶
func (_c *MonitoringRegexpMonitoring_Text_Call) Run(run func(text string)) *MonitoringRegexpMonitoring_Text_Call
func (*MonitoringRegexpMonitoring_Text_Call) RunAndReturn ¶
func (_c *MonitoringRegexpMonitoring_Text_Call) RunAndReturn(run func(text string)) *MonitoringRegexpMonitoring_Text_Call
type NotificationBuilder ¶
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 (_m *NotificationBuilder[T]) EXPECT() *NotificationBuilder_Expecter[T]
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 ¶
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 (_c *NotificationBuilder_B_Call[T]) Return(notification1 *notification.Notification[T]) *NotificationBuilder_B_Call[T]
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 ¶
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 (_c *NotificationBuilder_Receivers_Call[T]) Return(builder notification.Builder[T]) *NotificationBuilder_Receivers_Call[T]
func (*NotificationBuilder_Receivers_Call[T]) Run ¶
func (_c *NotificationBuilder_Receivers_Call[T]) Run(run func(receivers []*notification.Receiver)) *NotificationBuilder_Receivers_Call[T]
func (*NotificationBuilder_Receivers_Call[T]) RunAndReturn ¶
func (_c *NotificationBuilder_Receivers_Call[T]) RunAndReturn(run func(receivers []*notification.Receiver) notification.Builder[T]) *NotificationBuilder_Receivers_Call[T]
type NotificationBuilder_Types_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 (_c *NotificationBuilder_Types_Call[T]) Return(builder notification.Builder[T]) *NotificationBuilder_Types_Call[T]
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 ¶
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 ¶
func (_mock *NotificationReceivers) B() ([]*notification.Receiver, error)
B provides a mock function for the type NotificationReceivers
func (*NotificationReceivers) EXPECT ¶
func (_m *NotificationReceivers) EXPECT() *NotificationReceivers_Expecter
func (*NotificationReceivers) Permissions ¶
func (_mock *NotificationReceivers) Permissions(resolver notification.Resolver) notification.Receivers
Permissions provides a mock function for the type NotificationReceivers
func (*NotificationReceivers) Scopes ¶
func (_mock *NotificationReceivers) Scopes(fns ...notification.ReceiverFn) notification.Receivers
Scopes provides a mock function for the type NotificationReceivers
type NotificationReceivers_B_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 (_c *NotificationReceivers_B_Call) Return(receivers []*notification.Receiver, err error) *NotificationReceivers_B_Call
func (*NotificationReceivers_B_Call) Run ¶
func (_c *NotificationReceivers_B_Call) Run(run func()) *NotificationReceivers_B_Call
func (*NotificationReceivers_B_Call) RunAndReturn ¶
func (_c *NotificationReceivers_B_Call) RunAndReturn(run func() ([]*notification.Receiver, error)) *NotificationReceivers_B_Call
type NotificationReceivers_Expecter ¶
type NotificationReceivers_Expecter struct {
// contains filtered or unexported fields
}
func (*NotificationReceivers_Expecter) B ¶
func (_e *NotificationReceivers_Expecter) B() *NotificationReceivers_B_Call
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 ¶
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 (_c *NotificationReceivers_Permissions_Call) Return(receivers notification.Receivers) *NotificationReceivers_Permissions_Call
func (*NotificationReceivers_Permissions_Call) Run ¶
func (_c *NotificationReceivers_Permissions_Call) Run(run func(resolver notification.Resolver)) *NotificationReceivers_Permissions_Call
func (*NotificationReceivers_Permissions_Call) RunAndReturn ¶
func (_c *NotificationReceivers_Permissions_Call) RunAndReturn(run func(resolver notification.Resolver) notification.Receivers) *NotificationReceivers_Permissions_Call
type NotificationReceivers_Scopes_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 (_c *NotificationReceivers_Scopes_Call) Return(receivers notification.Receivers) *NotificationReceivers_Scopes_Call
func (*NotificationReceivers_Scopes_Call) Run ¶
func (_c *NotificationReceivers_Scopes_Call) Run(run func(fns ...notification.ReceiverFn)) *NotificationReceivers_Scopes_Call
func (*NotificationReceivers_Scopes_Call) RunAndReturn ¶
func (_c *NotificationReceivers_Scopes_Call) RunAndReturn(run func(fns ...notification.ReceiverFn) notification.Receivers) *NotificationReceivers_Scopes_Call
type NotificationResolver ¶
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 (_m *NotificationResolver) EXPECT() *NotificationResolver_Expecter
func (*NotificationResolver) Resolve ¶
func (_mock *NotificationResolver) Resolve() *notification.PermissionsRequest
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 ¶
func (_e *NotificationResolver_Expecter) Resolve() *NotificationResolver_Resolve_Call
Resolve is a helper method to define mock.On call
type NotificationResolver_Resolve_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 (_c *NotificationResolver_Resolve_Call) Return(permissionsRequest *notification.PermissionsRequest) *NotificationResolver_Resolve_Call
func (*NotificationResolver_Resolve_Call) Run ¶
func (_c *NotificationResolver_Resolve_Call) Run(run func()) *NotificationResolver_Resolve_Call
func (*NotificationResolver_Resolve_Call) RunAndReturn ¶
func (_c *NotificationResolver_Resolve_Call) RunAndReturn(run func() *notification.PermissionsRequest) *NotificationResolver_Resolve_Call
type ProfileServer ¶
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 ¶
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 (_c *ProfileServer_Close_Call) Return() *ProfileServer_Close_Call
func (*ProfileServer_Close_Call) Run ¶
func (_c *ProfileServer_Close_Call) Run(run func()) *ProfileServer_Close_Call
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 ¶
func (_e *ProfileServer_Expecter) Close() *ProfileServer_Close_Call
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 ¶
func (_e *ProfileServer_Expecter) Listen() *ProfileServer_Listen_Call
Listen is a helper method to define mock.On call
type ProfileServer_Init_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 (_c *ProfileServer_Init_Call) Return(err error) *ProfileServer_Init_Call
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 ¶
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 (_c *ProfileServer_Listen_Call) Return() *ProfileServer_Listen_Call
func (*ProfileServer_Listen_Call) Run ¶
func (_c *ProfileServer_Listen_Call) Run(run func()) *ProfileServer_Listen_Call
func (*ProfileServer_Listen_Call) RunAndReturn ¶
func (_c *ProfileServer_Listen_Call) RunAndReturn(run func()) *ProfileServer_Listen_Call
type RedisPriorityQueue ¶
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
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 ¶
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 (_c *RedisPriorityQueue_PopManyAndRemove_Call[T]) Return(vs []T, err error) *RedisPriorityQueue_PopManyAndRemove_Call[T]
func (*RedisPriorityQueue_PopManyAndRemove_Call[T]) Run ¶
func (_c *RedisPriorityQueue_PopManyAndRemove_Call[T]) Run(run func(ctx context.Context, numItems int)) *RedisPriorityQueue_PopManyAndRemove_Call[T]
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 ¶
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 ¶
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 (_c *RedisPriorityQueue_Push_Call[T]) Return(err error) *RedisPriorityQueue_Push_Call[T]
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]