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) DownloadFile(ctx context.Context, in *gitiles.DownloadFileRequest, opts ...grpc.CallOption) (*gitiles.DownloadFileResponse, error)
- func (m *MockGitilesClient) EXPECT() *MockGitilesClientMockRecorder
- 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) DownloadFile(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) DownloadFile(arg0 context.Context, arg1 *gitiles.DownloadFileRequest) (*gitiles.DownloadFileResponse, error)
- func (m *MockGitilesServer) EXPECT() *MockGitilesServerMockRecorder
- 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) DownloadFile(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) 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) 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) DownloadFile ¶
func (mr *MockGitilesClientMockRecorder) DownloadFile(ctx, in interface{}, opts ...interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile.
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) 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) 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) DownloadFile ¶
func (mr *MockGitilesServerMockRecorder) DownloadFile(arg0, arg1 interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile.
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.