remotefakes

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 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 FakeSource

type FakeSource struct {
	ManifestStub func(logger lager.Logger, baseImageURL *url.URL) (remote.Manifest, error)

	ConfigStub func(logger lager.Logger, baseImageURL *url.URL, manifest remote.Manifest) (v1.Image, error)

	BlobStub func(logger lager.Logger, baseImageURL *url.URL, digest string) (string, int64, error)
	// contains filtered or unexported fields
}

func (*FakeSource) Blob

func (fake *FakeSource) Blob(logger lager.Logger, baseImageURL *url.URL, digest string) (string, int64, error)

func (*FakeSource) BlobArgsForCall

func (fake *FakeSource) BlobArgsForCall(i int) (lager.Logger, *url.URL, string)

func (*FakeSource) BlobCallCount

func (fake *FakeSource) BlobCallCount() int

func (*FakeSource) BlobReturns

func (fake *FakeSource) BlobReturns(result1 string, result2 int64, result3 error)

func (*FakeSource) Config

func (fake *FakeSource) Config(logger lager.Logger, baseImageURL *url.URL, manifest remote.Manifest) (v1.Image, error)

func (*FakeSource) ConfigArgsForCall

func (fake *FakeSource) ConfigArgsForCall(i int) (lager.Logger, *url.URL, remote.Manifest)

func (*FakeSource) ConfigCallCount

func (fake *FakeSource) ConfigCallCount() int

func (*FakeSource) ConfigReturns

func (fake *FakeSource) ConfigReturns(result1 v1.Image, result2 error)

func (*FakeSource) Invocations

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

func (*FakeSource) Manifest

func (fake *FakeSource) Manifest(logger lager.Logger, baseImageURL *url.URL) (remote.Manifest, error)

func (*FakeSource) ManifestArgsForCall

func (fake *FakeSource) ManifestArgsForCall(i int) (lager.Logger, *url.URL)

func (*FakeSource) ManifestCallCount

func (fake *FakeSource) ManifestCallCount() int

func (*FakeSource) ManifestReturns

func (fake *FakeSource) ManifestReturns(result1 remote.Manifest, result2 error)

Jump to

Keyboard shortcuts

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