gitfakes

package
v0.7.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 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 {
	CheckoutStub func(string) error

	CloneStub func(context.Context, string, string, string) (bool, error)

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

	GetRemoteUrlStub func(string, string) (string, error)

	HeadStub func() (string, error)

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

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

	PushStub func(context.Context) error

	ReadStub func(string) ([]byte, error)

	RemoveStub func(string) error

	StatusStub func() (bool, error)

	ValidateAccessStub func(context.Context, string, string) error

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

func (*FakeGit) Checkout added in v0.6.0

func (fake *FakeGit) Checkout(arg1 string) error

func (*FakeGit) CheckoutArgsForCall added in v0.6.0

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

func (*FakeGit) CheckoutCallCount added in v0.6.0

func (fake *FakeGit) CheckoutCallCount() int

func (*FakeGit) CheckoutCalls added in v0.6.0

func (fake *FakeGit) CheckoutCalls(stub func(string) error)

func (*FakeGit) CheckoutReturns added in v0.6.0

func (fake *FakeGit) CheckoutReturns(result1 error)

func (*FakeGit) CheckoutReturnsOnCall added in v0.6.0

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

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, arg2 ...func(string) bool) (string, error)

func (*FakeGit) CommitArgsForCall

func (fake *FakeGit) CommitArgsForCall(i int) (git.Commit, []func(string) bool)

func (*FakeGit) CommitCallCount

func (fake *FakeGit) CommitCallCount() int

func (*FakeGit) CommitCalls

func (fake *FakeGit) CommitCalls(stub func(git.Commit, ...func(string) bool) (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) GetRemoteUrl added in v0.2.3

func (fake *FakeGit) GetRemoteUrl(arg1 string, arg2 string) (string, error)

func (*FakeGit) GetRemoteUrlArgsForCall added in v0.2.3

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

func (*FakeGit) GetRemoteUrlCallCount added in v0.2.3

func (fake *FakeGit) GetRemoteUrlCallCount() int

func (*FakeGit) GetRemoteUrlCalls added in v0.2.3

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

func (*FakeGit) GetRemoteUrlReturns added in v0.2.3

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

func (*FakeGit) GetRemoteUrlReturnsOnCall added in v0.2.3

func (fake *FakeGit) GetRemoteUrlReturnsOnCall(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) Read added in v0.6.1

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

func (*FakeGit) ReadArgsForCall added in v0.6.1

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

func (*FakeGit) ReadCallCount added in v0.6.1

func (fake *FakeGit) ReadCallCount() int

func (*FakeGit) ReadCalls added in v0.6.1

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

func (*FakeGit) ReadReturns added in v0.6.1

func (fake *FakeGit) ReadReturns(result1 []byte, result2 error)

func (*FakeGit) ReadReturnsOnCall added in v0.6.1

func (fake *FakeGit) ReadReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeGit) Remove added in v0.2.2

func (fake *FakeGit) Remove(arg1 string) error

func (*FakeGit) RemoveArgsForCall added in v0.2.2

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

func (*FakeGit) RemoveCallCount added in v0.2.2

func (fake *FakeGit) RemoveCallCount() int

func (*FakeGit) RemoveCalls added in v0.2.2

func (fake *FakeGit) RemoveCalls(stub func(string) error)

func (*FakeGit) RemoveReturns added in v0.2.2

func (fake *FakeGit) RemoveReturns(result1 error)

func (*FakeGit) RemoveReturnsOnCall added in v0.2.2

func (fake *FakeGit) RemoveReturnsOnCall(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) ValidateAccess added in v0.2.3

func (fake *FakeGit) ValidateAccess(arg1 context.Context, arg2 string, arg3 string) error

func (*FakeGit) ValidateAccessArgsForCall added in v0.2.3

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

func (*FakeGit) ValidateAccessCallCount added in v0.2.3

func (fake *FakeGit) ValidateAccessCallCount() int

func (*FakeGit) ValidateAccessCalls added in v0.2.3

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

func (*FakeGit) ValidateAccessReturns added in v0.2.3

func (fake *FakeGit) ValidateAccessReturns(result1 error)

func (*FakeGit) ValidateAccessReturnsOnCall added in v0.2.3

func (fake *FakeGit) ValidateAccessReturnsOnCall(i int, result1 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