indexfakes

package
v2.0.43+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeIndex

type FakeIndex struct {
	FindStub func(name, version string) (string, string, error)

	AddStub func(name, version, path, sha1 string) (string, string, error)
	// contains filtered or unexported fields
}

func (*FakeIndex) Add

func (fake *FakeIndex) Add(name string, version string, path string, sha1 string) (string, string, error)

func (*FakeIndex) AddArgsForCall

func (fake *FakeIndex) AddArgsForCall(i int) (string, string, string, string)

func (*FakeIndex) AddCallCount

func (fake *FakeIndex) AddCallCount() int

func (*FakeIndex) AddReturns

func (fake *FakeIndex) AddReturns(result1 string, result2 string, result3 error)

func (*FakeIndex) AddReturnsOnCall

func (fake *FakeIndex) AddReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*FakeIndex) Find

func (fake *FakeIndex) Find(name string, version string) (string, string, error)

func (*FakeIndex) FindArgsForCall

func (fake *FakeIndex) FindArgsForCall(i int) (string, string)

func (*FakeIndex) FindCallCount

func (fake *FakeIndex) FindCallCount() int

func (*FakeIndex) FindReturns

func (fake *FakeIndex) FindReturns(result1 string, result2 string, result3 error)

func (*FakeIndex) FindReturnsOnCall

func (fake *FakeIndex) FindReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*FakeIndex) Invocations

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

type FakeIndexBlobs

type FakeIndexBlobs struct {
	GetStub func(name, blobID, sha1 string) (string, error)

	AddStub func(name, path, sha1 string) (string, string, error)
	// contains filtered or unexported fields
}

func (*FakeIndexBlobs) Add

func (fake *FakeIndexBlobs) Add(name string, path string, sha1 string) (string, string, error)

func (*FakeIndexBlobs) AddArgsForCall

func (fake *FakeIndexBlobs) AddArgsForCall(i int) (string, string, string)

func (*FakeIndexBlobs) AddCallCount

func (fake *FakeIndexBlobs) AddCallCount() int

func (*FakeIndexBlobs) AddReturns

func (fake *FakeIndexBlobs) AddReturns(result1 string, result2 string, result3 error)

func (*FakeIndexBlobs) AddReturnsOnCall

func (fake *FakeIndexBlobs) AddReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*FakeIndexBlobs) Get

func (fake *FakeIndexBlobs) Get(name string, blobID string, sha1 string) (string, error)

func (*FakeIndexBlobs) GetArgsForCall

func (fake *FakeIndexBlobs) GetArgsForCall(i int) (string, string, string)

func (*FakeIndexBlobs) GetCallCount

func (fake *FakeIndexBlobs) GetCallCount() int

func (*FakeIndexBlobs) GetReturns

func (fake *FakeIndexBlobs) GetReturns(result1 string, result2 error)

func (*FakeIndexBlobs) GetReturnsOnCall

func (fake *FakeIndexBlobs) GetReturnsOnCall(i int, result1 string, result2 error)

func (*FakeIndexBlobs) Invocations

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

type FakeReporter

type FakeReporter struct {
	IndexEntryStartedAddingStub func(type_, desc string)

	IndexEntryFinishedAddingStub func(type_, desc string, err error)

	IndexEntryDownloadStartedStub func(type_, desc string)

	IndexEntryDownloadFinishedStub func(type_, desc string, err error)

	IndexEntryUploadStartedStub func(type_, desc string)

	IndexEntryUploadFinishedStub func(type_, desc string, err error)
	// contains filtered or unexported fields
}

func (*FakeReporter) IndexEntryDownloadFinished

func (fake *FakeReporter) IndexEntryDownloadFinished(type_ string, desc string, err error)

func (*FakeReporter) IndexEntryDownloadFinishedArgsForCall

func (fake *FakeReporter) IndexEntryDownloadFinishedArgsForCall(i int) (string, string, error)

func (*FakeReporter) IndexEntryDownloadFinishedCallCount

func (fake *FakeReporter) IndexEntryDownloadFinishedCallCount() int

func (*FakeReporter) IndexEntryDownloadStarted

func (fake *FakeReporter) IndexEntryDownloadStarted(type_ string, desc string)

func (*FakeReporter) IndexEntryDownloadStartedArgsForCall

func (fake *FakeReporter) IndexEntryDownloadStartedArgsForCall(i int) (string, string)

func (*FakeReporter) IndexEntryDownloadStartedCallCount

func (fake *FakeReporter) IndexEntryDownloadStartedCallCount() int

func (*FakeReporter) IndexEntryFinishedAdding

func (fake *FakeReporter) IndexEntryFinishedAdding(type_ string, desc string, err error)

func (*FakeReporter) IndexEntryFinishedAddingArgsForCall

func (fake *FakeReporter) IndexEntryFinishedAddingArgsForCall(i int) (string, string, error)

func (*FakeReporter) IndexEntryFinishedAddingCallCount

func (fake *FakeReporter) IndexEntryFinishedAddingCallCount() int

func (*FakeReporter) IndexEntryStartedAdding

func (fake *FakeReporter) IndexEntryStartedAdding(type_ string, desc string)

func (*FakeReporter) IndexEntryStartedAddingArgsForCall

func (fake *FakeReporter) IndexEntryStartedAddingArgsForCall(i int) (string, string)

func (*FakeReporter) IndexEntryStartedAddingCallCount

func (fake *FakeReporter) IndexEntryStartedAddingCallCount() int

func (*FakeReporter) IndexEntryUploadFinished

func (fake *FakeReporter) IndexEntryUploadFinished(type_ string, desc string, err error)

func (*FakeReporter) IndexEntryUploadFinishedArgsForCall

func (fake *FakeReporter) IndexEntryUploadFinishedArgsForCall(i int) (string, string, error)

func (*FakeReporter) IndexEntryUploadFinishedCallCount

func (fake *FakeReporter) IndexEntryUploadFinishedCallCount() int

func (*FakeReporter) IndexEntryUploadStarted

func (fake *FakeReporter) IndexEntryUploadStarted(type_ string, desc string)

func (*FakeReporter) IndexEntryUploadStartedArgsForCall

func (fake *FakeReporter) IndexEntryUploadStartedArgsForCall(i int) (string, string)

func (*FakeReporter) IndexEntryUploadStartedCallCount

func (fake *FakeReporter) IndexEntryUploadStartedCallCount() int

func (*FakeReporter) Invocations

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

Jump to

Keyboard shortcuts

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