Documentation ¶
Overview ¶
Package mock_gitiles is a generated GoMock package.
Index ¶
- type MockGitilesClient
- func (m *MockGitilesClient) Archive(ctx context.Context, in *gitiles.ArchiveRequest, opts ...grpc.CallOption) (*gitiles.ArchiveResponse, error)
- func (m *MockGitilesClient) DownloadDiff(ctx context.Context, in *gitiles.DownloadDiffRequest, opts ...grpc.CallOption) (*gitiles.DownloadDiffResponse, error)
- func (m *MockGitilesClient) DownloadFile(ctx context.Context, in *gitiles.DownloadFileRequest, opts ...grpc.CallOption) (*gitiles.DownloadFileResponse, error)
- func (m *MockGitilesClient) EXPECT() *MockGitilesClientMockRecorder
- func (m *MockGitilesClient) GetProject(ctx context.Context, in *gitiles.GetProjectRequest, opts ...grpc.CallOption) (*gitiles.Project, error)
- func (m *MockGitilesClient) ListFiles(ctx context.Context, in *gitiles.ListFilesRequest, opts ...grpc.CallOption) (*gitiles.ListFilesResponse, error)
- func (m *MockGitilesClient) Log(ctx context.Context, in *gitiles.LogRequest, opts ...grpc.CallOption) (*gitiles.LogResponse, error)
- func (m *MockGitilesClient) Projects(ctx context.Context, in *gitiles.ProjectsRequest, opts ...grpc.CallOption) (*gitiles.ProjectsResponse, error)
- func (m *MockGitilesClient) Refs(ctx context.Context, in *gitiles.RefsRequest, opts ...grpc.CallOption) (*gitiles.RefsResponse, error)
- type MockGitilesClientMockRecorder
- func (mr *MockGitilesClientMockRecorder) Archive(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockGitilesClientMockRecorder) DownloadDiff(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockGitilesClientMockRecorder) DownloadFile(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockGitilesClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockGitilesClientMockRecorder) ListFiles(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockGitilesClientMockRecorder) Log(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockGitilesClientMockRecorder) Projects(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockGitilesClientMockRecorder) Refs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockGitilesServer
- func (m *MockGitilesServer) Archive(arg0 context.Context, arg1 *gitiles.ArchiveRequest) (*gitiles.ArchiveResponse, error)
- func (m *MockGitilesServer) DownloadDiff(arg0 context.Context, arg1 *gitiles.DownloadDiffRequest) (*gitiles.DownloadDiffResponse, error)
- func (m *MockGitilesServer) DownloadFile(arg0 context.Context, arg1 *gitiles.DownloadFileRequest) (*gitiles.DownloadFileResponse, error)
- func (m *MockGitilesServer) EXPECT() *MockGitilesServerMockRecorder
- func (m *MockGitilesServer) GetProject(arg0 context.Context, arg1 *gitiles.GetProjectRequest) (*gitiles.Project, error)
- func (m *MockGitilesServer) ListFiles(arg0 context.Context, arg1 *gitiles.ListFilesRequest) (*gitiles.ListFilesResponse, error)
- func (m *MockGitilesServer) Log(arg0 context.Context, arg1 *gitiles.LogRequest) (*gitiles.LogResponse, error)
- func (m *MockGitilesServer) Projects(arg0 context.Context, arg1 *gitiles.ProjectsRequest) (*gitiles.ProjectsResponse, error)
- func (m *MockGitilesServer) Refs(arg0 context.Context, arg1 *gitiles.RefsRequest) (*gitiles.RefsResponse, error)
- type MockGitilesServerMockRecorder
- func (mr *MockGitilesServerMockRecorder) Archive(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitilesServerMockRecorder) DownloadDiff(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitilesServerMockRecorder) DownloadFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitilesServerMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitilesServerMockRecorder) ListFiles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitilesServerMockRecorder) Log(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitilesServerMockRecorder) Projects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitilesServerMockRecorder) Refs(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGitilesClient ¶
type MockGitilesClient struct {
// contains filtered or unexported fields
}
MockGitilesClient is a mock of GitilesClient interface.
func NewMockGitilesClient ¶
func NewMockGitilesClient(ctrl *gomock.Controller) *MockGitilesClient
NewMockGitilesClient creates a new mock instance.
func (*MockGitilesClient) Archive ¶
func (m *MockGitilesClient) Archive(ctx context.Context, in *gitiles.ArchiveRequest, opts ...grpc.CallOption) (*gitiles.ArchiveResponse, error)
Archive mocks base method.
func (*MockGitilesClient) DownloadDiff ¶
func (m *MockGitilesClient) DownloadDiff(ctx context.Context, in *gitiles.DownloadDiffRequest, opts ...grpc.CallOption) (*gitiles.DownloadDiffResponse, error)
DownloadDiff mocks base method.
func (*MockGitilesClient) DownloadFile ¶
func (m *MockGitilesClient) DownloadFile(ctx context.Context, in *gitiles.DownloadFileRequest, opts ...grpc.CallOption) (*gitiles.DownloadFileResponse, error)
DownloadFile mocks base method.
func (*MockGitilesClient) EXPECT ¶
func (m *MockGitilesClient) EXPECT() *MockGitilesClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitilesClient) GetProject ¶
func (m *MockGitilesClient) GetProject(ctx context.Context, in *gitiles.GetProjectRequest, opts ...grpc.CallOption) (*gitiles.Project, error)
GetProject mocks base method.
func (*MockGitilesClient) ListFiles ¶
func (m *MockGitilesClient) ListFiles(ctx context.Context, in *gitiles.ListFilesRequest, opts ...grpc.CallOption) (*gitiles.ListFilesResponse, error)
ListFiles mocks base method.
func (*MockGitilesClient) Log ¶
func (m *MockGitilesClient) Log(ctx context.Context, in *gitiles.LogRequest, opts ...grpc.CallOption) (*gitiles.LogResponse, error)
Log mocks base method.
func (*MockGitilesClient) Projects ¶
func (m *MockGitilesClient) Projects(ctx context.Context, in *gitiles.ProjectsRequest, opts ...grpc.CallOption) (*gitiles.ProjectsResponse, error)
Projects mocks base method.
func (*MockGitilesClient) Refs ¶
func (m *MockGitilesClient) Refs(ctx context.Context, in *gitiles.RefsRequest, opts ...grpc.CallOption) (*gitiles.RefsResponse, error)
Refs mocks base method.
type MockGitilesClientMockRecorder ¶
type MockGitilesClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitilesClientMockRecorder is the mock recorder for MockGitilesClient.
func (*MockGitilesClientMockRecorder) Archive ¶
func (mr *MockGitilesClientMockRecorder) Archive(ctx, in interface{}, opts ...interface{}) *gomock.Call
Archive indicates an expected call of Archive.
func (*MockGitilesClientMockRecorder) DownloadDiff ¶
func (mr *MockGitilesClientMockRecorder) DownloadDiff(ctx, in interface{}, opts ...interface{}) *gomock.Call
DownloadDiff indicates an expected call of DownloadDiff.
func (*MockGitilesClientMockRecorder) DownloadFile ¶
func (mr *MockGitilesClientMockRecorder) DownloadFile(ctx, in interface{}, opts ...interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile.
func (*MockGitilesClientMockRecorder) GetProject ¶
func (mr *MockGitilesClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockGitilesClientMockRecorder) ListFiles ¶
func (mr *MockGitilesClientMockRecorder) ListFiles(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListFiles indicates an expected call of ListFiles.
func (*MockGitilesClientMockRecorder) Log ¶
func (mr *MockGitilesClientMockRecorder) Log(ctx, in interface{}, opts ...interface{}) *gomock.Call
Log indicates an expected call of Log.
func (*MockGitilesClientMockRecorder) Projects ¶
func (mr *MockGitilesClientMockRecorder) Projects(ctx, in interface{}, opts ...interface{}) *gomock.Call
Projects indicates an expected call of Projects.
func (*MockGitilesClientMockRecorder) Refs ¶
func (mr *MockGitilesClientMockRecorder) Refs(ctx, in interface{}, opts ...interface{}) *gomock.Call
Refs indicates an expected call of Refs.
type MockGitilesServer ¶
type MockGitilesServer struct {
// contains filtered or unexported fields
}
MockGitilesServer is a mock of GitilesServer interface.
func NewMockGitilesServer ¶
func NewMockGitilesServer(ctrl *gomock.Controller) *MockGitilesServer
NewMockGitilesServer creates a new mock instance.
func (*MockGitilesServer) Archive ¶
func (m *MockGitilesServer) Archive(arg0 context.Context, arg1 *gitiles.ArchiveRequest) (*gitiles.ArchiveResponse, error)
Archive mocks base method.
func (*MockGitilesServer) DownloadDiff ¶
func (m *MockGitilesServer) DownloadDiff(arg0 context.Context, arg1 *gitiles.DownloadDiffRequest) (*gitiles.DownloadDiffResponse, error)
DownloadDiff mocks base method.
func (*MockGitilesServer) DownloadFile ¶
func (m *MockGitilesServer) DownloadFile(arg0 context.Context, arg1 *gitiles.DownloadFileRequest) (*gitiles.DownloadFileResponse, error)
DownloadFile mocks base method.
func (*MockGitilesServer) EXPECT ¶
func (m *MockGitilesServer) EXPECT() *MockGitilesServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitilesServer) GetProject ¶
func (m *MockGitilesServer) GetProject(arg0 context.Context, arg1 *gitiles.GetProjectRequest) (*gitiles.Project, error)
GetProject mocks base method.
func (*MockGitilesServer) ListFiles ¶
func (m *MockGitilesServer) ListFiles(arg0 context.Context, arg1 *gitiles.ListFilesRequest) (*gitiles.ListFilesResponse, error)
ListFiles mocks base method.
func (*MockGitilesServer) Log ¶
func (m *MockGitilesServer) Log(arg0 context.Context, arg1 *gitiles.LogRequest) (*gitiles.LogResponse, error)
Log mocks base method.
func (*MockGitilesServer) Projects ¶
func (m *MockGitilesServer) Projects(arg0 context.Context, arg1 *gitiles.ProjectsRequest) (*gitiles.ProjectsResponse, error)
Projects mocks base method.
func (*MockGitilesServer) Refs ¶
func (m *MockGitilesServer) Refs(arg0 context.Context, arg1 *gitiles.RefsRequest) (*gitiles.RefsResponse, error)
Refs mocks base method.
type MockGitilesServerMockRecorder ¶
type MockGitilesServerMockRecorder struct {
// contains filtered or unexported fields
}
MockGitilesServerMockRecorder is the mock recorder for MockGitilesServer.
func (*MockGitilesServerMockRecorder) Archive ¶
func (mr *MockGitilesServerMockRecorder) Archive(arg0, arg1 interface{}) *gomock.Call
Archive indicates an expected call of Archive.
func (*MockGitilesServerMockRecorder) DownloadDiff ¶
func (mr *MockGitilesServerMockRecorder) DownloadDiff(arg0, arg1 interface{}) *gomock.Call
DownloadDiff indicates an expected call of DownloadDiff.
func (*MockGitilesServerMockRecorder) DownloadFile ¶
func (mr *MockGitilesServerMockRecorder) DownloadFile(arg0, arg1 interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile.
func (*MockGitilesServerMockRecorder) GetProject ¶
func (mr *MockGitilesServerMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockGitilesServerMockRecorder) ListFiles ¶
func (mr *MockGitilesServerMockRecorder) ListFiles(arg0, arg1 interface{}) *gomock.Call
ListFiles indicates an expected call of ListFiles.
func (*MockGitilesServerMockRecorder) Log ¶
func (mr *MockGitilesServerMockRecorder) Log(arg0, arg1 interface{}) *gomock.Call
Log indicates an expected call of Log.
func (*MockGitilesServerMockRecorder) Projects ¶
func (mr *MockGitilesServerMockRecorder) Projects(arg0, arg1 interface{}) *gomock.Call
Projects indicates an expected call of Projects.
func (*MockGitilesServerMockRecorder) Refs ¶
func (mr *MockGitilesServerMockRecorder) Refs(arg0, arg1 interface{}) *gomock.Call
Refs indicates an expected call of Refs.