luci: go.chromium.org/luci/common/proto/gitiles/mock_gitiles Index | Files

package mock_gitiles

import "go.chromium.org/luci/common/proto/gitiles/mock_gitiles"

Package mock_gitiles is a generated GoMock package.

Index

Package Files

gitiles.mock.pb.go

type MockGitilesClient Uses

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

MockGitilesClient is a mock of GitilesClient interface.

func NewMockGitilesClient Uses

func NewMockGitilesClient(ctrl *gomock.Controller) *MockGitilesClient

NewMockGitilesClient creates a new mock instance.

func (*MockGitilesClient) Archive Uses

func (m *MockGitilesClient) Archive(ctx context.Context, in *gitiles.ArchiveRequest, opts ...grpc.CallOption) (*gitiles.ArchiveResponse, error)

Archive mocks base method.

func (*MockGitilesClient) DownloadFile Uses

func (m *MockGitilesClient) DownloadFile(ctx context.Context, in *gitiles.DownloadFileRequest, opts ...grpc.CallOption) (*gitiles.DownloadFileResponse, error)

DownloadFile mocks base method.

func (*MockGitilesClient) EXPECT Uses

func (m *MockGitilesClient) EXPECT() *MockGitilesClientMockRecorder

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

func (*MockGitilesClient) Log Uses

func (m *MockGitilesClient) Log(ctx context.Context, in *gitiles.LogRequest, opts ...grpc.CallOption) (*gitiles.LogResponse, error)

Log mocks base method.

func (*MockGitilesClient) Projects Uses

func (m *MockGitilesClient) Projects(ctx context.Context, in *gitiles.ProjectsRequest, opts ...grpc.CallOption) (*gitiles.ProjectsResponse, error)

Projects mocks base method.

func (*MockGitilesClient) Refs Uses

func (m *MockGitilesClient) Refs(ctx context.Context, in *gitiles.RefsRequest, opts ...grpc.CallOption) (*gitiles.RefsResponse, error)

Refs mocks base method.

type MockGitilesClientMockRecorder Uses

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

MockGitilesClientMockRecorder is the mock recorder for MockGitilesClient.

func (*MockGitilesClientMockRecorder) Archive Uses

func (mr *MockGitilesClientMockRecorder) Archive(ctx, in interface{}, opts ...interface{}) *gomock.Call

Archive indicates an expected call of Archive.

func (*MockGitilesClientMockRecorder) DownloadFile Uses

func (mr *MockGitilesClientMockRecorder) DownloadFile(ctx, in interface{}, opts ...interface{}) *gomock.Call

DownloadFile indicates an expected call of DownloadFile.

func (*MockGitilesClientMockRecorder) Log Uses

func (mr *MockGitilesClientMockRecorder) Log(ctx, in interface{}, opts ...interface{}) *gomock.Call

Log indicates an expected call of Log.

func (*MockGitilesClientMockRecorder) Projects Uses

func (mr *MockGitilesClientMockRecorder) Projects(ctx, in interface{}, opts ...interface{}) *gomock.Call

Projects indicates an expected call of Projects.

func (*MockGitilesClientMockRecorder) Refs Uses

func (mr *MockGitilesClientMockRecorder) Refs(ctx, in interface{}, opts ...interface{}) *gomock.Call

Refs indicates an expected call of Refs.

type MockGitilesServer Uses

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

MockGitilesServer is a mock of GitilesServer interface.

func NewMockGitilesServer Uses

func NewMockGitilesServer(ctrl *gomock.Controller) *MockGitilesServer

NewMockGitilesServer creates a new mock instance.

func (*MockGitilesServer) Archive Uses

func (m *MockGitilesServer) Archive(arg0 context.Context, arg1 *gitiles.ArchiveRequest) (*gitiles.ArchiveResponse, error)

Archive mocks base method.

func (*MockGitilesServer) DownloadFile Uses

func (m *MockGitilesServer) DownloadFile(arg0 context.Context, arg1 *gitiles.DownloadFileRequest) (*gitiles.DownloadFileResponse, error)

DownloadFile mocks base method.

func (*MockGitilesServer) EXPECT Uses

func (m *MockGitilesServer) EXPECT() *MockGitilesServerMockRecorder

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

func (*MockGitilesServer) Log Uses

func (m *MockGitilesServer) Log(arg0 context.Context, arg1 *gitiles.LogRequest) (*gitiles.LogResponse, error)

Log mocks base method.

func (*MockGitilesServer) Projects Uses

func (m *MockGitilesServer) Projects(arg0 context.Context, arg1 *gitiles.ProjectsRequest) (*gitiles.ProjectsResponse, error)

Projects mocks base method.

func (*MockGitilesServer) Refs Uses

func (m *MockGitilesServer) Refs(arg0 context.Context, arg1 *gitiles.RefsRequest) (*gitiles.RefsResponse, error)

Refs mocks base method.

type MockGitilesServerMockRecorder Uses

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

MockGitilesServerMockRecorder is the mock recorder for MockGitilesServer.

func (*MockGitilesServerMockRecorder) Archive Uses

func (mr *MockGitilesServerMockRecorder) Archive(arg0, arg1 interface{}) *gomock.Call

Archive indicates an expected call of Archive.

func (*MockGitilesServerMockRecorder) DownloadFile Uses

func (mr *MockGitilesServerMockRecorder) DownloadFile(arg0, arg1 interface{}) *gomock.Call

DownloadFile indicates an expected call of DownloadFile.

func (*MockGitilesServerMockRecorder) Log Uses

func (mr *MockGitilesServerMockRecorder) Log(arg0, arg1 interface{}) *gomock.Call

Log indicates an expected call of Log.

func (*MockGitilesServerMockRecorder) Projects Uses

func (mr *MockGitilesServerMockRecorder) Projects(arg0, arg1 interface{}) *gomock.Call

Projects indicates an expected call of Projects.

func (*MockGitilesServerMockRecorder) Refs Uses

func (mr *MockGitilesServerMockRecorder) Refs(arg0, arg1 interface{}) *gomock.Call

Refs indicates an expected call of Refs.

Package mock_gitiles imports 5 packages (graph). Updated 2020-10-28. Refresh now. Tools for package owners.