gitclientfakes

package
v26.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

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 (fake *FakeClient) BranchCredentialCounts(arg1 lager.Logger, arg2 string, arg3 sniff.Sniffer, arg4 git.BranchType) (map[string]uint, error)

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) Diff

func (fake *FakeClient) Diff(repositoryPath string, a *git.Oid, b *git.Oid) (string, error)

func (*FakeClient) DiffArgsForCall

func (fake *FakeClient) DiffArgsForCall(i int) (string, *git.Oid, *git.Oid)

func (*FakeClient) DiffCallCount

func (fake *FakeClient) DiffCallCount() int

func (*FakeClient) DiffReturns

func (fake *FakeClient) DiffReturns(result1 string, result2 error)

func (*FakeClient) Fetch

func (fake *FakeClient) Fetch(arg1 string) (map[string][]*git.Oid, 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) HardReset

func (fake *FakeClient) HardReset(arg1 string, arg2 *git.Oid) 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{}

Jump to

Keyboard shortcuts

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