rootfs_providerfakes

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 FakeGCer

type FakeGCer struct {
	GCStub func(log lager.Logger, cake layercake.Cake) error
	// contains filtered or unexported fields
}

func (*FakeGCer) GC

func (fake *FakeGCer) GC(log lager.Logger, cake layercake.Cake) error

func (*FakeGCer) GCArgsForCall

func (fake *FakeGCer) GCArgsForCall(i int) (lager.Logger, layercake.Cake)

func (*FakeGCer) GCCallCount

func (fake *FakeGCer) GCCallCount() int

func (*FakeGCer) GCReturns

func (fake *FakeGCer) GCReturns(result1 error)

func (*FakeGCer) GCReturnsOnCall

func (fake *FakeGCer) GCReturnsOnCall(i int, result1 error)

func (*FakeGCer) Invocations

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

type FakeLayerCreator

type FakeLayerCreator struct {
	CreateStub func(log lager.Logger, id string, parentImage *repository_fetcher.Image, spec gardener.RootfsSpec) (string, []string, error)
	// contains filtered or unexported fields
}

func (*FakeLayerCreator) Create

func (fake *FakeLayerCreator) Create(log lager.Logger, id string, parentImage *repository_fetcher.Image, spec gardener.RootfsSpec) (string, []string, error)

func (*FakeLayerCreator) CreateArgsForCall

func (*FakeLayerCreator) CreateCallCount

func (fake *FakeLayerCreator) CreateCallCount() int

func (*FakeLayerCreator) CreateReturns

func (fake *FakeLayerCreator) CreateReturns(result1 string, result2 []string, result3 error)

func (*FakeLayerCreator) CreateReturnsOnCall

func (fake *FakeLayerCreator) CreateReturnsOnCall(i int, result1 string, result2 []string, result3 error)

func (*FakeLayerCreator) Invocations

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

type FakeMetricser

type FakeMetricser struct {
	MetricsStub func(logger lager.Logger, id layercake.ID) (garden.ContainerDiskStat, error)
	// contains filtered or unexported fields
}

func (*FakeMetricser) Invocations

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

func (*FakeMetricser) Metrics

func (fake *FakeMetricser) Metrics(logger lager.Logger, id layercake.ID) (garden.ContainerDiskStat, error)

func (*FakeMetricser) MetricsArgsForCall

func (fake *FakeMetricser) MetricsArgsForCall(i int) (lager.Logger, layercake.ID)

func (*FakeMetricser) MetricsCallCount

func (fake *FakeMetricser) MetricsCallCount() int

func (*FakeMetricser) MetricsReturns

func (fake *FakeMetricser) MetricsReturns(result1 garden.ContainerDiskStat, result2 error)

func (*FakeMetricser) MetricsReturnsOnCall

func (fake *FakeMetricser) MetricsReturnsOnCall(i int, result1 garden.ContainerDiskStat, result2 error)

type FakeRepositoryFetcher

type FakeRepositoryFetcher struct {
	FetchStub func(log lager.Logger, rootfs *url.URL, username, password string, diskQuota int64) (*repository_fetcher.Image, error)
	// contains filtered or unexported fields
}

func (*FakeRepositoryFetcher) Fetch

func (fake *FakeRepositoryFetcher) Fetch(log lager.Logger, rootfs *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) 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{}

Jump to

Keyboard shortcuts

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