mocks

package
v0.0.0-...-6db64f3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks 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) EXPECT

func (m *MockGit) EXPECT() *MockGitMockRecorder

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

func (*MockGit) Fetch

func (m *MockGit) Fetch(arg0 *git.Repository) (string, error)

Fetch mocks base method

func (*MockGit) GetLocation

func (m *MockGit) GetLocation() string

GetLocation mocks base method

func (*MockGit) PlainClone

func (m *MockGit) PlainClone() (string, error)

PlainClone mocks base method

func (*MockGit) PlainOpen

func (m *MockGit) PlainOpen() (*git.Repository, error)

PlainOpen mocks base method

func (*MockGit) Pull

func (m *MockGit) Pull(arg0 *git.Worktree) (string, error)

Pull mocks base method

type MockGitMockRecorder

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

MockGitMockRecorder is the mock recorder for MockGit

func (*MockGitMockRecorder) Fetch

func (mr *MockGitMockRecorder) Fetch(arg0 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

func (*MockGitMockRecorder) GetLocation

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

GetLocation indicates an expected call of GetLocation

func (*MockGitMockRecorder) PlainClone

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

PlainClone indicates an expected call of PlainClone

func (*MockGitMockRecorder) PlainOpen

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

PlainOpen indicates an expected call of PlainOpen

func (*MockGitMockRecorder) Pull

func (mr *MockGitMockRecorder) Pull(arg0 interface{}) *gomock.Call

Pull indicates an expected call of Pull

Jump to

Keyboard shortcuts

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