repository_fetcherfakes

package
v0.0.0-...-6c5b0a6 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 8 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.

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 FakeDialer

type FakeDialer struct {
	DialStub func(logger lager.Logger, host, repo, username, password string) (distclient.Conn, error)
	// contains filtered or unexported fields
}

func (*FakeDialer) Dial

func (fake *FakeDialer) Dial(logger lager.Logger, host string, repo string, username string, password string) (distclient.Conn, error)

func (*FakeDialer) DialArgsForCall

func (fake *FakeDialer) DialArgsForCall(i int) (lager.Logger, string, string, string, string)

func (*FakeDialer) DialCallCount

func (fake *FakeDialer) DialCallCount() int

func (*FakeDialer) DialReturns

func (fake *FakeDialer) DialReturns(result1 distclient.Conn, result2 error)

func (*FakeDialer) DialReturnsOnCall

func (fake *FakeDialer) DialReturnsOnCall(i int, result1 distclient.Conn, result2 error)

func (*FakeDialer) Invocations

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

type FakeRemoteImageIDFetcher

type FakeRemoteImageIDFetcher struct {
	FetchIDStub func(log lager.Logger, u *url.URL) (layercake.ID, error)
	// contains filtered or unexported fields
}

func (*FakeRemoteImageIDFetcher) FetchID

func (fake *FakeRemoteImageIDFetcher) FetchID(log lager.Logger, u *url.URL) (layercake.ID, error)

func (*FakeRemoteImageIDFetcher) FetchIDArgsForCall

func (fake *FakeRemoteImageIDFetcher) FetchIDArgsForCall(i int) (lager.Logger, *url.URL)

func (*FakeRemoteImageIDFetcher) FetchIDCallCount

func (fake *FakeRemoteImageIDFetcher) FetchIDCallCount() int

func (*FakeRemoteImageIDFetcher) FetchIDReturns

func (fake *FakeRemoteImageIDFetcher) FetchIDReturns(result1 layercake.ID, result2 error)

func (*FakeRemoteImageIDFetcher) FetchIDReturnsOnCall

func (fake *FakeRemoteImageIDFetcher) FetchIDReturnsOnCall(i int, result1 layercake.ID, result2 error)

func (*FakeRemoteImageIDFetcher) Invocations

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

type FakeRepositoryFetcher

type FakeRepositoryFetcher struct {
	FetchStub func(log lager.Logger, u *url.URL, username, password string, diskQuota int64) (*repository_fetcher.Image, error)

	FetchIDStub func(log lager.Logger, u *url.URL) (layercake.ID, error)
	// contains filtered or unexported fields
}

func (*FakeRepositoryFetcher) Fetch

func (fake *FakeRepositoryFetcher) Fetch(log lager.Logger, u *url.URL, username string, password string, diskQuota int64) (*repository_fetcher.Image, error)

func (*FakeRepositoryFetcher) FetchArgsForCall

func (fake *FakeRepositoryFetcher) FetchArgsForCall(i int) (lager.Logger, *url.URL, string, string, int64)

func (*FakeRepositoryFetcher) FetchCallCount

func (fake *FakeRepositoryFetcher) FetchCallCount() int

func (*FakeRepositoryFetcher) FetchID

func (fake *FakeRepositoryFetcher) FetchID(log lager.Logger, u *url.URL) (layercake.ID, error)

func (*FakeRepositoryFetcher) FetchIDArgsForCall

func (fake *FakeRepositoryFetcher) FetchIDArgsForCall(i int) (lager.Logger, *url.URL)

func (*FakeRepositoryFetcher) FetchIDCallCount

func (fake *FakeRepositoryFetcher) FetchIDCallCount() int

func (*FakeRepositoryFetcher) FetchIDReturns

func (fake *FakeRepositoryFetcher) FetchIDReturns(result1 layercake.ID, result2 error)

func (*FakeRepositoryFetcher) FetchIDReturnsOnCall

func (fake *FakeRepositoryFetcher) FetchIDReturnsOnCall(i int, result1 layercake.ID, result2 error)

func (*FakeRepositoryFetcher) FetchReturns

func (fake *FakeRepositoryFetcher) FetchReturns(result1 *repository_fetcher.Image, result2 error)

func (*FakeRepositoryFetcher) FetchReturnsOnCall

func (fake *FakeRepositoryFetcher) FetchReturnsOnCall(i int, result1 *repository_fetcher.Image, result2 error)

func (*FakeRepositoryFetcher) Invocations

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

type FakeVerifier

type FakeVerifier struct {
	VerifyStub func(io.Reader, digest.Digest) (io.ReadCloser, int64, error)
	// contains filtered or unexported fields
}

func (*FakeVerifier) Invocations

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

func (*FakeVerifier) Verify

func (fake *FakeVerifier) Verify(arg1 io.Reader, arg2 digest.Digest) (io.ReadCloser, int64, error)

func (*FakeVerifier) VerifyArgsForCall

func (fake *FakeVerifier) VerifyArgsForCall(i int) (io.Reader, digest.Digest)

func (*FakeVerifier) VerifyCallCount

func (fake *FakeVerifier) VerifyCallCount() int

func (*FakeVerifier) VerifyReturns

func (fake *FakeVerifier) VerifyReturns(result1 io.ReadCloser, result2 int64, result3 error)

func (*FakeVerifier) VerifyReturnsOnCall

func (fake *FakeVerifier) VerifyReturnsOnCall(i int, result1 io.ReadCloser, result2 int64, result3 error)

Jump to

Keyboard shortcuts

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