Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGoGit
- func (m *MockGoGit) AddGlob(arg0 string, arg1 *git.Worktree) error
- func (m *MockGoGit) Checkout(arg0 *git.Worktree, arg1 *git.CheckoutOptions) error
- func (m *MockGoGit) Clone(arg0 context.Context, arg1, arg2 string, arg3 transport.AuthMethod) (*git.Repository, error)
- func (m *MockGoGit) Commit(arg0 string, arg1 *object.Signature, arg2 *git.Worktree) (plumbing.Hash, error)
- func (m *MockGoGit) CommitObject(arg0 *git.Repository, arg1 plumbing.Hash) (*object.Commit, error)
- func (m *MockGoGit) Create(arg0 *git.Repository, arg1 string) (*git.Remote, error)
- func (m *MockGoGit) CreateBranch(arg0 *git.Repository, arg1 *config.Branch) error
- func (m *MockGoGit) EXPECT() *MockGoGitMockRecorder
- func (m *MockGoGit) Head(arg0 *git.Repository) (*plumbing.Reference, error)
- func (m *MockGoGit) Init(arg0 string) (*git.Repository, error)
- func (m *MockGoGit) ListRemotes(arg0 *git.Repository, arg1 transport.AuthMethod) ([]*plumbing.Reference, error)
- func (m *MockGoGit) ListWithContext(arg0 context.Context, arg1 *git.Remote, arg2 transport.AuthMethod) ([]*plumbing.Reference, error)
- func (m *MockGoGit) NewRemote(arg0, arg1 string) *git.Remote
- func (m *MockGoGit) OpenDir(arg0 string) (*git.Repository, error)
- func (m *MockGoGit) OpenWorktree(arg0 *git.Repository) (*git.Worktree, error)
- func (m *MockGoGit) PullWithContext(arg0 context.Context, arg1 *git.Worktree, arg2 transport.AuthMethod, ...) error
- func (m *MockGoGit) PushWithContext(arg0 context.Context, arg1 *git.Repository, arg2 transport.AuthMethod) error
- func (m *MockGoGit) Remove(arg0 string, arg1 *git.Worktree) (plumbing.Hash, error)
- func (m *MockGoGit) SetRepositoryReference(arg0 *git.Repository, arg1 *plumbing.Reference) error
- type MockGoGitMockRecorder
- func (mr *MockGoGitMockRecorder) AddGlob(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) Checkout(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) Clone(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) Commit(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) CommitObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) CreateBranch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) Head(arg0 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) ListRemotes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) ListWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) NewRemote(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) OpenDir(arg0 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) OpenWorktree(arg0 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) PullWithContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) PushWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGoGitMockRecorder) SetRepositoryReference(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGoGit ¶
type MockGoGit struct {
// contains filtered or unexported fields
}
MockGoGit is a mock of GoGit interface.
func NewMockGoGit ¶
func NewMockGoGit(ctrl *gomock.Controller) *MockGoGit
NewMockGoGit creates a new mock instance.
func (*MockGoGit) Clone ¶
func (m *MockGoGit) Clone(arg0 context.Context, arg1, arg2 string, arg3 transport.AuthMethod) (*git.Repository, error)
Clone mocks base method.
func (*MockGoGit) Commit ¶
func (m *MockGoGit) Commit(arg0 string, arg1 *object.Signature, arg2 *git.Worktree) (plumbing.Hash, error)
Commit mocks base method.
func (*MockGoGit) CommitObject ¶
CommitObject mocks base method.
func (*MockGoGit) CreateBranch ¶
CreateBranch mocks base method.
func (*MockGoGit) EXPECT ¶
func (m *MockGoGit) EXPECT() *MockGoGitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGoGit) Init ¶
func (m *MockGoGit) Init(arg0 string) (*git.Repository, error)
Init mocks base method.
func (*MockGoGit) ListRemotes ¶
func (m *MockGoGit) ListRemotes(arg0 *git.Repository, arg1 transport.AuthMethod) ([]*plumbing.Reference, error)
ListRemotes mocks base method.
func (*MockGoGit) ListWithContext ¶
func (m *MockGoGit) ListWithContext(arg0 context.Context, arg1 *git.Remote, arg2 transport.AuthMethod) ([]*plumbing.Reference, error)
ListWithContext mocks base method.
func (*MockGoGit) OpenDir ¶
func (m *MockGoGit) OpenDir(arg0 string) (*git.Repository, error)
OpenDir mocks base method.
func (*MockGoGit) OpenWorktree ¶
OpenWorktree mocks base method.
func (*MockGoGit) PullWithContext ¶
func (m *MockGoGit) PullWithContext(arg0 context.Context, arg1 *git.Worktree, arg2 transport.AuthMethod, arg3 plumbing.ReferenceName) error
PullWithContext mocks base method.
func (*MockGoGit) PushWithContext ¶
func (m *MockGoGit) PushWithContext(arg0 context.Context, arg1 *git.Repository, arg2 transport.AuthMethod) error
PushWithContext mocks base method.
func (*MockGoGit) SetRepositoryReference ¶
SetRepositoryReference mocks base method.
type MockGoGitMockRecorder ¶
type MockGoGitMockRecorder struct {
// contains filtered or unexported fields
}
MockGoGitMockRecorder is the mock recorder for MockGoGit.
func (*MockGoGitMockRecorder) AddGlob ¶
func (mr *MockGoGitMockRecorder) AddGlob(arg0, arg1 interface{}) *gomock.Call
AddGlob indicates an expected call of AddGlob.
func (*MockGoGitMockRecorder) Checkout ¶
func (mr *MockGoGitMockRecorder) Checkout(arg0, arg1 interface{}) *gomock.Call
Checkout indicates an expected call of Checkout.
func (*MockGoGitMockRecorder) Clone ¶
func (mr *MockGoGitMockRecorder) Clone(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Clone indicates an expected call of Clone.
func (*MockGoGitMockRecorder) Commit ¶
func (mr *MockGoGitMockRecorder) Commit(arg0, arg1, arg2 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockGoGitMockRecorder) CommitObject ¶
func (mr *MockGoGitMockRecorder) CommitObject(arg0, arg1 interface{}) *gomock.Call
CommitObject indicates an expected call of CommitObject.
func (*MockGoGitMockRecorder) Create ¶
func (mr *MockGoGitMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockGoGitMockRecorder) CreateBranch ¶
func (mr *MockGoGitMockRecorder) CreateBranch(arg0, arg1 interface{}) *gomock.Call
CreateBranch indicates an expected call of CreateBranch.
func (*MockGoGitMockRecorder) Head ¶
func (mr *MockGoGitMockRecorder) Head(arg0 interface{}) *gomock.Call
Head indicates an expected call of Head.
func (*MockGoGitMockRecorder) Init ¶
func (mr *MockGoGitMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockGoGitMockRecorder) ListRemotes ¶
func (mr *MockGoGitMockRecorder) ListRemotes(arg0, arg1 interface{}) *gomock.Call
ListRemotes indicates an expected call of ListRemotes.
func (*MockGoGitMockRecorder) ListWithContext ¶
func (mr *MockGoGitMockRecorder) ListWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
ListWithContext indicates an expected call of ListWithContext.
func (*MockGoGitMockRecorder) NewRemote ¶
func (mr *MockGoGitMockRecorder) NewRemote(arg0, arg1 interface{}) *gomock.Call
NewRemote indicates an expected call of NewRemote.
func (*MockGoGitMockRecorder) OpenDir ¶
func (mr *MockGoGitMockRecorder) OpenDir(arg0 interface{}) *gomock.Call
OpenDir indicates an expected call of OpenDir.
func (*MockGoGitMockRecorder) OpenWorktree ¶
func (mr *MockGoGitMockRecorder) OpenWorktree(arg0 interface{}) *gomock.Call
OpenWorktree indicates an expected call of OpenWorktree.
func (*MockGoGitMockRecorder) PullWithContext ¶
func (mr *MockGoGitMockRecorder) PullWithContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PullWithContext indicates an expected call of PullWithContext.
func (*MockGoGitMockRecorder) PushWithContext ¶
func (mr *MockGoGitMockRecorder) PushWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
PushWithContext indicates an expected call of PushWithContext.
func (*MockGoGitMockRecorder) Remove ¶
func (mr *MockGoGitMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockGoGitMockRecorder) SetRepositoryReference ¶
func (mr *MockGoGitMockRecorder) SetRepositoryReference(arg0, arg1 interface{}) *gomock.Call
SetRepositoryReference indicates an expected call of SetRepositoryReference.