Documentation ¶
Overview ¶
Package mock_git is a generated GoMock package.
Index ¶
- type MockNativeService
- func (m *MockNativeService) AddAll() (string, string, error)
- func (m *MockNativeService) BranchList() ([]glow.Branch, string, string, error)
- func (m *MockNativeService) CMDExecutor() cmd.CmdExecutor
- func (m *MockNativeService) Checkout(b glow.Branch) (string, string, error)
- func (m *MockNativeService) CleanupBranches(cleanupGone, cleanupUntracked bool) (string, string, error)
- func (m *MockNativeService) CleanupTags(cleanupUntracked bool) (string, string, error)
- func (m *MockNativeService) Commit(message string) (string, string, error)
- func (m *MockNativeService) Create(b glow.Branch, skipChecks bool) (string, string, error)
- func (m *MockNativeService) CurrentBranch() (glow.Branch, string, string, error)
- func (m *MockNativeService) EXPECT() *MockNativeServiceMockRecorder
- func (m *MockNativeService) Fetch() (string, string, error)
- func (m *MockNativeService) GitRepoPath() (string, string, string, error)
- func (m *MockNativeService) Push(setUpstream bool) (string, string, error)
- func (m *MockNativeService) RemoteBranchExists(branchName string) (bool, string, string, error)
- func (m *MockNativeService) SetCICDOrigin(origin string) (string, string, error)
- func (m *MockNativeService) Stash() (string, string, error)
- func (m *MockNativeService) StashPop() (string, string, error)
- type MockNativeServiceInterface
- type MockNativeServiceMockRecorder
- func (mr *MockNativeServiceMockRecorder) AddAll() *gomock.Call
- func (mr *MockNativeServiceMockRecorder) BranchList() *gomock.Call
- func (mr *MockNativeServiceMockRecorder) CMDExecutor() *gomock.Call
- func (mr *MockNativeServiceMockRecorder) Checkout(b interface{}) *gomock.Call
- func (mr *MockNativeServiceMockRecorder) CleanupBranches(cleanupGone, cleanupUntracked interface{}) *gomock.Call
- func (mr *MockNativeServiceMockRecorder) CleanupTags(cleanupUntracked interface{}) *gomock.Call
- func (mr *MockNativeServiceMockRecorder) Commit(message interface{}) *gomock.Call
- func (mr *MockNativeServiceMockRecorder) Create(b, skipChecks interface{}) *gomock.Call
- func (mr *MockNativeServiceMockRecorder) CurrentBranch() *gomock.Call
- func (mr *MockNativeServiceMockRecorder) Fetch() *gomock.Call
- func (mr *MockNativeServiceMockRecorder) GitRepoPath() *gomock.Call
- func (mr *MockNativeServiceMockRecorder) Push(setUpstream interface{}) *gomock.Call
- func (mr *MockNativeServiceMockRecorder) RemoteBranchExists(branchName interface{}) *gomock.Call
- func (mr *MockNativeServiceMockRecorder) SetCICDOrigin(origin interface{}) *gomock.Call
- func (mr *MockNativeServiceMockRecorder) Stash() *gomock.Call
- func (mr *MockNativeServiceMockRecorder) StashPop() *gomock.Call
- type MockService
- func (m *MockService) AddAll() (string, string, error)
- func (m *MockService) BranchList() ([]glow.Branch, string, string, error)
- func (m *MockService) Checkout(b glow.Branch) (string, string, error)
- func (m *MockService) CleanupBranches(cleanupGone, cleanupUntracked bool) (string, string, error)
- func (m *MockService) CleanupTags(cleanupUntracked bool) (string, string, error)
- func (m *MockService) Commit(message string) (string, string, error)
- func (m *MockService) Create(b glow.Branch, skipChecks bool) (string, string, error)
- func (m *MockService) CurrentBranch() (glow.Branch, string, string, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Fetch() (string, string, error)
- func (m *MockService) GitRepoPath() (string, string, string, error)
- func (m *MockService) Push(setUpstream bool) (string, string, error)
- func (m *MockService) RemoteBranchExists(branchName string) (bool, string, string, error)
- func (m *MockService) SetCICDOrigin(origin string) (string, string, error)
- func (m *MockService) Stash() (string, string, error)
- func (m *MockService) StashPop() (string, string, error)
- type MockServiceInterface
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) AddAll() *gomock.Call
- func (mr *MockServiceMockRecorder) BranchList() *gomock.Call
- func (mr *MockServiceMockRecorder) Checkout(b interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) CleanupBranches(cleanupGone, cleanupUntracked interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) CleanupTags(cleanupUntracked interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Commit(message interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Create(b, skipChecks interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) CurrentBranch() *gomock.Call
- func (mr *MockServiceMockRecorder) Fetch() *gomock.Call
- func (mr *MockServiceMockRecorder) GitRepoPath() *gomock.Call
- func (mr *MockServiceMockRecorder) Push(setUpstream interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) RemoteBranchExists(branchName interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SetCICDOrigin(origin interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Stash() *gomock.Call
- func (mr *MockServiceMockRecorder) StashPop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNativeService ¶
type MockNativeService struct {
// contains filtered or unexported fields
}
MockNativeService is a mock of NativeService interface
func NewMockNativeService ¶
func NewMockNativeService(ctrl *gomock.Controller) *MockNativeService
NewMockNativeService creates a new mock instance
func (*MockNativeService) AddAll ¶
func (m *MockNativeService) AddAll() (string, string, error)
AddAll mocks base method
func (*MockNativeService) BranchList ¶
BranchList mocks base method
func (*MockNativeService) CMDExecutor ¶
func (m *MockNativeService) CMDExecutor() cmd.CmdExecutor
CMDExecutor mocks base method
func (*MockNativeService) CleanupBranches ¶
func (m *MockNativeService) CleanupBranches(cleanupGone, cleanupUntracked bool) (string, string, error)
CleanupBranches mocks base method
func (*MockNativeService) CleanupTags ¶
func (m *MockNativeService) CleanupTags(cleanupUntracked bool) (string, string, error)
CleanupTags mocks base method
func (*MockNativeService) Commit ¶
func (m *MockNativeService) Commit(message string) (string, string, error)
Commit mocks base method
func (*MockNativeService) CurrentBranch ¶
CurrentBranch mocks base method
func (*MockNativeService) EXPECT ¶
func (m *MockNativeService) EXPECT() *MockNativeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNativeService) Fetch ¶
func (m *MockNativeService) Fetch() (string, string, error)
Fetch mocks base method
func (*MockNativeService) GitRepoPath ¶
func (m *MockNativeService) GitRepoPath() (string, string, string, error)
GitRepoPath mocks base method
func (*MockNativeService) Push ¶
func (m *MockNativeService) Push(setUpstream bool) (string, string, error)
Push mocks base method
func (*MockNativeService) RemoteBranchExists ¶
RemoteBranchExists mocks base method
func (*MockNativeService) SetCICDOrigin ¶
func (m *MockNativeService) SetCICDOrigin(origin string) (string, string, error)
SetCICDOrigin mocks base method
type MockNativeServiceInterface ¶
type MockNativeServiceInterface interface { EXPECT() *MockNativeServiceMockRecorder git.NativeService }
type MockNativeServiceMockRecorder ¶
type MockNativeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNativeServiceMockRecorder is the mock recorder for MockNativeService
func (*MockNativeServiceMockRecorder) AddAll ¶
func (mr *MockNativeServiceMockRecorder) AddAll() *gomock.Call
AddAll indicates an expected call of AddAll
func (*MockNativeServiceMockRecorder) BranchList ¶
func (mr *MockNativeServiceMockRecorder) BranchList() *gomock.Call
BranchList indicates an expected call of BranchList
func (*MockNativeServiceMockRecorder) CMDExecutor ¶
func (mr *MockNativeServiceMockRecorder) CMDExecutor() *gomock.Call
CMDExecutor indicates an expected call of CMDExecutor
func (*MockNativeServiceMockRecorder) Checkout ¶
func (mr *MockNativeServiceMockRecorder) Checkout(b interface{}) *gomock.Call
Checkout indicates an expected call of Checkout
func (*MockNativeServiceMockRecorder) CleanupBranches ¶
func (mr *MockNativeServiceMockRecorder) CleanupBranches(cleanupGone, cleanupUntracked interface{}) *gomock.Call
CleanupBranches indicates an expected call of CleanupBranches
func (*MockNativeServiceMockRecorder) CleanupTags ¶
func (mr *MockNativeServiceMockRecorder) CleanupTags(cleanupUntracked interface{}) *gomock.Call
CleanupTags indicates an expected call of CleanupTags
func (*MockNativeServiceMockRecorder) Commit ¶
func (mr *MockNativeServiceMockRecorder) Commit(message interface{}) *gomock.Call
Commit indicates an expected call of Commit
func (*MockNativeServiceMockRecorder) Create ¶
func (mr *MockNativeServiceMockRecorder) Create(b, skipChecks interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockNativeServiceMockRecorder) CurrentBranch ¶
func (mr *MockNativeServiceMockRecorder) CurrentBranch() *gomock.Call
CurrentBranch indicates an expected call of CurrentBranch
func (*MockNativeServiceMockRecorder) Fetch ¶
func (mr *MockNativeServiceMockRecorder) Fetch() *gomock.Call
Fetch indicates an expected call of Fetch
func (*MockNativeServiceMockRecorder) GitRepoPath ¶
func (mr *MockNativeServiceMockRecorder) GitRepoPath() *gomock.Call
GitRepoPath indicates an expected call of GitRepoPath
func (*MockNativeServiceMockRecorder) Push ¶
func (mr *MockNativeServiceMockRecorder) Push(setUpstream interface{}) *gomock.Call
Push indicates an expected call of Push
func (*MockNativeServiceMockRecorder) RemoteBranchExists ¶
func (mr *MockNativeServiceMockRecorder) RemoteBranchExists(branchName interface{}) *gomock.Call
RemoteBranchExists indicates an expected call of RemoteBranchExists
func (*MockNativeServiceMockRecorder) SetCICDOrigin ¶
func (mr *MockNativeServiceMockRecorder) SetCICDOrigin(origin interface{}) *gomock.Call
SetCICDOrigin indicates an expected call of SetCICDOrigin
func (*MockNativeServiceMockRecorder) Stash ¶
func (mr *MockNativeServiceMockRecorder) Stash() *gomock.Call
Stash indicates an expected call of Stash
func (*MockNativeServiceMockRecorder) StashPop ¶
func (mr *MockNativeServiceMockRecorder) StashPop() *gomock.Call
StashPop indicates an expected call of StashPop
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) AddAll ¶
func (m *MockService) AddAll() (string, string, error)
AddAll mocks base method
func (*MockService) BranchList ¶
BranchList mocks base method
func (*MockService) CleanupBranches ¶
func (m *MockService) CleanupBranches(cleanupGone, cleanupUntracked bool) (string, string, error)
CleanupBranches mocks base method
func (*MockService) CleanupTags ¶
func (m *MockService) CleanupTags(cleanupUntracked bool) (string, string, error)
CleanupTags mocks base method
func (*MockService) Commit ¶
func (m *MockService) Commit(message string) (string, string, error)
Commit mocks base method
func (*MockService) CurrentBranch ¶
CurrentBranch mocks base method
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) Fetch ¶
func (m *MockService) Fetch() (string, string, error)
Fetch mocks base method
func (*MockService) GitRepoPath ¶
func (m *MockService) GitRepoPath() (string, string, string, error)
GitRepoPath mocks base method
func (*MockService) Push ¶
func (m *MockService) Push(setUpstream bool) (string, string, error)
Push mocks base method
func (*MockService) RemoteBranchExists ¶
RemoteBranchExists mocks base method
func (*MockService) SetCICDOrigin ¶
func (m *MockService) SetCICDOrigin(origin string) (string, string, error)
SetCICDOrigin mocks base method
type MockServiceInterface ¶
type MockServiceInterface interface { EXPECT() *MockServiceMockRecorder git.Service }
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) AddAll ¶
func (mr *MockServiceMockRecorder) AddAll() *gomock.Call
AddAll indicates an expected call of AddAll
func (*MockServiceMockRecorder) BranchList ¶
func (mr *MockServiceMockRecorder) BranchList() *gomock.Call
BranchList indicates an expected call of BranchList
func (*MockServiceMockRecorder) Checkout ¶
func (mr *MockServiceMockRecorder) Checkout(b interface{}) *gomock.Call
Checkout indicates an expected call of Checkout
func (*MockServiceMockRecorder) CleanupBranches ¶
func (mr *MockServiceMockRecorder) CleanupBranches(cleanupGone, cleanupUntracked interface{}) *gomock.Call
CleanupBranches indicates an expected call of CleanupBranches
func (*MockServiceMockRecorder) CleanupTags ¶
func (mr *MockServiceMockRecorder) CleanupTags(cleanupUntracked interface{}) *gomock.Call
CleanupTags indicates an expected call of CleanupTags
func (*MockServiceMockRecorder) Commit ¶
func (mr *MockServiceMockRecorder) Commit(message interface{}) *gomock.Call
Commit indicates an expected call of Commit
func (*MockServiceMockRecorder) Create ¶
func (mr *MockServiceMockRecorder) Create(b, skipChecks interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockServiceMockRecorder) CurrentBranch ¶
func (mr *MockServiceMockRecorder) CurrentBranch() *gomock.Call
CurrentBranch indicates an expected call of CurrentBranch
func (*MockServiceMockRecorder) Fetch ¶
func (mr *MockServiceMockRecorder) Fetch() *gomock.Call
Fetch indicates an expected call of Fetch
func (*MockServiceMockRecorder) GitRepoPath ¶
func (mr *MockServiceMockRecorder) GitRepoPath() *gomock.Call
GitRepoPath indicates an expected call of GitRepoPath
func (*MockServiceMockRecorder) Push ¶
func (mr *MockServiceMockRecorder) Push(setUpstream interface{}) *gomock.Call
Push indicates an expected call of Push
func (*MockServiceMockRecorder) RemoteBranchExists ¶
func (mr *MockServiceMockRecorder) RemoteBranchExists(branchName interface{}) *gomock.Call
RemoteBranchExists indicates an expected call of RemoteBranchExists
func (*MockServiceMockRecorder) SetCICDOrigin ¶
func (mr *MockServiceMockRecorder) SetCICDOrigin(origin interface{}) *gomock.Call
SetCICDOrigin indicates an expected call of SetCICDOrigin
func (*MockServiceMockRecorder) Stash ¶
func (mr *MockServiceMockRecorder) Stash() *gomock.Call
Stash indicates an expected call of Stash
func (*MockServiceMockRecorder) StashPop ¶
func (mr *MockServiceMockRecorder) StashPop() *gomock.Call
StashPop indicates an expected call of StashPop