Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close()
- func (m *MockClient) CreatePush(ctx context.Context, in *push.CreatePushRequest, opts ...grpc.CallOption) (*push.CreatePushResponse, error)
- func (m *MockClient) DeletePush(ctx context.Context, in *push.DeletePushRequest, opts ...grpc.CallOption) (*push.DeletePushResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetPush(ctx context.Context, in *push.GetPushRequest, opts ...grpc.CallOption) (*push.GetPushResponse, error)
- func (m *MockClient) ListPushes(ctx context.Context, in *push.ListPushesRequest, opts ...grpc.CallOption) (*push.ListPushesResponse, error)
- func (m *MockClient) UpdatePush(ctx context.Context, in *push.UpdatePushRequest, opts ...grpc.CallOption) (*push.UpdatePushResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) CreatePush(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) DeletePush(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetPush(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) ListPushes(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) UpdatePush(ctx, in any, opts ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CreatePush ¶
func (m *MockClient) CreatePush(ctx context.Context, in *push.CreatePushRequest, opts ...grpc.CallOption) (*push.CreatePushResponse, error)
CreatePush mocks base method.
func (*MockClient) DeletePush ¶
func (m *MockClient) DeletePush(ctx context.Context, in *push.DeletePushRequest, opts ...grpc.CallOption) (*push.DeletePushResponse, error)
DeletePush mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetPush ¶ added in v1.0.0
func (m *MockClient) GetPush(ctx context.Context, in *push.GetPushRequest, opts ...grpc.CallOption) (*push.GetPushResponse, error)
GetPush mocks base method.
func (*MockClient) ListPushes ¶
func (m *MockClient) ListPushes(ctx context.Context, in *push.ListPushesRequest, opts ...grpc.CallOption) (*push.ListPushesResponse, error)
ListPushes mocks base method.
func (*MockClient) UpdatePush ¶
func (m *MockClient) UpdatePush(ctx context.Context, in *push.UpdatePushRequest, opts ...grpc.CallOption) (*push.UpdatePushResponse, error)
UpdatePush mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) CreatePush ¶
func (mr *MockClientMockRecorder) CreatePush(ctx, in any, opts ...any) *gomock.Call
CreatePush indicates an expected call of CreatePush.
func (*MockClientMockRecorder) DeletePush ¶
func (mr *MockClientMockRecorder) DeletePush(ctx, in any, opts ...any) *gomock.Call
DeletePush indicates an expected call of DeletePush.
func (*MockClientMockRecorder) GetPush ¶ added in v1.0.0
func (mr *MockClientMockRecorder) GetPush(ctx, in any, opts ...any) *gomock.Call
GetPush indicates an expected call of GetPush.
func (*MockClientMockRecorder) ListPushes ¶
func (mr *MockClientMockRecorder) ListPushes(ctx, in any, opts ...any) *gomock.Call
ListPushes indicates an expected call of ListPushes.
func (*MockClientMockRecorder) UpdatePush ¶
func (mr *MockClientMockRecorder) UpdatePush(ctx, in any, opts ...any) *gomock.Call
UpdatePush indicates an expected call of UpdatePush.