Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeConnection
- func (fake *FakeConnection) Attach(handle string, processID string, io garden.ProcessIO) (garden.Process, error)
- func (fake *FakeConnection) AttachArgsForCall(i int) (string, string, garden.ProcessIO)
- func (fake *FakeConnection) AttachCallCount() int
- func (fake *FakeConnection) AttachReturns(result1 garden.Process, result2 error)
- func (fake *FakeConnection) BulkInfo(handles []string) (map[string]garden.ContainerInfoEntry, error)
- func (fake *FakeConnection) BulkInfoArgsForCall(i int) []string
- func (fake *FakeConnection) BulkInfoCallCount() int
- func (fake *FakeConnection) BulkInfoReturns(result1 map[string]garden.ContainerInfoEntry, result2 error)
- func (fake *FakeConnection) BulkMetrics(handles []string) (map[string]garden.ContainerMetricsEntry, error)
- func (fake *FakeConnection) BulkMetricsArgsForCall(i int) []string
- func (fake *FakeConnection) BulkMetricsCallCount() int
- func (fake *FakeConnection) BulkMetricsReturns(result1 map[string]garden.ContainerMetricsEntry, result2 error)
- func (fake *FakeConnection) Capacity() (garden.Capacity, error)
- func (fake *FakeConnection) CapacityCallCount() int
- func (fake *FakeConnection) CapacityReturns(result1 garden.Capacity, result2 error)
- func (fake *FakeConnection) Create(spec garden.ContainerSpec) (string, error)
- func (fake *FakeConnection) CreateArgsForCall(i int) garden.ContainerSpec
- func (fake *FakeConnection) CreateCallCount() int
- func (fake *FakeConnection) CreateReturns(result1 string, result2 error)
- func (fake *FakeConnection) CurrentBandwidthLimits(handle string) (garden.BandwidthLimits, error)
- func (fake *FakeConnection) CurrentBandwidthLimitsArgsForCall(i int) string
- func (fake *FakeConnection) CurrentBandwidthLimitsCallCount() int
- func (fake *FakeConnection) CurrentBandwidthLimitsReturns(result1 garden.BandwidthLimits, result2 error)
- func (fake *FakeConnection) CurrentCPULimits(handle string) (garden.CPULimits, error)
- func (fake *FakeConnection) CurrentCPULimitsArgsForCall(i int) string
- func (fake *FakeConnection) CurrentCPULimitsCallCount() int
- func (fake *FakeConnection) CurrentCPULimitsReturns(result1 garden.CPULimits, result2 error)
- func (fake *FakeConnection) CurrentDiskLimits(handle string) (garden.DiskLimits, error)
- func (fake *FakeConnection) CurrentDiskLimitsArgsForCall(i int) string
- func (fake *FakeConnection) CurrentDiskLimitsCallCount() int
- func (fake *FakeConnection) CurrentDiskLimitsReturns(result1 garden.DiskLimits, result2 error)
- func (fake *FakeConnection) CurrentMemoryLimits(handle string) (garden.MemoryLimits, error)
- func (fake *FakeConnection) CurrentMemoryLimitsArgsForCall(i int) string
- func (fake *FakeConnection) CurrentMemoryLimitsCallCount() int
- func (fake *FakeConnection) CurrentMemoryLimitsReturns(result1 garden.MemoryLimits, result2 error)
- func (fake *FakeConnection) Destroy(handle string) error
- func (fake *FakeConnection) DestroyArgsForCall(i int) string
- func (fake *FakeConnection) DestroyCallCount() int
- func (fake *FakeConnection) DestroyReturns(result1 error)
- func (fake *FakeConnection) Info(handle string) (garden.ContainerInfo, error)
- func (fake *FakeConnection) InfoArgsForCall(i int) string
- func (fake *FakeConnection) InfoCallCount() int
- func (fake *FakeConnection) InfoReturns(result1 garden.ContainerInfo, result2 error)
- func (fake *FakeConnection) LimitBandwidth(handle string, limits garden.BandwidthLimits) (garden.BandwidthLimits, error)
- func (fake *FakeConnection) LimitBandwidthArgsForCall(i int) (string, garden.BandwidthLimits)
- func (fake *FakeConnection) LimitBandwidthCallCount() int
- func (fake *FakeConnection) LimitBandwidthReturns(result1 garden.BandwidthLimits, result2 error)
- func (fake *FakeConnection) LimitCPU(handle string, limits garden.CPULimits) (garden.CPULimits, error)
- func (fake *FakeConnection) LimitCPUArgsForCall(i int) (string, garden.CPULimits)
- func (fake *FakeConnection) LimitCPUCallCount() int
- func (fake *FakeConnection) LimitCPUReturns(result1 garden.CPULimits, result2 error)
- func (fake *FakeConnection) LimitMemory(handle string, limit garden.MemoryLimits) (garden.MemoryLimits, error)
- func (fake *FakeConnection) LimitMemoryArgsForCall(i int) (string, garden.MemoryLimits)
- func (fake *FakeConnection) LimitMemoryCallCount() int
- func (fake *FakeConnection) LimitMemoryReturns(result1 garden.MemoryLimits, result2 error)
- func (fake *FakeConnection) List(properties garden.Properties) ([]string, error)
- func (fake *FakeConnection) ListArgsForCall(i int) garden.Properties
- func (fake *FakeConnection) ListCallCount() int
- func (fake *FakeConnection) ListReturns(result1 []string, result2 error)
- func (fake *FakeConnection) Metrics(handle string) (garden.Metrics, error)
- func (fake *FakeConnection) MetricsArgsForCall(i int) string
- func (fake *FakeConnection) MetricsCallCount() int
- func (fake *FakeConnection) MetricsReturns(result1 garden.Metrics, result2 error)
- func (fake *FakeConnection) NetIn(handle string, hostPort uint32, containerPort uint32) (uint32, uint32, error)
- func (fake *FakeConnection) NetInArgsForCall(i int) (string, uint32, uint32)
- func (fake *FakeConnection) NetInCallCount() int
- func (fake *FakeConnection) NetInReturns(result1 uint32, result2 uint32, result3 error)
- func (fake *FakeConnection) NetOut(handle string, rule garden.NetOutRule) error
- func (fake *FakeConnection) NetOutArgsForCall(i int) (string, garden.NetOutRule)
- func (fake *FakeConnection) NetOutCallCount() int
- func (fake *FakeConnection) NetOutReturns(result1 error)
- func (fake *FakeConnection) Ping() error
- func (fake *FakeConnection) PingCallCount() int
- func (fake *FakeConnection) PingReturns(result1 error)
- func (fake *FakeConnection) Properties(handle string) (garden.Properties, error)
- func (fake *FakeConnection) PropertiesArgsForCall(i int) string
- func (fake *FakeConnection) PropertiesCallCount() int
- func (fake *FakeConnection) PropertiesReturns(result1 garden.Properties, result2 error)
- func (fake *FakeConnection) Property(handle string, name string) (string, error)
- func (fake *FakeConnection) PropertyArgsForCall(i int) (string, string)
- func (fake *FakeConnection) PropertyCallCount() int
- func (fake *FakeConnection) PropertyReturns(result1 string, result2 error)
- func (fake *FakeConnection) RemoveProperty(handle string, name string) error
- func (fake *FakeConnection) RemovePropertyArgsForCall(i int) (string, string)
- func (fake *FakeConnection) RemovePropertyCallCount() int
- func (fake *FakeConnection) RemovePropertyReturns(result1 error)
- func (fake *FakeConnection) Run(handle string, spec garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error)
- func (fake *FakeConnection) RunArgsForCall(i int) (string, garden.ProcessSpec, garden.ProcessIO)
- func (fake *FakeConnection) RunCallCount() int
- func (fake *FakeConnection) RunReturns(result1 garden.Process, result2 error)
- func (fake *FakeConnection) SetGraceTime(handle string, graceTime time.Duration) error
- func (fake *FakeConnection) SetGraceTimeArgsForCall(i int) (string, time.Duration)
- func (fake *FakeConnection) SetGraceTimeCallCount() int
- func (fake *FakeConnection) SetGraceTimeReturns(result1 error)
- func (fake *FakeConnection) SetProperty(handle string, name string, value string) error
- func (fake *FakeConnection) SetPropertyArgsForCall(i int) (string, string, string)
- func (fake *FakeConnection) SetPropertyCallCount() int
- func (fake *FakeConnection) SetPropertyReturns(result1 error)
- func (fake *FakeConnection) Stop(handle string, kill bool) error
- func (fake *FakeConnection) StopArgsForCall(i int) (string, bool)
- func (fake *FakeConnection) StopCallCount() int
- func (fake *FakeConnection) StopReturns(result1 error)
- func (fake *FakeConnection) StreamIn(handle string, spec garden.StreamInSpec) error
- func (fake *FakeConnection) StreamInArgsForCall(i int) (string, garden.StreamInSpec)
- func (fake *FakeConnection) StreamInCallCount() int
- func (fake *FakeConnection) StreamInReturns(result1 error)
- func (fake *FakeConnection) StreamOut(handle string, spec garden.StreamOutSpec) (io.ReadCloser, error)
- func (fake *FakeConnection) StreamOutArgsForCall(i int) (string, garden.StreamOutSpec)
- func (fake *FakeConnection) StreamOutCallCount() int
- func (fake *FakeConnection) StreamOutReturns(result1 io.ReadCloser, result2 error)
- type FakeHijackStreamer
- func (fake *FakeHijackStreamer) Hijack(handler string, body io.Reader, params rata.Params, query url.Values, ...) (net.Conn, *bufio.Reader, error)
- func (fake *FakeHijackStreamer) HijackArgsForCall(i int) (string, io.Reader, rata.Params, url.Values, string)
- func (fake *FakeHijackStreamer) HijackCallCount() int
- func (fake *FakeHijackStreamer) HijackReturns(result1 net.Conn, result2 *bufio.Reader, result3 error)
- func (fake *FakeHijackStreamer) Stream(handler string, body io.Reader, params rata.Params, query url.Values, ...) (io.ReadCloser, error)
- func (fake *FakeHijackStreamer) StreamArgsForCall(i int) (string, io.Reader, rata.Params, url.Values, string)
- func (fake *FakeHijackStreamer) StreamCallCount() int
- func (fake *FakeHijackStreamer) StreamReturns(result1 io.ReadCloser, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConnection ¶
type FakeConnection struct { PingStub func() error CapacityStub func() (garden.Capacity, error) CreateStub func(spec garden.ContainerSpec) (string, error) ListStub func(properties garden.Properties) ([]string, error) DestroyStub func(handle string) error StopStub func(handle string, kill bool) error InfoStub func(handle string) (garden.ContainerInfo, error) BulkInfoStub func(handles []string) (map[string]garden.ContainerInfoEntry, error) BulkMetricsStub func(handles []string) (map[string]garden.ContainerMetricsEntry, error) StreamInStub func(handle string, spec garden.StreamInSpec) error StreamOutStub func(handle string, spec garden.StreamOutSpec) (io.ReadCloser, error) LimitBandwidthStub func(handle string, limits garden.BandwidthLimits) (garden.BandwidthLimits, error) LimitCPUStub func(handle string, limits garden.CPULimits) (garden.CPULimits, error) LimitMemoryStub func(handle string, limit garden.MemoryLimits) (garden.MemoryLimits, error) CurrentBandwidthLimitsStub func(handle string) (garden.BandwidthLimits, error) CurrentCPULimitsStub func(handle string) (garden.CPULimits, error) CurrentDiskLimitsStub func(handle string) (garden.DiskLimits, error) CurrentMemoryLimitsStub func(handle string) (garden.MemoryLimits, error) RunStub func(handle string, spec garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error) AttachStub func(handle string, processID string, io garden.ProcessIO) (garden.Process, error) NetInStub func(handle string, hostPort, containerPort uint32) (uint32, uint32, error) NetOutStub func(handle string, rule garden.NetOutRule) error SetGraceTimeStub func(handle string, graceTime time.Duration) error PropertiesStub func(handle string) (garden.Properties, error) PropertyStub func(handle string, name string) (string, error) SetPropertyStub func(handle string, name string, value string) error MetricsStub func(handle string) (garden.Metrics, error) RemovePropertyStub func(handle string, name string) error // contains filtered or unexported fields }
func (*FakeConnection) AttachArgsForCall ¶
func (*FakeConnection) AttachCallCount ¶
func (fake *FakeConnection) AttachCallCount() int
func (*FakeConnection) AttachReturns ¶
func (fake *FakeConnection) AttachReturns(result1 garden.Process, result2 error)
func (*FakeConnection) BulkInfo ¶
func (fake *FakeConnection) BulkInfo(handles []string) (map[string]garden.ContainerInfoEntry, error)
func (*FakeConnection) BulkInfoArgsForCall ¶
func (fake *FakeConnection) BulkInfoArgsForCall(i int) []string
func (*FakeConnection) BulkInfoCallCount ¶
func (fake *FakeConnection) BulkInfoCallCount() int
func (*FakeConnection) BulkInfoReturns ¶
func (fake *FakeConnection) BulkInfoReturns(result1 map[string]garden.ContainerInfoEntry, result2 error)
func (*FakeConnection) BulkMetrics ¶
func (fake *FakeConnection) BulkMetrics(handles []string) (map[string]garden.ContainerMetricsEntry, error)
func (*FakeConnection) BulkMetricsArgsForCall ¶
func (fake *FakeConnection) BulkMetricsArgsForCall(i int) []string
func (*FakeConnection) BulkMetricsCallCount ¶
func (fake *FakeConnection) BulkMetricsCallCount() int
func (*FakeConnection) BulkMetricsReturns ¶
func (fake *FakeConnection) BulkMetricsReturns(result1 map[string]garden.ContainerMetricsEntry, result2 error)
func (*FakeConnection) CapacityCallCount ¶
func (fake *FakeConnection) CapacityCallCount() int
func (*FakeConnection) CapacityReturns ¶
func (fake *FakeConnection) CapacityReturns(result1 garden.Capacity, result2 error)
func (*FakeConnection) Create ¶
func (fake *FakeConnection) Create(spec garden.ContainerSpec) (string, error)
func (*FakeConnection) CreateArgsForCall ¶
func (fake *FakeConnection) CreateArgsForCall(i int) garden.ContainerSpec
func (*FakeConnection) CreateCallCount ¶
func (fake *FakeConnection) CreateCallCount() int
func (*FakeConnection) CreateReturns ¶
func (fake *FakeConnection) CreateReturns(result1 string, result2 error)
func (*FakeConnection) CurrentBandwidthLimits ¶
func (fake *FakeConnection) CurrentBandwidthLimits(handle string) (garden.BandwidthLimits, error)
func (*FakeConnection) CurrentBandwidthLimitsArgsForCall ¶
func (fake *FakeConnection) CurrentBandwidthLimitsArgsForCall(i int) string
func (*FakeConnection) CurrentBandwidthLimitsCallCount ¶
func (fake *FakeConnection) CurrentBandwidthLimitsCallCount() int
func (*FakeConnection) CurrentBandwidthLimitsReturns ¶
func (fake *FakeConnection) CurrentBandwidthLimitsReturns(result1 garden.BandwidthLimits, result2 error)
func (*FakeConnection) CurrentCPULimits ¶
func (fake *FakeConnection) CurrentCPULimits(handle string) (garden.CPULimits, error)
func (*FakeConnection) CurrentCPULimitsArgsForCall ¶
func (fake *FakeConnection) CurrentCPULimitsArgsForCall(i int) string
func (*FakeConnection) CurrentCPULimitsCallCount ¶
func (fake *FakeConnection) CurrentCPULimitsCallCount() int
func (*FakeConnection) CurrentCPULimitsReturns ¶
func (fake *FakeConnection) CurrentCPULimitsReturns(result1 garden.CPULimits, result2 error)
func (*FakeConnection) CurrentDiskLimits ¶
func (fake *FakeConnection) CurrentDiskLimits(handle string) (garden.DiskLimits, error)
func (*FakeConnection) CurrentDiskLimitsArgsForCall ¶
func (fake *FakeConnection) CurrentDiskLimitsArgsForCall(i int) string
func (*FakeConnection) CurrentDiskLimitsCallCount ¶
func (fake *FakeConnection) CurrentDiskLimitsCallCount() int
func (*FakeConnection) CurrentDiskLimitsReturns ¶
func (fake *FakeConnection) CurrentDiskLimitsReturns(result1 garden.DiskLimits, result2 error)
func (*FakeConnection) CurrentMemoryLimits ¶
func (fake *FakeConnection) CurrentMemoryLimits(handle string) (garden.MemoryLimits, error)
func (*FakeConnection) CurrentMemoryLimitsArgsForCall ¶
func (fake *FakeConnection) CurrentMemoryLimitsArgsForCall(i int) string
func (*FakeConnection) CurrentMemoryLimitsCallCount ¶
func (fake *FakeConnection) CurrentMemoryLimitsCallCount() int
func (*FakeConnection) CurrentMemoryLimitsReturns ¶
func (fake *FakeConnection) CurrentMemoryLimitsReturns(result1 garden.MemoryLimits, result2 error)
func (*FakeConnection) Destroy ¶
func (fake *FakeConnection) Destroy(handle string) error
func (*FakeConnection) DestroyArgsForCall ¶
func (fake *FakeConnection) DestroyArgsForCall(i int) string
func (*FakeConnection) DestroyCallCount ¶
func (fake *FakeConnection) DestroyCallCount() int
func (*FakeConnection) DestroyReturns ¶
func (fake *FakeConnection) DestroyReturns(result1 error)
func (*FakeConnection) Info ¶
func (fake *FakeConnection) Info(handle string) (garden.ContainerInfo, error)
func (*FakeConnection) InfoArgsForCall ¶
func (fake *FakeConnection) InfoArgsForCall(i int) string
func (*FakeConnection) InfoCallCount ¶
func (fake *FakeConnection) InfoCallCount() int
func (*FakeConnection) InfoReturns ¶
func (fake *FakeConnection) InfoReturns(result1 garden.ContainerInfo, result2 error)
func (*FakeConnection) LimitBandwidth ¶
func (fake *FakeConnection) LimitBandwidth(handle string, limits garden.BandwidthLimits) (garden.BandwidthLimits, error)
func (*FakeConnection) LimitBandwidthArgsForCall ¶
func (fake *FakeConnection) LimitBandwidthArgsForCall(i int) (string, garden.BandwidthLimits)
func (*FakeConnection) LimitBandwidthCallCount ¶
func (fake *FakeConnection) LimitBandwidthCallCount() int
func (*FakeConnection) LimitBandwidthReturns ¶
func (fake *FakeConnection) LimitBandwidthReturns(result1 garden.BandwidthLimits, result2 error)
func (*FakeConnection) LimitCPUArgsForCall ¶
func (fake *FakeConnection) LimitCPUArgsForCall(i int) (string, garden.CPULimits)
func (*FakeConnection) LimitCPUCallCount ¶
func (fake *FakeConnection) LimitCPUCallCount() int
func (*FakeConnection) LimitCPUReturns ¶
func (fake *FakeConnection) LimitCPUReturns(result1 garden.CPULimits, result2 error)
func (*FakeConnection) LimitMemory ¶
func (fake *FakeConnection) LimitMemory(handle string, limit garden.MemoryLimits) (garden.MemoryLimits, error)
func (*FakeConnection) LimitMemoryArgsForCall ¶
func (fake *FakeConnection) LimitMemoryArgsForCall(i int) (string, garden.MemoryLimits)
func (*FakeConnection) LimitMemoryCallCount ¶
func (fake *FakeConnection) LimitMemoryCallCount() int
func (*FakeConnection) LimitMemoryReturns ¶
func (fake *FakeConnection) LimitMemoryReturns(result1 garden.MemoryLimits, result2 error)
func (*FakeConnection) List ¶
func (fake *FakeConnection) List(properties garden.Properties) ([]string, error)
func (*FakeConnection) ListArgsForCall ¶
func (fake *FakeConnection) ListArgsForCall(i int) garden.Properties
func (*FakeConnection) ListCallCount ¶
func (fake *FakeConnection) ListCallCount() int
func (*FakeConnection) ListReturns ¶
func (fake *FakeConnection) ListReturns(result1 []string, result2 error)
func (*FakeConnection) Metrics ¶
func (fake *FakeConnection) Metrics(handle string) (garden.Metrics, error)
func (*FakeConnection) MetricsArgsForCall ¶
func (fake *FakeConnection) MetricsArgsForCall(i int) string
func (*FakeConnection) MetricsCallCount ¶
func (fake *FakeConnection) MetricsCallCount() int
func (*FakeConnection) MetricsReturns ¶
func (fake *FakeConnection) MetricsReturns(result1 garden.Metrics, result2 error)
func (*FakeConnection) NetInArgsForCall ¶
func (fake *FakeConnection) NetInArgsForCall(i int) (string, uint32, uint32)
func (*FakeConnection) NetInCallCount ¶
func (fake *FakeConnection) NetInCallCount() int
func (*FakeConnection) NetInReturns ¶
func (fake *FakeConnection) NetInReturns(result1 uint32, result2 uint32, result3 error)
func (*FakeConnection) NetOut ¶
func (fake *FakeConnection) NetOut(handle string, rule garden.NetOutRule) error
func (*FakeConnection) NetOutArgsForCall ¶
func (fake *FakeConnection) NetOutArgsForCall(i int) (string, garden.NetOutRule)
func (*FakeConnection) NetOutCallCount ¶
func (fake *FakeConnection) NetOutCallCount() int
func (*FakeConnection) NetOutReturns ¶
func (fake *FakeConnection) NetOutReturns(result1 error)
func (*FakeConnection) Ping ¶
func (fake *FakeConnection) Ping() error
func (*FakeConnection) PingCallCount ¶
func (fake *FakeConnection) PingCallCount() int
func (*FakeConnection) PingReturns ¶
func (fake *FakeConnection) PingReturns(result1 error)
func (*FakeConnection) Properties ¶
func (fake *FakeConnection) Properties(handle string) (garden.Properties, error)
func (*FakeConnection) PropertiesArgsForCall ¶
func (fake *FakeConnection) PropertiesArgsForCall(i int) string
func (*FakeConnection) PropertiesCallCount ¶
func (fake *FakeConnection) PropertiesCallCount() int
func (*FakeConnection) PropertiesReturns ¶
func (fake *FakeConnection) PropertiesReturns(result1 garden.Properties, result2 error)
func (*FakeConnection) Property ¶
func (fake *FakeConnection) Property(handle string, name string) (string, error)
func (*FakeConnection) PropertyArgsForCall ¶
func (fake *FakeConnection) PropertyArgsForCall(i int) (string, string)
func (*FakeConnection) PropertyCallCount ¶
func (fake *FakeConnection) PropertyCallCount() int
func (*FakeConnection) PropertyReturns ¶
func (fake *FakeConnection) PropertyReturns(result1 string, result2 error)
func (*FakeConnection) RemoveProperty ¶
func (fake *FakeConnection) RemoveProperty(handle string, name string) error
func (*FakeConnection) RemovePropertyArgsForCall ¶
func (fake *FakeConnection) RemovePropertyArgsForCall(i int) (string, string)
func (*FakeConnection) RemovePropertyCallCount ¶
func (fake *FakeConnection) RemovePropertyCallCount() int
func (*FakeConnection) RemovePropertyReturns ¶
func (fake *FakeConnection) RemovePropertyReturns(result1 error)
func (*FakeConnection) Run ¶
func (fake *FakeConnection) Run(handle string, spec garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error)
func (*FakeConnection) RunArgsForCall ¶
func (fake *FakeConnection) RunArgsForCall(i int) (string, garden.ProcessSpec, garden.ProcessIO)
func (*FakeConnection) RunCallCount ¶
func (fake *FakeConnection) RunCallCount() int
func (*FakeConnection) RunReturns ¶
func (fake *FakeConnection) RunReturns(result1 garden.Process, result2 error)
func (*FakeConnection) SetGraceTime ¶
func (fake *FakeConnection) SetGraceTime(handle string, graceTime time.Duration) error
func (*FakeConnection) SetGraceTimeArgsForCall ¶
func (fake *FakeConnection) SetGraceTimeArgsForCall(i int) (string, time.Duration)
func (*FakeConnection) SetGraceTimeCallCount ¶
func (fake *FakeConnection) SetGraceTimeCallCount() int
func (*FakeConnection) SetGraceTimeReturns ¶
func (fake *FakeConnection) SetGraceTimeReturns(result1 error)
func (*FakeConnection) SetProperty ¶
func (fake *FakeConnection) SetProperty(handle string, name string, value string) error
func (*FakeConnection) SetPropertyArgsForCall ¶
func (fake *FakeConnection) SetPropertyArgsForCall(i int) (string, string, string)
func (*FakeConnection) SetPropertyCallCount ¶
func (fake *FakeConnection) SetPropertyCallCount() int
func (*FakeConnection) SetPropertyReturns ¶
func (fake *FakeConnection) SetPropertyReturns(result1 error)
func (*FakeConnection) StopArgsForCall ¶
func (fake *FakeConnection) StopArgsForCall(i int) (string, bool)
func (*FakeConnection) StopCallCount ¶
func (fake *FakeConnection) StopCallCount() int
func (*FakeConnection) StopReturns ¶
func (fake *FakeConnection) StopReturns(result1 error)
func (*FakeConnection) StreamIn ¶
func (fake *FakeConnection) StreamIn(handle string, spec garden.StreamInSpec) error
func (*FakeConnection) StreamInArgsForCall ¶
func (fake *FakeConnection) StreamInArgsForCall(i int) (string, garden.StreamInSpec)
func (*FakeConnection) StreamInCallCount ¶
func (fake *FakeConnection) StreamInCallCount() int
func (*FakeConnection) StreamInReturns ¶
func (fake *FakeConnection) StreamInReturns(result1 error)
func (*FakeConnection) StreamOut ¶
func (fake *FakeConnection) StreamOut(handle string, spec garden.StreamOutSpec) (io.ReadCloser, error)
func (*FakeConnection) StreamOutArgsForCall ¶
func (fake *FakeConnection) StreamOutArgsForCall(i int) (string, garden.StreamOutSpec)
func (*FakeConnection) StreamOutCallCount ¶
func (fake *FakeConnection) StreamOutCallCount() int
func (*FakeConnection) StreamOutReturns ¶
func (fake *FakeConnection) StreamOutReturns(result1 io.ReadCloser, result2 error)
type FakeHijackStreamer ¶
type FakeHijackStreamer struct { StreamStub func(handler string, body io.Reader, params rata.Params, query url.Values, contentType string) (io.ReadCloser, error) HijackStub func(handler string, body io.Reader, params rata.Params, query url.Values, contentType string) (net.Conn, *bufio.Reader, error) // contains filtered or unexported fields }
func (*FakeHijackStreamer) HijackArgsForCall ¶
func (*FakeHijackStreamer) HijackCallCount ¶
func (fake *FakeHijackStreamer) HijackCallCount() int
func (*FakeHijackStreamer) HijackReturns ¶
func (*FakeHijackStreamer) StreamArgsForCall ¶
func (*FakeHijackStreamer) StreamCallCount ¶
func (fake *FakeHijackStreamer) StreamCallCount() int
func (*FakeHijackStreamer) StreamReturns ¶
func (fake *FakeHijackStreamer) StreamReturns(result1 io.ReadCloser, result2 error)
Click to show internal directories.
Click to hide internal directories.