mock_git

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 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 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) Clone

func (m *MockGit) Clone(ctx context.Context, dir string, src git.TargetSource) error

Clone mocks base method

func (*MockGit) EXPECT

func (m *MockGit) EXPECT() *MockGitMockRecorder

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

type MockGitMockRecorder

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

MockGitMockRecorder is the mock recorder for MockGit

func (*MockGitMockRecorder) Clone

func (mr *MockGitMockRecorder) Clone(ctx, dir, src interface{}) *gomock.Call

Clone indicates an expected call of Clone

type MockTargetSource

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

MockTargetSource is a mock of TargetSource interface

func NewMockTargetSource

func NewMockTargetSource(ctrl *gomock.Controller) *MockTargetSource

NewMockTargetSource creates a new mock instance

func (*MockTargetSource) EXPECT

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

func (*MockTargetSource) GetCloneURL

func (m *MockTargetSource) GetCloneURL() string

GetCloneURL mocks base method

func (*MockTargetSource) GetRef

func (m *MockTargetSource) GetRef() string

GetRef mocks base method

func (*MockTargetSource) GetSHA

func (m *MockTargetSource) GetSHA() plumbing.Hash

GetSHA mocks base method

func (*MockTargetSource) GetSSHURL

func (m *MockTargetSource) GetSSHURL() string

GetSSHURL mocks base method

type MockTargetSourceMockRecorder

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

MockTargetSourceMockRecorder is the mock recorder for MockTargetSource

func (*MockTargetSourceMockRecorder) GetCloneURL

func (mr *MockTargetSourceMockRecorder) GetCloneURL() *gomock.Call

GetCloneURL indicates an expected call of GetCloneURL

func (*MockTargetSourceMockRecorder) GetRef

GetRef indicates an expected call of GetRef

func (*MockTargetSourceMockRecorder) GetSHA

GetSHA indicates an expected call of GetSHA

func (*MockTargetSourceMockRecorder) GetSSHURL

func (mr *MockTargetSourceMockRecorder) GetSSHURL() *gomock.Call

GetSSHURL indicates an expected call of GetSSHURL

Jump to

Keyboard shortcuts

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