Documentation ¶
Overview ¶
Package pbmock is a generated GoMock package.
Index ¶
- type MockCommentClient
- func (m *MockCommentClient) CreateComment(arg0 context.Context, arg1 *pb.CreateCommentRequest, arg2 ...grpc.CallOption) (*pb.CreateCommentResponse, error)
- func (m *MockCommentClient) DeleteComment(arg0 context.Context, arg1 *pb.DeleteCommentRequest, arg2 ...grpc.CallOption) (*pb.DeleteCommentResponse, error)
- func (m *MockCommentClient) DeleteCommentByVideoID(arg0 context.Context, arg1 *pb.DeleteCommentByVideoIDRequest, ...) (*pb.DeleteCommentByVideoIDResponse, error)
- func (m *MockCommentClient) EXPECT() *MockCommentClientMockRecorder
- func (m *MockCommentClient) Healthz(arg0 context.Context, arg1 *pb.HealthzRequest, arg2 ...grpc.CallOption) (*pb.HealthzResponse, error)
- func (m *MockCommentClient) ListComment(arg0 context.Context, arg1 *pb.ListCommentRequest, arg2 ...grpc.CallOption) (*pb.ListCommentResponse, error)
- func (m *MockCommentClient) UpdateComment(arg0 context.Context, arg1 *pb.UpdateCommentRequest, arg2 ...grpc.CallOption) (*pb.UpdateCommentResponse, error)
- type MockCommentClientMockRecorder
- func (mr *MockCommentClientMockRecorder) CreateComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommentClientMockRecorder) DeleteComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommentClientMockRecorder) DeleteCommentByVideoID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommentClientMockRecorder) Healthz(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommentClientMockRecorder) ListComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCommentClientMockRecorder) UpdateComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommentClient ¶
type MockCommentClient struct {
// contains filtered or unexported fields
}
MockCommentClient is a mock of CommentClient interface.
func NewMockCommentClient ¶
func NewMockCommentClient(ctrl *gomock.Controller) *MockCommentClient
NewMockCommentClient creates a new mock instance.
func (*MockCommentClient) CreateComment ¶
func (m *MockCommentClient) CreateComment(arg0 context.Context, arg1 *pb.CreateCommentRequest, arg2 ...grpc.CallOption) (*pb.CreateCommentResponse, error)
CreateComment mocks base method.
func (*MockCommentClient) DeleteComment ¶
func (m *MockCommentClient) DeleteComment(arg0 context.Context, arg1 *pb.DeleteCommentRequest, arg2 ...grpc.CallOption) (*pb.DeleteCommentResponse, error)
DeleteComment mocks base method.
func (*MockCommentClient) DeleteCommentByVideoID ¶
func (m *MockCommentClient) DeleteCommentByVideoID(arg0 context.Context, arg1 *pb.DeleteCommentByVideoIDRequest, arg2 ...grpc.CallOption) (*pb.DeleteCommentByVideoIDResponse, error)
DeleteCommentByVideoID mocks base method.
func (*MockCommentClient) EXPECT ¶
func (m *MockCommentClient) EXPECT() *MockCommentClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommentClient) Healthz ¶
func (m *MockCommentClient) Healthz(arg0 context.Context, arg1 *pb.HealthzRequest, arg2 ...grpc.CallOption) (*pb.HealthzResponse, error)
Healthz mocks base method.
func (*MockCommentClient) ListComment ¶
func (m *MockCommentClient) ListComment(arg0 context.Context, arg1 *pb.ListCommentRequest, arg2 ...grpc.CallOption) (*pb.ListCommentResponse, error)
ListComment mocks base method.
func (*MockCommentClient) UpdateComment ¶
func (m *MockCommentClient) UpdateComment(arg0 context.Context, arg1 *pb.UpdateCommentRequest, arg2 ...grpc.CallOption) (*pb.UpdateCommentResponse, error)
UpdateComment mocks base method.
type MockCommentClientMockRecorder ¶
type MockCommentClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCommentClientMockRecorder is the mock recorder for MockCommentClient.
func (*MockCommentClientMockRecorder) CreateComment ¶
func (mr *MockCommentClientMockRecorder) CreateComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment.
func (*MockCommentClientMockRecorder) DeleteComment ¶
func (mr *MockCommentClientMockRecorder) DeleteComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteComment indicates an expected call of DeleteComment.
func (*MockCommentClientMockRecorder) DeleteCommentByVideoID ¶
func (mr *MockCommentClientMockRecorder) DeleteCommentByVideoID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteCommentByVideoID indicates an expected call of DeleteCommentByVideoID.
func (*MockCommentClientMockRecorder) Healthz ¶
func (mr *MockCommentClientMockRecorder) Healthz(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Healthz indicates an expected call of Healthz.
func (*MockCommentClientMockRecorder) ListComment ¶
func (mr *MockCommentClientMockRecorder) ListComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListComment indicates an expected call of ListComment.
func (*MockCommentClientMockRecorder) UpdateComment ¶
func (mr *MockCommentClientMockRecorder) UpdateComment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateComment indicates an expected call of UpdateComment.