fakes

package
v0.1441.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2016 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 FakeGardenStore

type FakeGardenStore struct {
	CreateStub func(logger lager.Logger, container executor.Container) (executor.Container, error)

	LookupStub func(logger lager.Logger, guid string) (executor.Container, error)

	ListStub func(logger lager.Logger, tags executor.Tags) ([]executor.Container, error)

	MetricsStub func(logger lager.Logger, guid []string) (map[string]executor.ContainerMetrics, error)

	DestroyStub func(logger lager.Logger, guid string) error

	PingStub func() error

	RunStub func(logger lager.Logger, container executor.Container) error

	StopStub func(logger lager.Logger, guid string) error

	GetFilesStub func(logger lager.Logger, guid, sourcePath string) (io.ReadCloser, error)
	// contains filtered or unexported fields
}

func (*FakeGardenStore) Create

func (fake *FakeGardenStore) Create(logger lager.Logger, container executor.Container) (executor.Container, error)

func (*FakeGardenStore) CreateArgsForCall

func (fake *FakeGardenStore) CreateArgsForCall(i int) (lager.Logger, executor.Container)

func (*FakeGardenStore) CreateCallCount

func (fake *FakeGardenStore) CreateCallCount() int

func (*FakeGardenStore) CreateReturns

func (fake *FakeGardenStore) CreateReturns(result1 executor.Container, result2 error)

func (*FakeGardenStore) Destroy

func (fake *FakeGardenStore) Destroy(logger lager.Logger, guid string) error

func (*FakeGardenStore) DestroyArgsForCall

func (fake *FakeGardenStore) DestroyArgsForCall(i int) (lager.Logger, string)

func (*FakeGardenStore) DestroyCallCount

func (fake *FakeGardenStore) DestroyCallCount() int

func (*FakeGardenStore) DestroyReturns

func (fake *FakeGardenStore) DestroyReturns(result1 error)

func (*FakeGardenStore) GetFiles

func (fake *FakeGardenStore) GetFiles(logger lager.Logger, guid string, sourcePath string) (io.ReadCloser, error)

func (*FakeGardenStore) GetFilesArgsForCall

func (fake *FakeGardenStore) GetFilesArgsForCall(i int) (lager.Logger, string, string)

func (*FakeGardenStore) GetFilesCallCount

func (fake *FakeGardenStore) GetFilesCallCount() int

func (*FakeGardenStore) GetFilesReturns

func (fake *FakeGardenStore) GetFilesReturns(result1 io.ReadCloser, result2 error)

func (*FakeGardenStore) List

func (fake *FakeGardenStore) List(logger lager.Logger, tags executor.Tags) ([]executor.Container, error)

func (*FakeGardenStore) ListArgsForCall

func (fake *FakeGardenStore) ListArgsForCall(i int) (lager.Logger, executor.Tags)

func (*FakeGardenStore) ListCallCount

func (fake *FakeGardenStore) ListCallCount() int

func (*FakeGardenStore) ListReturns

func (fake *FakeGardenStore) ListReturns(result1 []executor.Container, result2 error)

func (*FakeGardenStore) Lookup

func (fake *FakeGardenStore) Lookup(logger lager.Logger, guid string) (executor.Container, error)

func (*FakeGardenStore) LookupArgsForCall

func (fake *FakeGardenStore) LookupArgsForCall(i int) (lager.Logger, string)

func (*FakeGardenStore) LookupCallCount

func (fake *FakeGardenStore) LookupCallCount() int

func (*FakeGardenStore) LookupReturns

func (fake *FakeGardenStore) LookupReturns(result1 executor.Container, result2 error)

func (*FakeGardenStore) Metrics

func (fake *FakeGardenStore) Metrics(logger lager.Logger, guid []string) (map[string]executor.ContainerMetrics, error)

func (*FakeGardenStore) MetricsArgsForCall

func (fake *FakeGardenStore) MetricsArgsForCall(i int) (lager.Logger, []string)

func (*FakeGardenStore) MetricsCallCount

func (fake *FakeGardenStore) MetricsCallCount() int

func (*FakeGardenStore) MetricsReturns

func (fake *FakeGardenStore) MetricsReturns(result1 map[string]executor.ContainerMetrics, result2 error)

func (*FakeGardenStore) Ping

func (fake *FakeGardenStore) Ping() error

func (*FakeGardenStore) PingCallCount

func (fake *FakeGardenStore) PingCallCount() int

func (*FakeGardenStore) PingReturns

func (fake *FakeGardenStore) PingReturns(result1 error)

func (*FakeGardenStore) Run

func (fake *FakeGardenStore) Run(logger lager.Logger, container executor.Container) error

func (*FakeGardenStore) RunArgsForCall

func (fake *FakeGardenStore) RunArgsForCall(i int) (lager.Logger, executor.Container)

func (*FakeGardenStore) RunCallCount

func (fake *FakeGardenStore) RunCallCount() int

func (*FakeGardenStore) RunReturns

func (fake *FakeGardenStore) RunReturns(result1 error)

func (*FakeGardenStore) Stop

func (fake *FakeGardenStore) Stop(logger lager.Logger, guid string) error

func (*FakeGardenStore) StopArgsForCall

func (fake *FakeGardenStore) StopArgsForCall(i int) (lager.Logger, string)

func (*FakeGardenStore) StopCallCount

func (fake *FakeGardenStore) StopCallCount() int

func (*FakeGardenStore) StopReturns

func (fake *FakeGardenStore) StopReturns(result1 error)

Jump to

Keyboard shortcuts

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