mock_git

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 2 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 MockGit

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

MockGit is a mock of Git interface.

func NewMockGit

func NewMockGit(ctrl *gomock.Controller) *MockGit

NewMockGit creates a new mock instance.

func (*MockGit) Add

func (m *MockGit) Add(path string) error

Add mocks base method.

func (*MockGit) CheckOut

func (m *MockGit) CheckOut(target string) error

CheckOut mocks base method.

func (*MockGit) Clone

func (m *MockGit) Clone(url string) error

Clone mocks base method.

func (*MockGit) Close added in v1.0.8

func (m *MockGit) Close() error

Close mocks base method.

func (*MockGit) Commit

func (m *MockGit) Commit(message string) error

Commit mocks base method.

func (*MockGit) EXPECT

func (m *MockGit) EXPECT() *MockGitMockRecorder

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

func (*MockGit) GetDestination added in v1.0.8

func (m *MockGit) GetDestination() string

GetDestination mocks base method.

func (*MockGit) Push

func (m *MockGit) Push(target string) error

Push mocks base method.

func (*MockGit) Status

func (m *MockGit) Status() error

Status mocks base method.

type MockGitMockRecorder

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

MockGitMockRecorder is the mock recorder for MockGit.

func (*MockGitMockRecorder) Add

func (mr *MockGitMockRecorder) Add(path any) *gomock.Call

Add indicates an expected call of Add.

func (*MockGitMockRecorder) CheckOut

func (mr *MockGitMockRecorder) CheckOut(target any) *gomock.Call

CheckOut indicates an expected call of CheckOut.

func (*MockGitMockRecorder) Clone

func (mr *MockGitMockRecorder) Clone(url any) *gomock.Call

Clone indicates an expected call of Clone.

func (*MockGitMockRecorder) Close added in v1.0.8

func (mr *MockGitMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockGitMockRecorder) Commit

func (mr *MockGitMockRecorder) Commit(message any) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockGitMockRecorder) GetDestination added in v1.0.8

func (mr *MockGitMockRecorder) GetDestination() *gomock.Call

GetDestination indicates an expected call of GetDestination.

func (*MockGitMockRecorder) Push

func (mr *MockGitMockRecorder) Push(target any) *gomock.Call

Push indicates an expected call of Push.

func (*MockGitMockRecorder) Status

func (mr *MockGitMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

Jump to

Keyboard shortcuts

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