mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 4 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 MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) Add

func (m *MockProvider) Add(arg0 string) error

Add mocks base method.

func (*MockProvider) Branch

func (m *MockProvider) Branch(arg0 string) error

Branch mocks base method.

func (*MockProvider) Clone

func (m *MockProvider) Clone(arg0 context.Context) error

Clone mocks base method.

func (*MockProvider) Commit

func (m *MockProvider) Commit(arg0 string) error

Commit mocks base method.

func (*MockProvider) CreateRepo

func (m *MockProvider) CreateRepo(arg0 context.Context, arg1 git.CreateRepoOpts) (*git.Repository, error)

CreateRepo mocks base method.

func (*MockProvider) EXPECT

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

func (*MockProvider) GetRepo

func (m *MockProvider) GetRepo(arg0 context.Context) (*git.Repository, error)

GetRepo mocks base method.

func (*MockProvider) Init

func (m *MockProvider) Init() error

Init mocks base method.

func (*MockProvider) PathExists

func (m *MockProvider) PathExists(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)

PathExists mocks base method.

func (*MockProvider) Pull

func (m *MockProvider) Pull(arg0 context.Context, arg1 string) error

Pull mocks base method.

func (*MockProvider) Push

func (m *MockProvider) Push(arg0 context.Context) error

Push mocks base method.

func (*MockProvider) Remove

func (m *MockProvider) Remove(arg0 string) error

Remove mocks base method.

func (*MockProvider) Validate

func (m *MockProvider) Validate(arg0 context.Context) error

Validate mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) Add

func (mr *MockProviderMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockProviderMockRecorder) Branch

func (mr *MockProviderMockRecorder) Branch(arg0 interface{}) *gomock.Call

Branch indicates an expected call of Branch.

func (*MockProviderMockRecorder) Clone

func (mr *MockProviderMockRecorder) Clone(arg0 interface{}) *gomock.Call

Clone indicates an expected call of Clone.

func (*MockProviderMockRecorder) Commit

func (mr *MockProviderMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockProviderMockRecorder) CreateRepo

func (mr *MockProviderMockRecorder) CreateRepo(arg0, arg1 interface{}) *gomock.Call

CreateRepo indicates an expected call of CreateRepo.

func (*MockProviderMockRecorder) GetRepo

func (mr *MockProviderMockRecorder) GetRepo(arg0 interface{}) *gomock.Call

GetRepo indicates an expected call of GetRepo.

func (*MockProviderMockRecorder) Init

func (mr *MockProviderMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init.

func (*MockProviderMockRecorder) PathExists

func (mr *MockProviderMockRecorder) PathExists(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

PathExists indicates an expected call of PathExists.

func (*MockProviderMockRecorder) Pull

func (mr *MockProviderMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockProviderMockRecorder) Push

func (mr *MockProviderMockRecorder) Push(arg0 interface{}) *gomock.Call

Push indicates an expected call of Push.

func (*MockProviderMockRecorder) Remove

func (mr *MockProviderMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockProviderMockRecorder) Validate

func (mr *MockProviderMockRecorder) Validate(arg0 interface{}) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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