Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeGit
- func (fake *FakeGit) Checkout(arg1 string) error
- func (fake *FakeGit) CheckoutArgsForCall(i int) string
- func (fake *FakeGit) CheckoutCallCount() int
- func (fake *FakeGit) CheckoutCalls(stub func(string) error)
- func (fake *FakeGit) CheckoutReturns(result1 error)
- func (fake *FakeGit) CheckoutReturnsOnCall(i int, result1 error)
- func (fake *FakeGit) Clone(arg1 context.Context, arg2 string, arg3 string, arg4 string) (bool, error)
- func (fake *FakeGit) CloneArgsForCall(i int) (context.Context, string, string, string)
- func (fake *FakeGit) CloneCallCount() int
- func (fake *FakeGit) CloneCalls(stub func(context.Context, string, string, string) (bool, error))
- func (fake *FakeGit) CloneReturns(result1 bool, result2 error)
- func (fake *FakeGit) CloneReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeGit) Commit(arg1 git.Commit, arg2 ...func(string) bool) (string, error)
- func (fake *FakeGit) CommitArgsForCall(i int) (git.Commit, []func(string) bool)
- func (fake *FakeGit) CommitCallCount() int
- func (fake *FakeGit) CommitCalls(stub func(git.Commit, ...func(string) bool) (string, error))
- func (fake *FakeGit) CommitReturns(result1 string, result2 error)
- func (fake *FakeGit) CommitReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeGit) GetRemoteURL(arg1 string, arg2 string) (string, error)
- func (fake *FakeGit) GetRemoteURLArgsForCall(i int) (string, string)
- func (fake *FakeGit) GetRemoteURLCallCount() int
- func (fake *FakeGit) GetRemoteURLCalls(stub func(string, string) (string, error))
- func (fake *FakeGit) GetRemoteURLReturns(result1 string, result2 error)
- func (fake *FakeGit) GetRemoteURLReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeGit) Head() (string, error)
- func (fake *FakeGit) HeadCallCount() int
- func (fake *FakeGit) HeadCalls(stub func() (string, error))
- func (fake *FakeGit) HeadReturns(result1 string, result2 error)
- func (fake *FakeGit) HeadReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeGit) Init(arg1 string, arg2 string, arg3 string) (bool, error)
- func (fake *FakeGit) InitArgsForCall(i int) (string, string, string)
- func (fake *FakeGit) InitCallCount() int
- func (fake *FakeGit) InitCalls(stub func(string, string, string) (bool, error))
- func (fake *FakeGit) InitReturns(result1 bool, result2 error)
- func (fake *FakeGit) InitReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeGit) Invocations() map[string][][]interface{}
- func (fake *FakeGit) Open(arg1 string) (*gita.Repository, error)
- func (fake *FakeGit) OpenArgsForCall(i int) string
- func (fake *FakeGit) OpenCallCount() int
- func (fake *FakeGit) OpenCalls(stub func(string) (*gita.Repository, error))
- func (fake *FakeGit) OpenReturns(result1 *gita.Repository, result2 error)
- func (fake *FakeGit) OpenReturnsOnCall(i int, result1 *gita.Repository, result2 error)
- func (fake *FakeGit) Push(arg1 context.Context) error
- func (fake *FakeGit) PushArgsForCall(i int) context.Context
- func (fake *FakeGit) PushCallCount() int
- func (fake *FakeGit) PushCalls(stub func(context.Context) error)
- func (fake *FakeGit) PushReturns(result1 error)
- func (fake *FakeGit) PushReturnsOnCall(i int, result1 error)
- func (fake *FakeGit) Read(arg1 string) ([]byte, error)
- func (fake *FakeGit) ReadArgsForCall(i int) string
- func (fake *FakeGit) ReadCallCount() int
- func (fake *FakeGit) ReadCalls(stub func(string) ([]byte, error))
- func (fake *FakeGit) ReadReturns(result1 []byte, result2 error)
- func (fake *FakeGit) ReadReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeGit) Remove(arg1 string) error
- func (fake *FakeGit) RemoveArgsForCall(i int) string
- func (fake *FakeGit) RemoveCallCount() int
- func (fake *FakeGit) RemoveCalls(stub func(string) error)
- func (fake *FakeGit) RemoveReturns(result1 error)
- func (fake *FakeGit) RemoveReturnsOnCall(i int, result1 error)
- func (fake *FakeGit) Status() (bool, error)
- func (fake *FakeGit) StatusCallCount() int
- func (fake *FakeGit) StatusCalls(stub func() (bool, error))
- func (fake *FakeGit) StatusReturns(result1 bool, result2 error)
- func (fake *FakeGit) StatusReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeGit) ValidateAccess(arg1 context.Context, arg2 string, arg3 string) error
- func (fake *FakeGit) ValidateAccessArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeGit) ValidateAccessCallCount() int
- func (fake *FakeGit) ValidateAccessCalls(stub func(context.Context, string, string) error)
- func (fake *FakeGit) ValidateAccessReturns(result1 error)
- func (fake *FakeGit) ValidateAccessReturnsOnCall(i int, result1 error)
- func (fake *FakeGit) Write(arg1 string, arg2 []byte) error
- func (fake *FakeGit) WriteArgsForCall(i int) (string, []byte)
- func (fake *FakeGit) WriteCallCount() int
- func (fake *FakeGit) WriteCalls(stub func(string, []byte) error)
- func (fake *FakeGit) WriteReturns(result1 error)
- func (fake *FakeGit) WriteReturnsOnCall(i int, result1 error)
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) CheckoutArgsForCall ¶ added in v0.6.0
func (*FakeGit) CheckoutCallCount ¶ added in v0.6.0
func (*FakeGit) CheckoutCalls ¶ added in v0.6.0
func (*FakeGit) CheckoutReturns ¶ added in v0.6.0
func (*FakeGit) CheckoutReturnsOnCall ¶ added in v0.6.0
func (*FakeGit) CloneArgsForCall ¶
func (*FakeGit) CloneCallCount ¶
func (*FakeGit) CloneCalls ¶
func (*FakeGit) CloneReturns ¶
func (*FakeGit) CloneReturnsOnCall ¶
func (*FakeGit) CommitArgsForCall ¶
func (*FakeGit) CommitCallCount ¶
func (*FakeGit) CommitCalls ¶
func (*FakeGit) CommitReturns ¶
func (*FakeGit) CommitReturnsOnCall ¶
func (*FakeGit) GetRemoteURL ¶ added in v0.9.5
func (*FakeGit) GetRemoteURLArgsForCall ¶ added in v0.9.5
func (*FakeGit) GetRemoteURLCallCount ¶ added in v0.9.5
func (*FakeGit) GetRemoteURLCalls ¶ added in v0.9.5
func (*FakeGit) GetRemoteURLReturns ¶ added in v0.9.5
func (*FakeGit) GetRemoteURLReturnsOnCall ¶ added in v0.9.5
func (*FakeGit) HeadCallCount ¶
func (*FakeGit) HeadReturns ¶
func (*FakeGit) HeadReturnsOnCall ¶
func (*FakeGit) InitArgsForCall ¶
func (*FakeGit) InitCallCount ¶
func (*FakeGit) InitReturns ¶
func (*FakeGit) InitReturnsOnCall ¶
func (*FakeGit) Invocations ¶
func (*FakeGit) OpenArgsForCall ¶
func (*FakeGit) OpenCallCount ¶
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) PushCallCount ¶
func (*FakeGit) PushReturns ¶
func (*FakeGit) PushReturnsOnCall ¶
func (*FakeGit) ReadArgsForCall ¶ added in v0.6.1
func (*FakeGit) ReadCallCount ¶ added in v0.6.1
func (*FakeGit) ReadReturns ¶ added in v0.6.1
func (*FakeGit) ReadReturnsOnCall ¶ added in v0.6.1
func (*FakeGit) RemoveArgsForCall ¶ added in v0.2.2
func (*FakeGit) RemoveCallCount ¶ added in v0.2.2
func (*FakeGit) RemoveCalls ¶ added in v0.2.2
func (*FakeGit) RemoveReturns ¶ added in v0.2.2
func (*FakeGit) RemoveReturnsOnCall ¶ added in v0.2.2
func (*FakeGit) StatusCallCount ¶
func (*FakeGit) StatusCalls ¶
func (*FakeGit) StatusReturns ¶
func (*FakeGit) StatusReturnsOnCall ¶
func (*FakeGit) ValidateAccess ¶ added in v0.2.3
func (*FakeGit) ValidateAccessArgsForCall ¶ added in v0.2.3
func (*FakeGit) ValidateAccessCallCount ¶ added in v0.2.3
func (*FakeGit) ValidateAccessCalls ¶ added in v0.2.3
func (*FakeGit) ValidateAccessReturns ¶ added in v0.2.3
func (*FakeGit) ValidateAccessReturnsOnCall ¶ added in v0.2.3
func (*FakeGit) WriteCallCount ¶
func (*FakeGit) WriteReturns ¶
func (*FakeGit) WriteReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.