cloner

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package cloner is a generated GoMock package.

Index

Constants

View Source
const (
	GitDirectory = ".git"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloner

type Cloner interface {
	CloneFromUrl(url, branchName string) error
}

func GetInstance

func GetInstance() Cloner

type MockCloner

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

MockCloner is a mock of Cloner interface.

func NewMockCloner

func NewMockCloner(ctrl *gomock.Controller) *MockCloner

NewMockCloner creates a new mock instance.

func (*MockCloner) CloneFromUrl

func (m *MockCloner) CloneFromUrl(url, branchName string) error

CloneFromUrl mocks base method.

func (*MockCloner) EXPECT

func (m *MockCloner) EXPECT() *MockClonerMockRecorder

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

type MockClonerMockRecorder

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

MockClonerMockRecorder is the mock recorder for MockCloner.

func (*MockClonerMockRecorder) CloneFromUrl

func (mr *MockClonerMockRecorder) CloneFromUrl(url, branchName interface{}) *gomock.Call

CloneFromUrl indicates an expected call of CloneFromUrl.

Jump to

Keyboard shortcuts

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