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