pbmock

package
v0.0.0-...-fe7ef4e Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package pbmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockVideoClient

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

MockVideoClient is a mock of VideoClient interface.

func NewMockVideoClient

func NewMockVideoClient(ctrl *gomock.Controller) *MockVideoClient

NewMockVideoClient creates a new mock instance.

func (*MockVideoClient) DeleteVideo

DeleteVideo mocks base method.

func (*MockVideoClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVideoClient) GetVideo

func (m *MockVideoClient) GetVideo(arg0 context.Context, arg1 *pb.GetVideoRequest, arg2 ...grpc.CallOption) (*pb.GetVideoResponse, error)

GetVideo mocks base method.

func (*MockVideoClient) Healthz

func (m *MockVideoClient) Healthz(arg0 context.Context, arg1 *pb.HealthzRequest, arg2 ...grpc.CallOption) (*pb.HealthzResponse, error)

Healthz mocks base method.

func (*MockVideoClient) ListVideo

func (m *MockVideoClient) ListVideo(arg0 context.Context, arg1 *pb.ListVideoRequest, arg2 ...grpc.CallOption) (*pb.ListVideoResponse, error)

ListVideo mocks base method.

func (*MockVideoClient) UploadVideo

func (m *MockVideoClient) UploadVideo(arg0 context.Context, arg1 ...grpc.CallOption) (pb.Video_UploadVideoClient, error)

UploadVideo mocks base method.

type MockVideoClientMockRecorder

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

MockVideoClientMockRecorder is the mock recorder for MockVideoClient.

func (*MockVideoClientMockRecorder) DeleteVideo

func (mr *MockVideoClientMockRecorder) DeleteVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteVideo indicates an expected call of DeleteVideo.

func (*MockVideoClientMockRecorder) GetVideo

func (mr *MockVideoClientMockRecorder) GetVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetVideo indicates an expected call of GetVideo.

func (*MockVideoClientMockRecorder) Healthz

func (mr *MockVideoClientMockRecorder) Healthz(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Healthz indicates an expected call of Healthz.

func (*MockVideoClientMockRecorder) ListVideo

func (mr *MockVideoClientMockRecorder) ListVideo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListVideo indicates an expected call of ListVideo.

func (*MockVideoClientMockRecorder) UploadVideo

func (mr *MockVideoClientMockRecorder) UploadVideo(arg0 interface{}, arg1 ...interface{}) *gomock.Call

UploadVideo indicates an expected call of UploadVideo.

type MockVideo_UploadVideoServer

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

MockVideo_UploadVideoServer is a mock of Video_UploadVideoServer interface.

func NewMockVideo_UploadVideoServer

func NewMockVideo_UploadVideoServer(ctrl *gomock.Controller) *MockVideo_UploadVideoServer

NewMockVideo_UploadVideoServer creates a new mock instance.

func (*MockVideo_UploadVideoServer) Context

Context mocks base method.

func (*MockVideo_UploadVideoServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVideo_UploadVideoServer) Recv

Recv mocks base method.

func (*MockVideo_UploadVideoServer) RecvMsg

func (m *MockVideo_UploadVideoServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockVideo_UploadVideoServer) SendAndClose

SendAndClose mocks base method.

func (*MockVideo_UploadVideoServer) SendHeader

func (m *MockVideo_UploadVideoServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockVideo_UploadVideoServer) SendMsg

func (m *MockVideo_UploadVideoServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockVideo_UploadVideoServer) SetHeader

func (m *MockVideo_UploadVideoServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockVideo_UploadVideoServer) SetTrailer

func (m *MockVideo_UploadVideoServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockVideo_UploadVideoServerMockRecorder

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

MockVideo_UploadVideoServerMockRecorder is the mock recorder for MockVideo_UploadVideoServer.

func (*MockVideo_UploadVideoServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockVideo_UploadVideoServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockVideo_UploadVideoServerMockRecorder) RecvMsg

func (mr *MockVideo_UploadVideoServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockVideo_UploadVideoServerMockRecorder) SendAndClose

func (mr *MockVideo_UploadVideoServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call

SendAndClose indicates an expected call of SendAndClose.

func (*MockVideo_UploadVideoServerMockRecorder) SendHeader

func (mr *MockVideo_UploadVideoServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockVideo_UploadVideoServerMockRecorder) SendMsg

func (mr *MockVideo_UploadVideoServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockVideo_UploadVideoServerMockRecorder) SetHeader

func (mr *MockVideo_UploadVideoServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockVideo_UploadVideoServerMockRecorder) SetTrailer

func (mr *MockVideo_UploadVideoServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL