Documentation ¶
Overview ¶
Package notification_mock is a generated GoMock package.
Index ¶
- type MockNotifyAPIClient
- func (m *MockNotifyAPIClient) EXPECT() *MockNotifyAPIClientMockRecorder
- func (m *MockNotifyAPIClient) NotifyGroups(ctx context.Context, in *v1.NotifyGroupsRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockNotifyAPIClient) NotifyUser(ctx context.Context, in *v1.NotifyUserRequest, opts ...grpc.CallOption) (*v1.NotifyUserResponse, error)
- func (m *MockNotifyAPIClient) NotifyUsersBatch(ctx context.Context, in *v1.NotifyUsersBatchRequest, opts ...grpc.CallOption) (*v1.NotifyUsersBatchResponse, error)
- type MockNotifyAPIClientMockRecorder
- func (mr *MockNotifyAPIClientMockRecorder) NotifyGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNotifyAPIClientMockRecorder) NotifyUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNotifyAPIClientMockRecorder) NotifyUsersBatch(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockNotifyAPIServer
- func (m *MockNotifyAPIServer) EXPECT() *MockNotifyAPIServerMockRecorder
- func (m *MockNotifyAPIServer) NotifyGroups(arg0 context.Context, arg1 *v1.NotifyGroupsRequest) (*v1.Empty, error)
- func (m *MockNotifyAPIServer) NotifyUser(arg0 context.Context, arg1 *v1.NotifyUserRequest) (*v1.NotifyUserResponse, error)
- func (m *MockNotifyAPIServer) NotifyUsersBatch(arg0 context.Context, arg1 *v1.NotifyUsersBatchRequest) (*v1.NotifyUsersBatchResponse, error)
- type MockNotifyAPIServerMockRecorder
- type MockUnsafeNotifyAPIServer
- type MockUnsafeNotifyAPIServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNotifyAPIClient ¶
type MockNotifyAPIClient struct {
// contains filtered or unexported fields
}
MockNotifyAPIClient is a mock of NotifyAPIClient interface.
func NewMockNotifyAPIClient ¶
func NewMockNotifyAPIClient(ctrl *gomock.Controller) *MockNotifyAPIClient
NewMockNotifyAPIClient creates a new mock instance.
func (*MockNotifyAPIClient) EXPECT ¶
func (m *MockNotifyAPIClient) EXPECT() *MockNotifyAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotifyAPIClient) NotifyGroups ¶
func (m *MockNotifyAPIClient) NotifyGroups(ctx context.Context, in *v1.NotifyGroupsRequest, opts ...grpc.CallOption) (*v1.Empty, error)
NotifyGroups mocks base method.
func (*MockNotifyAPIClient) NotifyUser ¶
func (m *MockNotifyAPIClient) NotifyUser(ctx context.Context, in *v1.NotifyUserRequest, opts ...grpc.CallOption) (*v1.NotifyUserResponse, error)
NotifyUser mocks base method.
func (*MockNotifyAPIClient) NotifyUsersBatch ¶
func (m *MockNotifyAPIClient) NotifyUsersBatch(ctx context.Context, in *v1.NotifyUsersBatchRequest, opts ...grpc.CallOption) (*v1.NotifyUsersBatchResponse, error)
NotifyUsersBatch mocks base method.
type MockNotifyAPIClientMockRecorder ¶
type MockNotifyAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNotifyAPIClientMockRecorder is the mock recorder for MockNotifyAPIClient.
func (*MockNotifyAPIClientMockRecorder) NotifyGroups ¶
func (mr *MockNotifyAPIClientMockRecorder) NotifyGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
NotifyGroups indicates an expected call of NotifyGroups.
func (*MockNotifyAPIClientMockRecorder) NotifyUser ¶
func (mr *MockNotifyAPIClientMockRecorder) NotifyUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
NotifyUser indicates an expected call of NotifyUser.
func (*MockNotifyAPIClientMockRecorder) NotifyUsersBatch ¶
func (mr *MockNotifyAPIClientMockRecorder) NotifyUsersBatch(ctx, in interface{}, opts ...interface{}) *gomock.Call
NotifyUsersBatch indicates an expected call of NotifyUsersBatch.
type MockNotifyAPIServer ¶
type MockNotifyAPIServer struct {
// contains filtered or unexported fields
}
MockNotifyAPIServer is a mock of NotifyAPIServer interface.
func NewMockNotifyAPIServer ¶
func NewMockNotifyAPIServer(ctrl *gomock.Controller) *MockNotifyAPIServer
NewMockNotifyAPIServer creates a new mock instance.
func (*MockNotifyAPIServer) EXPECT ¶
func (m *MockNotifyAPIServer) EXPECT() *MockNotifyAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotifyAPIServer) NotifyGroups ¶
func (m *MockNotifyAPIServer) NotifyGroups(arg0 context.Context, arg1 *v1.NotifyGroupsRequest) (*v1.Empty, error)
NotifyGroups mocks base method.
func (*MockNotifyAPIServer) NotifyUser ¶
func (m *MockNotifyAPIServer) NotifyUser(arg0 context.Context, arg1 *v1.NotifyUserRequest) (*v1.NotifyUserResponse, error)
NotifyUser mocks base method.
func (*MockNotifyAPIServer) NotifyUsersBatch ¶
func (m *MockNotifyAPIServer) NotifyUsersBatch(arg0 context.Context, arg1 *v1.NotifyUsersBatchRequest) (*v1.NotifyUsersBatchResponse, error)
NotifyUsersBatch mocks base method.
type MockNotifyAPIServerMockRecorder ¶
type MockNotifyAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockNotifyAPIServerMockRecorder is the mock recorder for MockNotifyAPIServer.
func (*MockNotifyAPIServerMockRecorder) NotifyGroups ¶
func (mr *MockNotifyAPIServerMockRecorder) NotifyGroups(arg0, arg1 interface{}) *gomock.Call
NotifyGroups indicates an expected call of NotifyGroups.
func (*MockNotifyAPIServerMockRecorder) NotifyUser ¶
func (mr *MockNotifyAPIServerMockRecorder) NotifyUser(arg0, arg1 interface{}) *gomock.Call
NotifyUser indicates an expected call of NotifyUser.
func (*MockNotifyAPIServerMockRecorder) NotifyUsersBatch ¶
func (mr *MockNotifyAPIServerMockRecorder) NotifyUsersBatch(arg0, arg1 interface{}) *gomock.Call
NotifyUsersBatch indicates an expected call of NotifyUsersBatch.
type MockUnsafeNotifyAPIServer ¶
type MockUnsafeNotifyAPIServer struct {
// contains filtered or unexported fields
}
MockUnsafeNotifyAPIServer is a mock of UnsafeNotifyAPIServer interface.
func NewMockUnsafeNotifyAPIServer ¶
func NewMockUnsafeNotifyAPIServer(ctrl *gomock.Controller) *MockUnsafeNotifyAPIServer
NewMockUnsafeNotifyAPIServer creates a new mock instance.
func (*MockUnsafeNotifyAPIServer) EXPECT ¶
func (m *MockUnsafeNotifyAPIServer) EXPECT() *MockUnsafeNotifyAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeNotifyAPIServerMockRecorder ¶
type MockUnsafeNotifyAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeNotifyAPIServerMockRecorder is the mock recorder for MockUnsafeNotifyAPIServer.