mock_git

package
v1.12.15-0...-edc2ec3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_git is a generated GoMock package.

Index

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

func (m *MockNativeService) BranchList() ([]glow.Branch, string, string, error)

BranchList mocks base method

func (*MockNativeService) CMDExecutor

func (m *MockNativeService) CMDExecutor() cmd.CmdExecutor

CMDExecutor mocks base method

func (*MockNativeService) Checkout

func (m *MockNativeService) Checkout(b glow.Branch) (string, string, error)

Checkout 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) Create

func (m *MockNativeService) Create(b glow.Branch, skipChecks bool) (string, string, error)

Create mocks base method

func (*MockNativeService) CurrentBranch

func (m *MockNativeService) CurrentBranch() (glow.Branch, string, string, error)

CurrentBranch mocks base method

func (*MockNativeService) EXPECT

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

func (m *MockNativeService) RemoteBranchExists(branchName string) (bool, string, string, error)

RemoteBranchExists mocks base method

func (*MockNativeService) SetCICDOrigin

func (m *MockNativeService) SetCICDOrigin(origin string) (string, string, error)

SetCICDOrigin mocks base method

func (*MockNativeService) Stash

func (m *MockNativeService) Stash() (string, string, error)

Stash mocks base method

func (*MockNativeService) StashPop

func (m *MockNativeService) StashPop() (string, string, error)

StashPop 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

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

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

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

func (m *MockService) BranchList() ([]glow.Branch, string, string, error)

BranchList mocks base method

func (*MockService) Checkout

func (m *MockService) Checkout(b glow.Branch) (string, string, error)

Checkout 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) Create

func (m *MockService) Create(b glow.Branch, skipChecks bool) (string, string, error)

Create mocks base method

func (*MockService) CurrentBranch

func (m *MockService) CurrentBranch() (glow.Branch, string, string, error)

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

func (m *MockService) RemoteBranchExists(branchName string) (bool, string, string, error)

RemoteBranchExists mocks base method

func (*MockService) SetCICDOrigin

func (m *MockService) SetCICDOrigin(origin string) (string, string, error)

SetCICDOrigin mocks base method

func (*MockService) Stash

func (m *MockService) Stash() (string, string, error)

Stash mocks base method

func (*MockService) StashPop

func (m *MockService) StashPop() (string, string, error)

StashPop 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL