Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeContainer
- func (fake *FakeContainer) Attach(processID string, io garden.ProcessIO) (garden.Process, error)
- func (fake *FakeContainer) AttachArgsForCall(i int) (string, garden.ProcessIO)
- func (fake *FakeContainer) AttachCallCount() int
- func (fake *FakeContainer) AttachReturns(result1 garden.Process, result2 error)
- func (fake *FakeContainer) Cleanup() error
- func (fake *FakeContainer) CleanupCallCount() int
- func (fake *FakeContainer) CleanupReturns(result1 error)
- func (fake *FakeContainer) CurrentBandwidthLimits() (garden.BandwidthLimits, error)
- func (fake *FakeContainer) CurrentBandwidthLimitsCallCount() int
- func (fake *FakeContainer) CurrentBandwidthLimitsReturns(result1 garden.BandwidthLimits, result2 error)
- func (fake *FakeContainer) CurrentCPULimits() (garden.CPULimits, error)
- func (fake *FakeContainer) CurrentCPULimitsCallCount() int
- func (fake *FakeContainer) CurrentCPULimitsReturns(result1 garden.CPULimits, result2 error)
- func (fake *FakeContainer) CurrentDiskLimits() (garden.DiskLimits, error)
- func (fake *FakeContainer) CurrentDiskLimitsCallCount() int
- func (fake *FakeContainer) CurrentDiskLimitsReturns(result1 garden.DiskLimits, result2 error)
- func (fake *FakeContainer) CurrentMemoryLimits() (garden.MemoryLimits, error)
- func (fake *FakeContainer) CurrentMemoryLimitsCallCount() int
- func (fake *FakeContainer) CurrentMemoryLimitsReturns(result1 garden.MemoryLimits, result2 error)
- func (fake *FakeContainer) GraceTime() time.Duration
- func (fake *FakeContainer) GraceTimeCallCount() int
- func (fake *FakeContainer) GraceTimeReturns(result1 time.Duration)
- func (fake *FakeContainer) Handle() string
- func (fake *FakeContainer) HandleCallCount() int
- func (fake *FakeContainer) HandleReturns(result1 string)
- func (fake *FakeContainer) HasProperties(arg1 garden.Properties) bool
- func (fake *FakeContainer) HasPropertiesArgsForCall(i int) garden.Properties
- func (fake *FakeContainer) HasPropertiesCallCount() int
- func (fake *FakeContainer) HasPropertiesReturns(result1 bool)
- func (fake *FakeContainer) ID() string
- func (fake *FakeContainer) IDCallCount() int
- func (fake *FakeContainer) IDReturns(result1 string)
- func (fake *FakeContainer) Info() (garden.ContainerInfo, error)
- func (fake *FakeContainer) InfoCallCount() int
- func (fake *FakeContainer) InfoReturns(result1 garden.ContainerInfo, result2 error)
- func (fake *FakeContainer) LimitBandwidth(limits garden.BandwidthLimits) error
- func (fake *FakeContainer) LimitBandwidthArgsForCall(i int) garden.BandwidthLimits
- func (fake *FakeContainer) LimitBandwidthCallCount() int
- func (fake *FakeContainer) LimitBandwidthReturns(result1 error)
- func (fake *FakeContainer) LimitCPU(limits garden.CPULimits) error
- func (fake *FakeContainer) LimitCPUArgsForCall(i int) garden.CPULimits
- func (fake *FakeContainer) LimitCPUCallCount() int
- func (fake *FakeContainer) LimitCPUReturns(result1 error)
- func (fake *FakeContainer) LimitDisk(limits garden.DiskLimits) error
- func (fake *FakeContainer) LimitDiskArgsForCall(i int) garden.DiskLimits
- func (fake *FakeContainer) LimitDiskCallCount() int
- func (fake *FakeContainer) LimitDiskReturns(result1 error)
- func (fake *FakeContainer) LimitMemory(limits garden.MemoryLimits) error
- func (fake *FakeContainer) LimitMemoryArgsForCall(i int) garden.MemoryLimits
- func (fake *FakeContainer) LimitMemoryCallCount() int
- func (fake *FakeContainer) LimitMemoryReturns(result1 error)
- func (fake *FakeContainer) Metrics() (garden.Metrics, error)
- func (fake *FakeContainer) MetricsCallCount() int
- func (fake *FakeContainer) MetricsReturns(result1 garden.Metrics, result2 error)
- func (fake *FakeContainer) NetIn(hostPort uint32, containerPort uint32) (uint32, uint32, error)
- func (fake *FakeContainer) NetInArgsForCall(i int) (uint32, uint32)
- func (fake *FakeContainer) NetInCallCount() int
- func (fake *FakeContainer) NetInReturns(result1 uint32, result2 uint32, result3 error)
- func (fake *FakeContainer) NetOut(netOutRule garden.NetOutRule) error
- func (fake *FakeContainer) NetOutArgsForCall(i int) garden.NetOutRule
- func (fake *FakeContainer) NetOutCallCount() int
- func (fake *FakeContainer) NetOutReturns(result1 error)
- func (fake *FakeContainer) Properties() (garden.Properties, error)
- func (fake *FakeContainer) PropertiesCallCount() int
- func (fake *FakeContainer) PropertiesReturns(result1 garden.Properties, result2 error)
- func (fake *FakeContainer) Property(name string) (string, error)
- func (fake *FakeContainer) PropertyArgsForCall(i int) string
- func (fake *FakeContainer) PropertyCallCount() int
- func (fake *FakeContainer) PropertyReturns(result1 string, result2 error)
- func (fake *FakeContainer) RemoveProperty(name string) error
- func (fake *FakeContainer) RemovePropertyArgsForCall(i int) string
- func (fake *FakeContainer) RemovePropertyCallCount() int
- func (fake *FakeContainer) RemovePropertyReturns(result1 error)
- func (fake *FakeContainer) ResourceSpec() linux_backend.LinuxContainerSpec
- func (fake *FakeContainer) ResourceSpecCallCount() int
- func (fake *FakeContainer) ResourceSpecReturns(result1 linux_backend.LinuxContainerSpec)
- func (fake *FakeContainer) Restore(arg1 linux_backend.LinuxContainerSpec) error
- func (fake *FakeContainer) RestoreArgsForCall(i int) linux_backend.LinuxContainerSpec
- func (fake *FakeContainer) RestoreCallCount() int
- func (fake *FakeContainer) RestoreReturns(result1 error)
- func (fake *FakeContainer) Run(arg1 garden.ProcessSpec, arg2 garden.ProcessIO) (garden.Process, error)
- func (fake *FakeContainer) RunArgsForCall(i int) (garden.ProcessSpec, garden.ProcessIO)
- func (fake *FakeContainer) RunCallCount() int
- func (fake *FakeContainer) RunReturns(result1 garden.Process, result2 error)
- func (fake *FakeContainer) SetGraceTime(graceTime time.Duration) error
- func (fake *FakeContainer) SetGraceTimeArgsForCall(i int) time.Duration
- func (fake *FakeContainer) SetGraceTimeCallCount() int
- func (fake *FakeContainer) SetGraceTimeReturns(result1 error)
- func (fake *FakeContainer) SetProperty(name string, value string) error
- func (fake *FakeContainer) SetPropertyArgsForCall(i int) (string, string)
- func (fake *FakeContainer) SetPropertyCallCount() int
- func (fake *FakeContainer) SetPropertyReturns(result1 error)
- func (fake *FakeContainer) Snapshot(arg1 io.Writer) error
- func (fake *FakeContainer) SnapshotArgsForCall(i int) io.Writer
- func (fake *FakeContainer) SnapshotCallCount() int
- func (fake *FakeContainer) SnapshotReturns(result1 error)
- func (fake *FakeContainer) Start() error
- func (fake *FakeContainer) StartCallCount() int
- func (fake *FakeContainer) StartReturns(result1 error)
- func (fake *FakeContainer) Stop(kill bool) error
- func (fake *FakeContainer) StopArgsForCall(i int) bool
- func (fake *FakeContainer) StopCallCount() int
- func (fake *FakeContainer) StopReturns(result1 error)
- func (fake *FakeContainer) StreamIn(spec garden.StreamInSpec) error
- func (fake *FakeContainer) StreamInArgsForCall(i int) garden.StreamInSpec
- func (fake *FakeContainer) StreamInCallCount() int
- func (fake *FakeContainer) StreamInReturns(result1 error)
- func (fake *FakeContainer) StreamOut(spec garden.StreamOutSpec) (io.ReadCloser, error)
- func (fake *FakeContainer) StreamOutArgsForCall(i int) garden.StreamOutSpec
- func (fake *FakeContainer) StreamOutCallCount() int
- func (fake *FakeContainer) StreamOutReturns(result1 io.ReadCloser, result2 error)
- type FakeContainerProvider
- func (fake *FakeContainerProvider) ProvideContainer(arg1 linux_backend.LinuxContainerSpec) linux_backend.Container
- func (fake *FakeContainerProvider) ProvideContainerArgsForCall(i int) linux_backend.LinuxContainerSpec
- func (fake *FakeContainerProvider) ProvideContainerCallCount() int
- func (fake *FakeContainerProvider) ProvideContainerReturns(result1 linux_backend.Container)
- type FakeHealthChecker
- type FakeResourcePool
- func (fake *FakeResourcePool) Acquire(arg1 garden.ContainerSpec) (linux_backend.LinuxContainerSpec, error)
- func (fake *FakeResourcePool) AcquireArgsForCall(i int) garden.ContainerSpec
- func (fake *FakeResourcePool) AcquireCallCount() int
- func (fake *FakeResourcePool) AcquireReturns(result1 linux_backend.LinuxContainerSpec, result2 error)
- func (fake *FakeResourcePool) MaxContainers() int
- func (fake *FakeResourcePool) MaxContainersCallCount() int
- func (fake *FakeResourcePool) MaxContainersReturns(result1 int)
- func (fake *FakeResourcePool) Prune(keep map[string]bool) error
- func (fake *FakeResourcePool) PruneArgsForCall(i int) map[string]bool
- func (fake *FakeResourcePool) PruneCallCount() int
- func (fake *FakeResourcePool) PruneReturns(result1 error)
- func (fake *FakeResourcePool) Release(arg1 linux_backend.LinuxContainerSpec) error
- func (fake *FakeResourcePool) ReleaseArgsForCall(i int) linux_backend.LinuxContainerSpec
- func (fake *FakeResourcePool) ReleaseCallCount() int
- func (fake *FakeResourcePool) ReleaseReturns(result1 error)
- func (fake *FakeResourcePool) Restore(arg1 io.Reader) (linux_backend.LinuxContainerSpec, error)
- func (fake *FakeResourcePool) RestoreArgsForCall(i int) io.Reader
- func (fake *FakeResourcePool) RestoreCallCount() int
- func (fake *FakeResourcePool) RestoreReturns(result1 linux_backend.LinuxContainerSpec, result2 error)
- func (fake *FakeResourcePool) Setup() error
- func (fake *FakeResourcePool) SetupCallCount() int
- func (fake *FakeResourcePool) SetupReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeContainer ¶
type FakeContainer struct { IDStub func() string HasPropertiesStub func(garden.Properties) bool GraceTimeStub func() time.Duration StartStub func() error SnapshotStub func(io.Writer) error ResourceSpecStub func() linux_backend.LinuxContainerSpec RestoreStub func(linux_backend.LinuxContainerSpec) error CleanupStub func() error LimitDiskStub func(limits garden.DiskLimits) error HandleStub func() string StopStub func(kill bool) error InfoStub func() (garden.ContainerInfo, error) StreamInStub func(spec garden.StreamInSpec) error StreamOutStub func(spec garden.StreamOutSpec) (io.ReadCloser, error) LimitBandwidthStub func(limits garden.BandwidthLimits) error CurrentBandwidthLimitsStub func() (garden.BandwidthLimits, error) LimitCPUStub func(limits garden.CPULimits) error CurrentCPULimitsStub func() (garden.CPULimits, error) CurrentDiskLimitsStub func() (garden.DiskLimits, error) LimitMemoryStub func(limits garden.MemoryLimits) error CurrentMemoryLimitsStub func() (garden.MemoryLimits, error) NetInStub func(hostPort, containerPort uint32) (uint32, uint32, error) NetOutStub func(netOutRule garden.NetOutRule) error RunStub func(garden.ProcessSpec, garden.ProcessIO) (garden.Process, error) AttachStub func(processID string, io garden.ProcessIO) (garden.Process, error) MetricsStub func() (garden.Metrics, error) SetGraceTimeStub func(graceTime time.Duration) error PropertiesStub func() (garden.Properties, error) PropertyStub func(name string) (string, error) SetPropertyStub func(name string, value string) error RemovePropertyStub func(name string) error // contains filtered or unexported fields }
func (*FakeContainer) AttachArgsForCall ¶
func (fake *FakeContainer) AttachArgsForCall(i int) (string, garden.ProcessIO)
func (*FakeContainer) AttachCallCount ¶
func (fake *FakeContainer) AttachCallCount() int
func (*FakeContainer) AttachReturns ¶
func (fake *FakeContainer) AttachReturns(result1 garden.Process, result2 error)
func (*FakeContainer) Cleanup ¶
func (fake *FakeContainer) Cleanup() error
func (*FakeContainer) CleanupCallCount ¶
func (fake *FakeContainer) CleanupCallCount() int
func (*FakeContainer) CleanupReturns ¶
func (fake *FakeContainer) CleanupReturns(result1 error)
func (*FakeContainer) CurrentBandwidthLimits ¶
func (fake *FakeContainer) CurrentBandwidthLimits() (garden.BandwidthLimits, error)
func (*FakeContainer) CurrentBandwidthLimitsCallCount ¶
func (fake *FakeContainer) CurrentBandwidthLimitsCallCount() int
func (*FakeContainer) CurrentBandwidthLimitsReturns ¶
func (fake *FakeContainer) CurrentBandwidthLimitsReturns(result1 garden.BandwidthLimits, result2 error)
func (*FakeContainer) CurrentCPULimits ¶
func (fake *FakeContainer) CurrentCPULimits() (garden.CPULimits, error)
func (*FakeContainer) CurrentCPULimitsCallCount ¶
func (fake *FakeContainer) CurrentCPULimitsCallCount() int
func (*FakeContainer) CurrentCPULimitsReturns ¶
func (fake *FakeContainer) CurrentCPULimitsReturns(result1 garden.CPULimits, result2 error)
func (*FakeContainer) CurrentDiskLimits ¶
func (fake *FakeContainer) CurrentDiskLimits() (garden.DiskLimits, error)
func (*FakeContainer) CurrentDiskLimitsCallCount ¶
func (fake *FakeContainer) CurrentDiskLimitsCallCount() int
func (*FakeContainer) CurrentDiskLimitsReturns ¶
func (fake *FakeContainer) CurrentDiskLimitsReturns(result1 garden.DiskLimits, result2 error)
func (*FakeContainer) CurrentMemoryLimits ¶
func (fake *FakeContainer) CurrentMemoryLimits() (garden.MemoryLimits, error)
func (*FakeContainer) CurrentMemoryLimitsCallCount ¶
func (fake *FakeContainer) CurrentMemoryLimitsCallCount() int
func (*FakeContainer) CurrentMemoryLimitsReturns ¶
func (fake *FakeContainer) CurrentMemoryLimitsReturns(result1 garden.MemoryLimits, result2 error)
func (*FakeContainer) GraceTime ¶
func (fake *FakeContainer) GraceTime() time.Duration
func (*FakeContainer) GraceTimeCallCount ¶
func (fake *FakeContainer) GraceTimeCallCount() int
func (*FakeContainer) GraceTimeReturns ¶
func (fake *FakeContainer) GraceTimeReturns(result1 time.Duration)
func (*FakeContainer) Handle ¶
func (fake *FakeContainer) Handle() string
func (*FakeContainer) HandleCallCount ¶
func (fake *FakeContainer) HandleCallCount() int
func (*FakeContainer) HandleReturns ¶
func (fake *FakeContainer) HandleReturns(result1 string)
func (*FakeContainer) HasProperties ¶
func (fake *FakeContainer) HasProperties(arg1 garden.Properties) bool
func (*FakeContainer) HasPropertiesArgsForCall ¶
func (fake *FakeContainer) HasPropertiesArgsForCall(i int) garden.Properties
func (*FakeContainer) HasPropertiesCallCount ¶
func (fake *FakeContainer) HasPropertiesCallCount() int
func (*FakeContainer) HasPropertiesReturns ¶
func (fake *FakeContainer) HasPropertiesReturns(result1 bool)
func (*FakeContainer) ID ¶
func (fake *FakeContainer) ID() string
func (*FakeContainer) IDCallCount ¶
func (fake *FakeContainer) IDCallCount() int
func (*FakeContainer) IDReturns ¶
func (fake *FakeContainer) IDReturns(result1 string)
func (*FakeContainer) Info ¶
func (fake *FakeContainer) Info() (garden.ContainerInfo, error)
func (*FakeContainer) InfoCallCount ¶
func (fake *FakeContainer) InfoCallCount() int
func (*FakeContainer) InfoReturns ¶
func (fake *FakeContainer) InfoReturns(result1 garden.ContainerInfo, result2 error)
func (*FakeContainer) LimitBandwidth ¶
func (fake *FakeContainer) LimitBandwidth(limits garden.BandwidthLimits) error
func (*FakeContainer) LimitBandwidthArgsForCall ¶
func (fake *FakeContainer) LimitBandwidthArgsForCall(i int) garden.BandwidthLimits
func (*FakeContainer) LimitBandwidthCallCount ¶
func (fake *FakeContainer) LimitBandwidthCallCount() int
func (*FakeContainer) LimitBandwidthReturns ¶
func (fake *FakeContainer) LimitBandwidthReturns(result1 error)
func (*FakeContainer) LimitCPUArgsForCall ¶
func (fake *FakeContainer) LimitCPUArgsForCall(i int) garden.CPULimits
func (*FakeContainer) LimitCPUCallCount ¶
func (fake *FakeContainer) LimitCPUCallCount() int
func (*FakeContainer) LimitCPUReturns ¶
func (fake *FakeContainer) LimitCPUReturns(result1 error)
func (*FakeContainer) LimitDisk ¶
func (fake *FakeContainer) LimitDisk(limits garden.DiskLimits) error
func (*FakeContainer) LimitDiskArgsForCall ¶
func (fake *FakeContainer) LimitDiskArgsForCall(i int) garden.DiskLimits
func (*FakeContainer) LimitDiskCallCount ¶
func (fake *FakeContainer) LimitDiskCallCount() int
func (*FakeContainer) LimitDiskReturns ¶
func (fake *FakeContainer) LimitDiskReturns(result1 error)
func (*FakeContainer) LimitMemory ¶
func (fake *FakeContainer) LimitMemory(limits garden.MemoryLimits) error
func (*FakeContainer) LimitMemoryArgsForCall ¶
func (fake *FakeContainer) LimitMemoryArgsForCall(i int) garden.MemoryLimits
func (*FakeContainer) LimitMemoryCallCount ¶
func (fake *FakeContainer) LimitMemoryCallCount() int
func (*FakeContainer) LimitMemoryReturns ¶
func (fake *FakeContainer) LimitMemoryReturns(result1 error)
func (*FakeContainer) MetricsCallCount ¶
func (fake *FakeContainer) MetricsCallCount() int
func (*FakeContainer) MetricsReturns ¶
func (fake *FakeContainer) MetricsReturns(result1 garden.Metrics, result2 error)
func (*FakeContainer) NetInArgsForCall ¶
func (fake *FakeContainer) NetInArgsForCall(i int) (uint32, uint32)
func (*FakeContainer) NetInCallCount ¶
func (fake *FakeContainer) NetInCallCount() int
func (*FakeContainer) NetInReturns ¶
func (fake *FakeContainer) NetInReturns(result1 uint32, result2 uint32, result3 error)
func (*FakeContainer) NetOut ¶
func (fake *FakeContainer) NetOut(netOutRule garden.NetOutRule) error
func (*FakeContainer) NetOutArgsForCall ¶
func (fake *FakeContainer) NetOutArgsForCall(i int) garden.NetOutRule
func (*FakeContainer) NetOutCallCount ¶
func (fake *FakeContainer) NetOutCallCount() int
func (*FakeContainer) NetOutReturns ¶
func (fake *FakeContainer) NetOutReturns(result1 error)
func (*FakeContainer) Properties ¶
func (fake *FakeContainer) Properties() (garden.Properties, error)
func (*FakeContainer) PropertiesCallCount ¶
func (fake *FakeContainer) PropertiesCallCount() int
func (*FakeContainer) PropertiesReturns ¶
func (fake *FakeContainer) PropertiesReturns(result1 garden.Properties, result2 error)
func (*FakeContainer) PropertyArgsForCall ¶
func (fake *FakeContainer) PropertyArgsForCall(i int) string
func (*FakeContainer) PropertyCallCount ¶
func (fake *FakeContainer) PropertyCallCount() int
func (*FakeContainer) PropertyReturns ¶
func (fake *FakeContainer) PropertyReturns(result1 string, result2 error)
func (*FakeContainer) RemoveProperty ¶
func (fake *FakeContainer) RemoveProperty(name string) error
func (*FakeContainer) RemovePropertyArgsForCall ¶
func (fake *FakeContainer) RemovePropertyArgsForCall(i int) string
func (*FakeContainer) RemovePropertyCallCount ¶
func (fake *FakeContainer) RemovePropertyCallCount() int
func (*FakeContainer) RemovePropertyReturns ¶
func (fake *FakeContainer) RemovePropertyReturns(result1 error)
func (*FakeContainer) ResourceSpec ¶
func (fake *FakeContainer) ResourceSpec() linux_backend.LinuxContainerSpec
func (*FakeContainer) ResourceSpecCallCount ¶
func (fake *FakeContainer) ResourceSpecCallCount() int
func (*FakeContainer) ResourceSpecReturns ¶
func (fake *FakeContainer) ResourceSpecReturns(result1 linux_backend.LinuxContainerSpec)
func (*FakeContainer) Restore ¶
func (fake *FakeContainer) Restore(arg1 linux_backend.LinuxContainerSpec) error
func (*FakeContainer) RestoreArgsForCall ¶
func (fake *FakeContainer) RestoreArgsForCall(i int) linux_backend.LinuxContainerSpec
func (*FakeContainer) RestoreCallCount ¶
func (fake *FakeContainer) RestoreCallCount() int
func (*FakeContainer) RestoreReturns ¶
func (fake *FakeContainer) RestoreReturns(result1 error)
func (*FakeContainer) Run ¶
func (fake *FakeContainer) Run(arg1 garden.ProcessSpec, arg2 garden.ProcessIO) (garden.Process, error)
func (*FakeContainer) RunArgsForCall ¶
func (fake *FakeContainer) RunArgsForCall(i int) (garden.ProcessSpec, garden.ProcessIO)
func (*FakeContainer) RunCallCount ¶
func (fake *FakeContainer) RunCallCount() int
func (*FakeContainer) RunReturns ¶
func (fake *FakeContainer) RunReturns(result1 garden.Process, result2 error)
func (*FakeContainer) SetGraceTime ¶
func (fake *FakeContainer) SetGraceTime(graceTime time.Duration) error
func (*FakeContainer) SetGraceTimeArgsForCall ¶
func (fake *FakeContainer) SetGraceTimeArgsForCall(i int) time.Duration
func (*FakeContainer) SetGraceTimeCallCount ¶
func (fake *FakeContainer) SetGraceTimeCallCount() int
func (*FakeContainer) SetGraceTimeReturns ¶
func (fake *FakeContainer) SetGraceTimeReturns(result1 error)
func (*FakeContainer) SetProperty ¶
func (fake *FakeContainer) SetProperty(name string, value string) error
func (*FakeContainer) SetPropertyArgsForCall ¶
func (fake *FakeContainer) SetPropertyArgsForCall(i int) (string, string)
func (*FakeContainer) SetPropertyCallCount ¶
func (fake *FakeContainer) SetPropertyCallCount() int
func (*FakeContainer) SetPropertyReturns ¶
func (fake *FakeContainer) SetPropertyReturns(result1 error)
func (*FakeContainer) SnapshotArgsForCall ¶
func (fake *FakeContainer) SnapshotArgsForCall(i int) io.Writer
func (*FakeContainer) SnapshotCallCount ¶
func (fake *FakeContainer) SnapshotCallCount() int
func (*FakeContainer) SnapshotReturns ¶
func (fake *FakeContainer) SnapshotReturns(result1 error)
func (*FakeContainer) Start ¶
func (fake *FakeContainer) Start() error
func (*FakeContainer) StartCallCount ¶
func (fake *FakeContainer) StartCallCount() int
func (*FakeContainer) StartReturns ¶
func (fake *FakeContainer) StartReturns(result1 error)
func (*FakeContainer) Stop ¶
func (fake *FakeContainer) Stop(kill bool) error
func (*FakeContainer) StopArgsForCall ¶
func (fake *FakeContainer) StopArgsForCall(i int) bool
func (*FakeContainer) StopCallCount ¶
func (fake *FakeContainer) StopCallCount() int
func (*FakeContainer) StopReturns ¶
func (fake *FakeContainer) StopReturns(result1 error)
func (*FakeContainer) StreamIn ¶
func (fake *FakeContainer) StreamIn(spec garden.StreamInSpec) error
func (*FakeContainer) StreamInArgsForCall ¶
func (fake *FakeContainer) StreamInArgsForCall(i int) garden.StreamInSpec
func (*FakeContainer) StreamInCallCount ¶
func (fake *FakeContainer) StreamInCallCount() int
func (*FakeContainer) StreamInReturns ¶
func (fake *FakeContainer) StreamInReturns(result1 error)
func (*FakeContainer) StreamOut ¶
func (fake *FakeContainer) StreamOut(spec garden.StreamOutSpec) (io.ReadCloser, error)
func (*FakeContainer) StreamOutArgsForCall ¶
func (fake *FakeContainer) StreamOutArgsForCall(i int) garden.StreamOutSpec
func (*FakeContainer) StreamOutCallCount ¶
func (fake *FakeContainer) StreamOutCallCount() int
func (*FakeContainer) StreamOutReturns ¶
func (fake *FakeContainer) StreamOutReturns(result1 io.ReadCloser, result2 error)
type FakeContainerProvider ¶
type FakeContainerProvider struct { ProvideContainerStub func(linux_backend.LinuxContainerSpec) linux_backend.Container // contains filtered or unexported fields }
func (*FakeContainerProvider) ProvideContainer ¶
func (fake *FakeContainerProvider) ProvideContainer(arg1 linux_backend.LinuxContainerSpec) linux_backend.Container
func (*FakeContainerProvider) ProvideContainerArgsForCall ¶
func (fake *FakeContainerProvider) ProvideContainerArgsForCall(i int) linux_backend.LinuxContainerSpec
func (*FakeContainerProvider) ProvideContainerCallCount ¶
func (fake *FakeContainerProvider) ProvideContainerCallCount() int
func (*FakeContainerProvider) ProvideContainerReturns ¶
func (fake *FakeContainerProvider) ProvideContainerReturns(result1 linux_backend.Container)
type FakeHealthChecker ¶
type FakeHealthChecker struct { HealthCheckStub func() error // contains filtered or unexported fields }
func (*FakeHealthChecker) HealthCheck ¶
func (fake *FakeHealthChecker) HealthCheck() error
func (*FakeHealthChecker) HealthCheckCallCount ¶
func (fake *FakeHealthChecker) HealthCheckCallCount() int
func (*FakeHealthChecker) HealthCheckReturns ¶
func (fake *FakeHealthChecker) HealthCheckReturns(result1 error)
type FakeResourcePool ¶
type FakeResourcePool struct { SetupStub func() error AcquireStub func(garden.ContainerSpec) (linux_backend.LinuxContainerSpec, error) RestoreStub func(io.Reader) (linux_backend.LinuxContainerSpec, error) ReleaseStub func(linux_backend.LinuxContainerSpec) error PruneStub func(keep map[string]bool) error MaxContainersStub func() int // contains filtered or unexported fields }
func (*FakeResourcePool) Acquire ¶
func (fake *FakeResourcePool) Acquire(arg1 garden.ContainerSpec) (linux_backend.LinuxContainerSpec, error)
func (*FakeResourcePool) AcquireArgsForCall ¶
func (fake *FakeResourcePool) AcquireArgsForCall(i int) garden.ContainerSpec
func (*FakeResourcePool) AcquireCallCount ¶
func (fake *FakeResourcePool) AcquireCallCount() int
func (*FakeResourcePool) AcquireReturns ¶
func (fake *FakeResourcePool) AcquireReturns(result1 linux_backend.LinuxContainerSpec, result2 error)
func (*FakeResourcePool) MaxContainers ¶
func (fake *FakeResourcePool) MaxContainers() int
func (*FakeResourcePool) MaxContainersCallCount ¶
func (fake *FakeResourcePool) MaxContainersCallCount() int
func (*FakeResourcePool) MaxContainersReturns ¶
func (fake *FakeResourcePool) MaxContainersReturns(result1 int)
func (*FakeResourcePool) PruneArgsForCall ¶
func (fake *FakeResourcePool) PruneArgsForCall(i int) map[string]bool
func (*FakeResourcePool) PruneCallCount ¶
func (fake *FakeResourcePool) PruneCallCount() int
func (*FakeResourcePool) PruneReturns ¶
func (fake *FakeResourcePool) PruneReturns(result1 error)
func (*FakeResourcePool) Release ¶
func (fake *FakeResourcePool) Release(arg1 linux_backend.LinuxContainerSpec) error
func (*FakeResourcePool) ReleaseArgsForCall ¶
func (fake *FakeResourcePool) ReleaseArgsForCall(i int) linux_backend.LinuxContainerSpec
func (*FakeResourcePool) ReleaseCallCount ¶
func (fake *FakeResourcePool) ReleaseCallCount() int
func (*FakeResourcePool) ReleaseReturns ¶
func (fake *FakeResourcePool) ReleaseReturns(result1 error)
func (*FakeResourcePool) Restore ¶
func (fake *FakeResourcePool) Restore(arg1 io.Reader) (linux_backend.LinuxContainerSpec, error)
func (*FakeResourcePool) RestoreArgsForCall ¶
func (fake *FakeResourcePool) RestoreArgsForCall(i int) io.Reader
func (*FakeResourcePool) RestoreCallCount ¶
func (fake *FakeResourcePool) RestoreCallCount() int
func (*FakeResourcePool) RestoreReturns ¶
func (fake *FakeResourcePool) RestoreReturns(result1 linux_backend.LinuxContainerSpec, result2 error)
func (*FakeResourcePool) Setup ¶
func (fake *FakeResourcePool) Setup() error
func (*FakeResourcePool) SetupCallCount ¶
func (fake *FakeResourcePool) SetupCallCount() int
func (*FakeResourcePool) SetupReturns ¶
func (fake *FakeResourcePool) SetupReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.