mocks

package
v0.0.0-...-e0dfb26 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func (*Provider) CreateRepository

func (_m *Provider) CreateRepository(ctx context.Context, opts *git.CreateRepoOptions) (string, error)

CreateRepository provides a mock function with given fields: ctx, opts

func (*Provider) GetRepository

func (_m *Provider) GetRepository(ctx context.Context, opts *git.GetRepoOptions) (string, error)

GetRepository provides a mock function with given fields: ctx, opts

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Add

func (_m *Repository) Add(ctx context.Context, pattern string) error

Add provides a mock function with given fields: ctx, pattern

func (*Repository) AddRemote

func (_m *Repository) AddRemote(ctx context.Context, name string, url string) error

AddRemote provides a mock function with given fields: ctx, name, url

func (*Repository) Commit

func (_m *Repository) Commit(ctx context.Context, msg string) (string, error)

Commit provides a mock function with given fields: ctx, msg

func (*Repository) IsNewRepo

func (_m *Repository) IsNewRepo() (bool, error)

IsNewRepo provides a mock function with given fields:

func (*Repository) Push

func (_m *Repository) Push(_a0 context.Context, _a1 *git.PushOptions) error

Push provides a mock function with given fields: _a0, _a1

func (*Repository) Root

func (_m *Repository) Root() (string, error)

Root provides a mock function with given fields:

Jump to

Keyboard shortcuts

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