Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeGardenStore
- func (fake *FakeGardenStore) Create(logger lager.Logger, container executor.Container) (executor.Container, error)
- func (fake *FakeGardenStore) CreateArgsForCall(i int) (lager.Logger, executor.Container)
- func (fake *FakeGardenStore) CreateCallCount() int
- func (fake *FakeGardenStore) CreateReturns(result1 executor.Container, result2 error)
- func (fake *FakeGardenStore) Destroy(logger lager.Logger, guid string) error
- func (fake *FakeGardenStore) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeGardenStore) DestroyCallCount() int
- func (fake *FakeGardenStore) DestroyReturns(result1 error)
- func (fake *FakeGardenStore) GetFiles(logger lager.Logger, guid string, sourcePath string) (io.ReadCloser, error)
- func (fake *FakeGardenStore) GetFilesArgsForCall(i int) (lager.Logger, string, string)
- func (fake *FakeGardenStore) GetFilesCallCount() int
- func (fake *FakeGardenStore) GetFilesReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeGardenStore) List(logger lager.Logger, tags executor.Tags) ([]executor.Container, error)
- func (fake *FakeGardenStore) ListArgsForCall(i int) (lager.Logger, executor.Tags)
- func (fake *FakeGardenStore) ListCallCount() int
- func (fake *FakeGardenStore) ListReturns(result1 []executor.Container, result2 error)
- func (fake *FakeGardenStore) Lookup(logger lager.Logger, guid string) (executor.Container, error)
- func (fake *FakeGardenStore) LookupArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeGardenStore) LookupCallCount() int
- func (fake *FakeGardenStore) LookupReturns(result1 executor.Container, result2 error)
- func (fake *FakeGardenStore) Metrics(logger lager.Logger, guid []string) (map[string]executor.ContainerMetrics, error)
- func (fake *FakeGardenStore) MetricsArgsForCall(i int) (lager.Logger, []string)
- func (fake *FakeGardenStore) MetricsCallCount() int
- func (fake *FakeGardenStore) MetricsReturns(result1 map[string]executor.ContainerMetrics, result2 error)
- func (fake *FakeGardenStore) Ping() error
- func (fake *FakeGardenStore) PingCallCount() int
- func (fake *FakeGardenStore) PingReturns(result1 error)
- func (fake *FakeGardenStore) Run(logger lager.Logger, container executor.Container) error
- func (fake *FakeGardenStore) RunArgsForCall(i int) (lager.Logger, executor.Container)
- func (fake *FakeGardenStore) RunCallCount() int
- func (fake *FakeGardenStore) RunReturns(result1 error)
- func (fake *FakeGardenStore) Stop(logger lager.Logger, guid string) error
- func (fake *FakeGardenStore) StopArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeGardenStore) StopCallCount() int
- func (fake *FakeGardenStore) StopReturns(result1 error)
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) CreateArgsForCall ¶
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 (*FakeGardenStore) GetFilesCallCount ¶
func (fake *FakeGardenStore) GetFilesCallCount() int
func (*FakeGardenStore) GetFilesReturns ¶
func (fake *FakeGardenStore) GetFilesReturns(result1 io.ReadCloser, result2 error)
func (*FakeGardenStore) ListArgsForCall ¶
func (*FakeGardenStore) ListCallCount ¶
func (fake *FakeGardenStore) ListCallCount() int
func (*FakeGardenStore) ListReturns ¶
func (fake *FakeGardenStore) ListReturns(result1 []executor.Container, result2 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) RunArgsForCall ¶
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)
Click to show internal directories.
Click to hide internal directories.