gitfakes

package
v0.0.4-rc0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGit

type FakeGit struct {
	CloneStub func(context.Context, string, string, string) (bool, error)

	CommitStub func(git.Commit) (string, error)

	HeadStub func() (string, error)

	InitStub func(string, string, string) (bool, error)

	OpenStub func(string) (*gita.Repository, error)

	PushStub func(context.Context) error

	StatusStub func() (bool, error)

	WriteStub func(string, []byte) error
	// contains filtered or unexported fields
}

func (*FakeGit) Clone

func (fake *FakeGit) Clone(arg1 context.Context, arg2 string, arg3 string, arg4 string) (bool, error)

func (*FakeGit) CloneArgsForCall

func (fake *FakeGit) CloneArgsForCall(i int) (context.Context, string, string, string)

func (*FakeGit) CloneCallCount

func (fake *FakeGit) CloneCallCount() int

func (*FakeGit) CloneCalls

func (fake *FakeGit) CloneCalls(stub func(context.Context, string, string, string) (bool, error))

func (*FakeGit) CloneReturns

func (fake *FakeGit) CloneReturns(result1 bool, result2 error)

func (*FakeGit) CloneReturnsOnCall

func (fake *FakeGit) CloneReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeGit) Commit

func (fake *FakeGit) Commit(arg1 git.Commit) (string, error)

func (*FakeGit) CommitArgsForCall

func (fake *FakeGit) CommitArgsForCall(i int) git.Commit

func (*FakeGit) CommitCallCount

func (fake *FakeGit) CommitCallCount() int

func (*FakeGit) CommitCalls

func (fake *FakeGit) CommitCalls(stub func(git.Commit) (string, error))

func (*FakeGit) CommitReturns

func (fake *FakeGit) CommitReturns(result1 string, result2 error)

func (*FakeGit) CommitReturnsOnCall

func (fake *FakeGit) CommitReturnsOnCall(i int, result1 string, result2 error)

func (*FakeGit) Head

func (fake *FakeGit) Head() (string, error)

func (*FakeGit) HeadCallCount

func (fake *FakeGit) HeadCallCount() int

func (*FakeGit) HeadCalls

func (fake *FakeGit) HeadCalls(stub func() (string, error))

func (*FakeGit) HeadReturns

func (fake *FakeGit) HeadReturns(result1 string, result2 error)

func (*FakeGit) HeadReturnsOnCall

func (fake *FakeGit) HeadReturnsOnCall(i int, result1 string, result2 error)

func (*FakeGit) Init

func (fake *FakeGit) Init(arg1 string, arg2 string, arg3 string) (bool, error)

func (*FakeGit) InitArgsForCall

func (fake *FakeGit) InitArgsForCall(i int) (string, string, string)

func (*FakeGit) InitCallCount

func (fake *FakeGit) InitCallCount() int

func (*FakeGit) InitCalls

func (fake *FakeGit) InitCalls(stub func(string, string, string) (bool, error))

func (*FakeGit) InitReturns

func (fake *FakeGit) InitReturns(result1 bool, result2 error)

func (*FakeGit) InitReturnsOnCall

func (fake *FakeGit) InitReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeGit) Invocations

func (fake *FakeGit) Invocations() map[string][][]interface{}

func (*FakeGit) Open

func (fake *FakeGit) Open(arg1 string) (*gita.Repository, error)

func (*FakeGit) OpenArgsForCall

func (fake *FakeGit) OpenArgsForCall(i int) string

func (*FakeGit) OpenCallCount

func (fake *FakeGit) OpenCallCount() int

func (*FakeGit) OpenCalls

func (fake *FakeGit) OpenCalls(stub func(string) (*gita.Repository, error))

func (*FakeGit) OpenReturns

func (fake *FakeGit) OpenReturns(result1 *gita.Repository, result2 error)

func (*FakeGit) OpenReturnsOnCall

func (fake *FakeGit) OpenReturnsOnCall(i int, result1 *gita.Repository, result2 error)

func (*FakeGit) Push

func (fake *FakeGit) Push(arg1 context.Context) error

func (*FakeGit) PushArgsForCall

func (fake *FakeGit) PushArgsForCall(i int) context.Context

func (*FakeGit) PushCallCount

func (fake *FakeGit) PushCallCount() int

func (*FakeGit) PushCalls

func (fake *FakeGit) PushCalls(stub func(context.Context) error)

func (*FakeGit) PushReturns

func (fake *FakeGit) PushReturns(result1 error)

func (*FakeGit) PushReturnsOnCall

func (fake *FakeGit) PushReturnsOnCall(i int, result1 error)

func (*FakeGit) Status

func (fake *FakeGit) Status() (bool, error)

func (*FakeGit) StatusCallCount

func (fake *FakeGit) StatusCallCount() int

func (*FakeGit) StatusCalls

func (fake *FakeGit) StatusCalls(stub func() (bool, error))

func (*FakeGit) StatusReturns

func (fake *FakeGit) StatusReturns(result1 bool, result2 error)

func (*FakeGit) StatusReturnsOnCall

func (fake *FakeGit) StatusReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeGit) Write

func (fake *FakeGit) Write(arg1 string, arg2 []byte) error

func (*FakeGit) WriteArgsForCall

func (fake *FakeGit) WriteArgsForCall(i int) (string, []byte)

func (*FakeGit) WriteCallCount

func (fake *FakeGit) WriteCallCount() int

func (*FakeGit) WriteCalls

func (fake *FakeGit) WriteCalls(stub func(string, []byte) error)

func (*FakeGit) WriteReturns

func (fake *FakeGit) WriteReturns(result1 error)

func (*FakeGit) WriteReturnsOnCall

func (fake *FakeGit) WriteReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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