Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeClient
- func (fake *FakeClient) BranchCredentialCounts(arg1 lager.Logger, arg2 string, arg3 sniff.Sniffer, arg4 git.BranchType) (map[string]uint, error)
- func (fake *FakeClient) BranchCredentialCountsArgsForCall(i int) (lager.Logger, string, sniff.Sniffer, git.BranchType)
- func (fake *FakeClient) BranchCredentialCountsCallCount() int
- func (fake *FakeClient) BranchCredentialCountsReturns(result1 map[string]uint, result2 error)
- func (fake *FakeClient) BranchTargets(arg1 string) (map[string]string, error)
- func (fake *FakeClient) BranchTargetsArgsForCall(i int) string
- func (fake *FakeClient) BranchTargetsCallCount() int
- func (fake *FakeClient) BranchTargetsReturns(result1 map[string]string, result2 error)
- func (fake *FakeClient) Clone(arg1 string, arg2 string) (*git.Repository, error)
- func (fake *FakeClient) CloneArgsForCall(i int) (string, string)
- func (fake *FakeClient) CloneCallCount() int
- func (fake *FakeClient) CloneReturns(result1 *git.Repository, result2 error)
- func (fake *FakeClient) Diff(repositoryPath string, a *git.Oid, b *git.Oid) (string, error)
- func (fake *FakeClient) DiffArgsForCall(i int) (string, *git.Oid, *git.Oid)
- func (fake *FakeClient) DiffCallCount() int
- func (fake *FakeClient) DiffReturns(result1 string, result2 error)
- func (fake *FakeClient) Fetch(arg1 string) (map[string][]*git.Oid, error)
- func (fake *FakeClient) FetchArgsForCall(i int) string
- func (fake *FakeClient) FetchCallCount() int
- func (fake *FakeClient) FetchReturns(result1 map[string][]*git.Oid, result2 error)
- func (fake *FakeClient) GetParents(arg1 *git.Repository, arg2 *git.Oid) ([]*git.Oid, error)
- func (fake *FakeClient) GetParentsArgsForCall(i int) (*git.Repository, *git.Oid)
- func (fake *FakeClient) GetParentsCallCount() int
- func (fake *FakeClient) GetParentsReturns(result1 []*git.Oid, result2 error)
- func (fake *FakeClient) HardReset(arg1 string, arg2 *git.Oid) error
- func (fake *FakeClient) HardResetArgsForCall(i int) (string, *git.Oid)
- func (fake *FakeClient) HardResetCallCount() int
- func (fake *FakeClient) HardResetReturns(result1 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- type FakeLooper
- func (fake *FakeLooper) Invocations() map[string][][]interface{}
- func (fake *FakeLooper) ScanCurrentState(repositoryPath string, callback gitclient.ScanCallback) error
- func (fake *FakeLooper) ScanCurrentStateArgsForCall(i int) (string, gitclient.ScanCallback)
- func (fake *FakeLooper) ScanCurrentStateCallCount() int
- func (fake *FakeLooper) ScanCurrentStateReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { BranchTargetsStub func(string) (map[string]string, error) CloneStub func(string, string) (*git.Repository, error) GetParentsStub func(*git.Repository, *git.Oid) ([]*git.Oid, error) FetchStub func(string) (map[string][]*git.Oid, error) HardResetStub func(string, *git.Oid) error DiffStub func(repositoryPath string, a, b *git.Oid) (string, error) BranchCredentialCountsStub func(lager.Logger, string, sniff.Sniffer, git.BranchType) (map[string]uint, error) // contains filtered or unexported fields }
func (*FakeClient) BranchCredentialCounts ¶
func (*FakeClient) BranchCredentialCountsArgsForCall ¶
func (fake *FakeClient) BranchCredentialCountsArgsForCall(i int) (lager.Logger, string, sniff.Sniffer, git.BranchType)
func (*FakeClient) BranchCredentialCountsCallCount ¶
func (fake *FakeClient) BranchCredentialCountsCallCount() int
func (*FakeClient) BranchCredentialCountsReturns ¶
func (fake *FakeClient) BranchCredentialCountsReturns(result1 map[string]uint, result2 error)
func (*FakeClient) BranchTargets ¶
func (fake *FakeClient) BranchTargets(arg1 string) (map[string]string, error)
func (*FakeClient) BranchTargetsArgsForCall ¶
func (fake *FakeClient) BranchTargetsArgsForCall(i int) string
func (*FakeClient) BranchTargetsCallCount ¶
func (fake *FakeClient) BranchTargetsCallCount() int
func (*FakeClient) BranchTargetsReturns ¶
func (fake *FakeClient) BranchTargetsReturns(result1 map[string]string, result2 error)
func (*FakeClient) Clone ¶
func (fake *FakeClient) Clone(arg1 string, arg2 string) (*git.Repository, error)
func (*FakeClient) CloneArgsForCall ¶
func (fake *FakeClient) CloneArgsForCall(i int) (string, string)
func (*FakeClient) CloneCallCount ¶
func (fake *FakeClient) CloneCallCount() int
func (*FakeClient) CloneReturns ¶
func (fake *FakeClient) CloneReturns(result1 *git.Repository, result2 error)
func (*FakeClient) DiffArgsForCall ¶
func (*FakeClient) DiffCallCount ¶
func (fake *FakeClient) DiffCallCount() int
func (*FakeClient) DiffReturns ¶
func (fake *FakeClient) DiffReturns(result1 string, result2 error)
func (*FakeClient) FetchArgsForCall ¶
func (fake *FakeClient) FetchArgsForCall(i int) string
func (*FakeClient) FetchCallCount ¶
func (fake *FakeClient) FetchCallCount() int
func (*FakeClient) FetchReturns ¶
func (fake *FakeClient) FetchReturns(result1 map[string][]*git.Oid, result2 error)
func (*FakeClient) GetParents ¶
func (fake *FakeClient) GetParents(arg1 *git.Repository, arg2 *git.Oid) ([]*git.Oid, error)
func (*FakeClient) GetParentsArgsForCall ¶
func (fake *FakeClient) GetParentsArgsForCall(i int) (*git.Repository, *git.Oid)
func (*FakeClient) GetParentsCallCount ¶
func (fake *FakeClient) GetParentsCallCount() int
func (*FakeClient) GetParentsReturns ¶
func (fake *FakeClient) GetParentsReturns(result1 []*git.Oid, result2 error)
func (*FakeClient) HardResetArgsForCall ¶
func (fake *FakeClient) HardResetArgsForCall(i int) (string, *git.Oid)
func (*FakeClient) HardResetCallCount ¶
func (fake *FakeClient) HardResetCallCount() int
func (*FakeClient) HardResetReturns ¶
func (fake *FakeClient) HardResetReturns(result1 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
type FakeLooper ¶
type FakeLooper struct { ScanCurrentStateStub func(repositoryPath string, callback gitclient.ScanCallback) error // contains filtered or unexported fields }
func (*FakeLooper) Invocations ¶
func (fake *FakeLooper) Invocations() map[string][][]interface{}
func (*FakeLooper) ScanCurrentState ¶
func (fake *FakeLooper) ScanCurrentState(repositoryPath string, callback gitclient.ScanCallback) error
func (*FakeLooper) ScanCurrentStateArgsForCall ¶
func (fake *FakeLooper) ScanCurrentStateArgsForCall(i int) (string, gitclient.ScanCallback)
func (*FakeLooper) ScanCurrentStateCallCount ¶
func (fake *FakeLooper) ScanCurrentStateCallCount() int
func (*FakeLooper) ScanCurrentStateReturns ¶
func (fake *FakeLooper) ScanCurrentStateReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.