Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter ¶
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.
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 ¶
- type CNIController
- func (fake *CNIController) Down(namespacePath string, handle string) error
- func (fake *CNIController) DownArgsForCall(i int) (string, string)
- func (fake *CNIController) DownCallCount() int
- func (fake *CNIController) DownReturns(result1 error)
- func (fake *CNIController) DownReturnsOnCall(i int, result1 error)
- func (fake *CNIController) Invocations() map[string][][]interface{}
- func (fake *CNIController) Up(namespacePath string, handle string, metadata map[string]interface{}, ...) (types.Result, error)
- func (fake *CNIController) UpArgsForCall(i int) (string, string, map[string]interface{}, map[string]interface{})
- func (fake *CNIController) UpCallCount() int
- func (fake *CNIController) UpReturns(result1 types.Result, result2 error)
- func (fake *CNIController) UpReturnsOnCall(i int, result1 types.Result, result2 error)
- type CNILibrary
- func (fake *CNILibrary) AddNetwork(net *libcni.NetworkConfig, rt *libcni.RuntimeConf) (types.Result, error)
- func (fake *CNILibrary) AddNetworkArgsForCall(i int) (*libcni.NetworkConfig, *libcni.RuntimeConf)
- func (fake *CNILibrary) AddNetworkCallCount() int
- func (fake *CNILibrary) AddNetworkList(net *libcni.NetworkConfigList, rt *libcni.RuntimeConf) (types.Result, error)
- func (fake *CNILibrary) AddNetworkListArgsForCall(i int) (*libcni.NetworkConfigList, *libcni.RuntimeConf)
- func (fake *CNILibrary) AddNetworkListCallCount() int
- func (fake *CNILibrary) AddNetworkListReturns(result1 types.Result, result2 error)
- func (fake *CNILibrary) AddNetworkListReturnsOnCall(i int, result1 types.Result, result2 error)
- func (fake *CNILibrary) AddNetworkReturns(result1 types.Result, result2 error)
- func (fake *CNILibrary) AddNetworkReturnsOnCall(i int, result1 types.Result, result2 error)
- func (fake *CNILibrary) DelNetwork(net *libcni.NetworkConfig, rt *libcni.RuntimeConf) error
- func (fake *CNILibrary) DelNetworkArgsForCall(i int) (*libcni.NetworkConfig, *libcni.RuntimeConf)
- func (fake *CNILibrary) DelNetworkCallCount() int
- func (fake *CNILibrary) DelNetworkList(net *libcni.NetworkConfigList, rt *libcni.RuntimeConf) error
- func (fake *CNILibrary) DelNetworkListArgsForCall(i int) (*libcni.NetworkConfigList, *libcni.RuntimeConf)
- func (fake *CNILibrary) DelNetworkListCallCount() int
- func (fake *CNILibrary) DelNetworkListReturns(result1 error)
- func (fake *CNILibrary) DelNetworkListReturnsOnCall(i int, result1 error)
- func (fake *CNILibrary) DelNetworkReturns(result1 error)
- func (fake *CNILibrary) DelNetworkReturnsOnCall(i int, result1 error)
- func (fake *CNILibrary) Invocations() map[string][][]interface{}
- type FileLocker
- func (fake *FileLocker) Invocations() map[string][][]interface{}
- func (fake *FileLocker) Open() (filelock.LockedFile, error)
- func (fake *FileLocker) OpenCallCount() int
- func (fake *FileLocker) OpenReturns(result1 filelock.LockedFile, result2 error)
- func (fake *FileLocker) OpenReturnsOnCall(i int, result1 filelock.LockedFile, result2 error)
- type LockedFile
- func (fake *LockedFile) Close() error
- func (fake *LockedFile) CloseCallCount() int
- func (fake *LockedFile) CloseReturns(result1 error)
- func (fake *LockedFile) CloseReturnsOnCall(i int, result1 error)
- func (fake *LockedFile) Invocations() map[string][][]interface{}
- func (fake *LockedFile) Read(arg1 []byte) (int, error)
- func (fake *LockedFile) ReadArgsForCall(i int) []byte
- func (fake *LockedFile) ReadCallCount() int
- func (fake *LockedFile) ReadReturns(result1 int, result2 error)
- func (fake *LockedFile) ReadReturnsOnCall(i int, result1 int, result2 error)
- func (fake *LockedFile) Seek(arg1 int64, arg2 int) (int64, error)
- func (fake *LockedFile) SeekArgsForCall(i int) (int64, int)
- func (fake *LockedFile) SeekCallCount() int
- func (fake *LockedFile) SeekReturns(result1 int64, result2 error)
- func (fake *LockedFile) SeekReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *LockedFile) Truncate(arg1 int64) error
- func (fake *LockedFile) TruncateArgsForCall(i int) int64
- func (fake *LockedFile) TruncateCallCount() int
- func (fake *LockedFile) TruncateReturns(result1 error)
- func (fake *LockedFile) TruncateReturnsOnCall(i int, result1 error)
- func (fake *LockedFile) Write(arg1 []byte) (int, error)
- func (fake *LockedFile) WriteArgsForCall(i int) []byte
- func (fake *LockedFile) WriteCallCount() int
- func (fake *LockedFile) WriteReturns(result1 int, result2 error)
- func (fake *LockedFile) WriteReturnsOnCall(i int, result1 int, result2 error)
- type Mounter
- func (fake *Mounter) IdempotentlyMount(source string, target string) error
- func (fake *Mounter) IdempotentlyMountArgsForCall(i int) (string, string)
- func (fake *Mounter) IdempotentlyMountCallCount() int
- func (fake *Mounter) IdempotentlyMountReturns(result1 error)
- func (fake *Mounter) IdempotentlyMountReturnsOnCall(i int, result1 error)
- func (fake *Mounter) Invocations() map[string][][]interface{}
- func (fake *Mounter) RemoveMount(target string) error
- func (fake *Mounter) RemoveMountArgsForCall(i int) string
- func (fake *Mounter) RemoveMountCallCount() int
- func (fake *Mounter) RemoveMountReturns(result1 error)
- func (fake *Mounter) RemoveMountReturnsOnCall(i int, result1 error)
- type NamespaceAdapter
- func (fake *NamespaceAdapter) GetNS(netNamespace string) (ns.NetNS, error)
- func (fake *NamespaceAdapter) GetNSArgsForCall(i int) string
- func (fake *NamespaceAdapter) GetNSCallCount() int
- func (fake *NamespaceAdapter) GetNSReturns(result1 ns.NetNS, result2 error)
- func (fake *NamespaceAdapter) GetNSReturnsOnCall(i int, result1 ns.NetNS, result2 error)
- func (fake *NamespaceAdapter) Invocations() map[string][][]interface{}
- type NetNS
- func (fake *NetNS) Close() error
- func (fake *NetNS) CloseCallCount() int
- func (fake *NetNS) CloseReturns(result1 error)
- func (fake *NetNS) CloseReturnsOnCall(i int, result1 error)
- func (fake *NetNS) Do(toRun func(ns.NetNS) error) error
- func (fake *NetNS) DoArgsForCall(i int) func(ns.NetNS) error
- func (fake *NetNS) DoCallCount() int
- func (fake *NetNS) DoReturns(result1 error)
- func (fake *NetNS) DoReturnsOnCall(i int, result1 error)
- func (fake *NetNS) Fd() uintptr
- func (fake *NetNS) FdCallCount() int
- func (fake *NetNS) FdReturns(result1 uintptr)
- func (fake *NetNS) FdReturnsOnCall(i int, result1 uintptr)
- func (fake *NetNS) Invocations() map[string][][]interface{}
- func (fake *NetNS) Path() string
- func (fake *NetNS) PathCallCount() int
- func (fake *NetNS) PathReturns(result1 string)
- func (fake *NetNS) PathReturnsOnCall(i int, result1 string)
- func (fake *NetNS) Set() error
- func (fake *NetNS) SetCallCount() int
- func (fake *NetNS) SetReturns(result1 error)
- func (fake *NetNS) SetReturnsOnCall(i int, result1 error)
- type PortAllocator
- func (fake *PortAllocator) AllocatePort(handle string, port int) (int, error)
- func (fake *PortAllocator) AllocatePortArgsForCall(i int) (string, int)
- func (fake *PortAllocator) AllocatePortCallCount() int
- func (fake *PortAllocator) AllocatePortReturns(result1 int, result2 error)
- func (fake *PortAllocator) AllocatePortReturnsOnCall(i int, result1 int, result2 error)
- func (fake *PortAllocator) Invocations() map[string][][]interface{}
- func (fake *PortAllocator) ReleaseAllPorts(handle string) error
- func (fake *PortAllocator) ReleaseAllPortsArgsForCall(i int) string
- func (fake *PortAllocator) ReleaseAllPortsCallCount() int
- func (fake *PortAllocator) ReleaseAllPortsReturns(result1 error)
- func (fake *PortAllocator) ReleaseAllPortsReturnsOnCall(i int, result1 error)
- type ProxyRedirect
- func (fake *ProxyRedirect) Apply(containerNamespace string) error
- func (fake *ProxyRedirect) ApplyArgsForCall(i int) string
- func (fake *ProxyRedirect) ApplyCallCount() int
- func (fake *ProxyRedirect) ApplyReturns(result1 error)
- func (fake *ProxyRedirect) ApplyReturnsOnCall(i int, result1 error)
- func (fake *ProxyRedirect) Invocations() map[string][][]interface{}
- type Tracker
- func (fake *Tracker) AcquireOne(pool *port_allocator.Pool, handle string) (int, error)
- func (fake *Tracker) AcquireOneArgsForCall(i int) (*port_allocator.Pool, string)
- func (fake *Tracker) AcquireOneCallCount() int
- func (fake *Tracker) AcquireOneReturns(result1 int, result2 error)
- func (fake *Tracker) AcquireOneReturnsOnCall(i int, result1 int, result2 error)
- func (fake *Tracker) InRange(port int) bool
- func (fake *Tracker) InRangeArgsForCall(i int) int
- func (fake *Tracker) InRangeCallCount() int
- func (fake *Tracker) InRangeReturns(result1 bool)
- func (fake *Tracker) InRangeReturnsOnCall(i int, result1 bool)
- func (fake *Tracker) Invocations() map[string][][]interface{}
- func (fake *Tracker) ReleaseAll(pool *port_allocator.Pool, handle string) error
- func (fake *Tracker) ReleaseAllArgsForCall(i int) (*port_allocator.Pool, string)
- func (fake *Tracker) ReleaseAllCallCount() int
- func (fake *Tracker) ReleaseAllReturns(result1 error)
- func (fake *Tracker) ReleaseAllReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CNIController ¶
type CNIController struct { UpStub func(namespacePath, handle string, metadata map[string]interface{}, legacyNetConf map[string]interface{}) (types.Result, error) DownStub func(namespacePath, handle string) error // contains filtered or unexported fields }
func (*CNIController) Down ¶
func (fake *CNIController) Down(namespacePath string, handle string) error
func (*CNIController) DownArgsForCall ¶
func (fake *CNIController) DownArgsForCall(i int) (string, string)
func (*CNIController) DownCallCount ¶
func (fake *CNIController) DownCallCount() int
func (*CNIController) DownReturns ¶
func (fake *CNIController) DownReturns(result1 error)
func (*CNIController) DownReturnsOnCall ¶
func (fake *CNIController) DownReturnsOnCall(i int, result1 error)
func (*CNIController) Invocations ¶
func (fake *CNIController) Invocations() map[string][][]interface{}
func (*CNIController) UpArgsForCall ¶
func (*CNIController) UpCallCount ¶
func (fake *CNIController) UpCallCount() int
func (*CNIController) UpReturns ¶
func (fake *CNIController) UpReturns(result1 types.Result, result2 error)
func (*CNIController) UpReturnsOnCall ¶
func (fake *CNIController) UpReturnsOnCall(i int, result1 types.Result, result2 error)
type CNILibrary ¶
type CNILibrary struct { AddNetworkListStub func(net *libcni.NetworkConfigList, rt *libcni.RuntimeConf) (types.Result, error) DelNetworkListStub func(net *libcni.NetworkConfigList, rt *libcni.RuntimeConf) error AddNetworkStub func(net *libcni.NetworkConfig, rt *libcni.RuntimeConf) (types.Result, error) DelNetworkStub func(net *libcni.NetworkConfig, rt *libcni.RuntimeConf) error // contains filtered or unexported fields }
func (*CNILibrary) AddNetwork ¶
func (fake *CNILibrary) AddNetwork(net *libcni.NetworkConfig, rt *libcni.RuntimeConf) (types.Result, error)
func (*CNILibrary) AddNetworkArgsForCall ¶
func (fake *CNILibrary) AddNetworkArgsForCall(i int) (*libcni.NetworkConfig, *libcni.RuntimeConf)
func (*CNILibrary) AddNetworkCallCount ¶
func (fake *CNILibrary) AddNetworkCallCount() int
func (*CNILibrary) AddNetworkList ¶
func (fake *CNILibrary) AddNetworkList(net *libcni.NetworkConfigList, rt *libcni.RuntimeConf) (types.Result, error)
func (*CNILibrary) AddNetworkListArgsForCall ¶
func (fake *CNILibrary) AddNetworkListArgsForCall(i int) (*libcni.NetworkConfigList, *libcni.RuntimeConf)
func (*CNILibrary) AddNetworkListCallCount ¶
func (fake *CNILibrary) AddNetworkListCallCount() int
func (*CNILibrary) AddNetworkListReturns ¶
func (fake *CNILibrary) AddNetworkListReturns(result1 types.Result, result2 error)
func (*CNILibrary) AddNetworkListReturnsOnCall ¶
func (fake *CNILibrary) AddNetworkListReturnsOnCall(i int, result1 types.Result, result2 error)
func (*CNILibrary) AddNetworkReturns ¶
func (fake *CNILibrary) AddNetworkReturns(result1 types.Result, result2 error)
func (*CNILibrary) AddNetworkReturnsOnCall ¶
func (fake *CNILibrary) AddNetworkReturnsOnCall(i int, result1 types.Result, result2 error)
func (*CNILibrary) DelNetwork ¶
func (fake *CNILibrary) DelNetwork(net *libcni.NetworkConfig, rt *libcni.RuntimeConf) error
func (*CNILibrary) DelNetworkArgsForCall ¶
func (fake *CNILibrary) DelNetworkArgsForCall(i int) (*libcni.NetworkConfig, *libcni.RuntimeConf)
func (*CNILibrary) DelNetworkCallCount ¶
func (fake *CNILibrary) DelNetworkCallCount() int
func (*CNILibrary) DelNetworkList ¶
func (fake *CNILibrary) DelNetworkList(net *libcni.NetworkConfigList, rt *libcni.RuntimeConf) error
func (*CNILibrary) DelNetworkListArgsForCall ¶
func (fake *CNILibrary) DelNetworkListArgsForCall(i int) (*libcni.NetworkConfigList, *libcni.RuntimeConf)
func (*CNILibrary) DelNetworkListCallCount ¶
func (fake *CNILibrary) DelNetworkListCallCount() int
func (*CNILibrary) DelNetworkListReturns ¶
func (fake *CNILibrary) DelNetworkListReturns(result1 error)
func (*CNILibrary) DelNetworkListReturnsOnCall ¶
func (fake *CNILibrary) DelNetworkListReturnsOnCall(i int, result1 error)
func (*CNILibrary) DelNetworkReturns ¶
func (fake *CNILibrary) DelNetworkReturns(result1 error)
func (*CNILibrary) DelNetworkReturnsOnCall ¶
func (fake *CNILibrary) DelNetworkReturnsOnCall(i int, result1 error)
func (*CNILibrary) Invocations ¶
func (fake *CNILibrary) Invocations() map[string][][]interface{}
type FileLocker ¶
type FileLocker struct { OpenStub func() (filelock.LockedFile, error) // contains filtered or unexported fields }
func (*FileLocker) Invocations ¶
func (fake *FileLocker) Invocations() map[string][][]interface{}
func (*FileLocker) Open ¶
func (fake *FileLocker) Open() (filelock.LockedFile, error)
func (*FileLocker) OpenCallCount ¶
func (fake *FileLocker) OpenCallCount() int
func (*FileLocker) OpenReturns ¶
func (fake *FileLocker) OpenReturns(result1 filelock.LockedFile, result2 error)
func (*FileLocker) OpenReturnsOnCall ¶
func (fake *FileLocker) OpenReturnsOnCall(i int, result1 filelock.LockedFile, result2 error)
type LockedFile ¶
type LockedFile struct { CloseStub func() error ReadStub func([]byte) (int, error) TruncateStub func(int64) error WriteStub func([]byte) (int, error) SeekStub func(int64, int) (int64, error) // contains filtered or unexported fields }
func (*LockedFile) Close ¶
func (fake *LockedFile) Close() error
func (*LockedFile) CloseCallCount ¶
func (fake *LockedFile) CloseCallCount() int
func (*LockedFile) CloseReturns ¶
func (fake *LockedFile) CloseReturns(result1 error)
func (*LockedFile) CloseReturnsOnCall ¶
func (fake *LockedFile) CloseReturnsOnCall(i int, result1 error)
func (*LockedFile) Invocations ¶
func (fake *LockedFile) Invocations() map[string][][]interface{}
func (*LockedFile) ReadArgsForCall ¶
func (fake *LockedFile) ReadArgsForCall(i int) []byte
func (*LockedFile) ReadCallCount ¶
func (fake *LockedFile) ReadCallCount() int
func (*LockedFile) ReadReturns ¶
func (fake *LockedFile) ReadReturns(result1 int, result2 error)
func (*LockedFile) ReadReturnsOnCall ¶
func (fake *LockedFile) ReadReturnsOnCall(i int, result1 int, result2 error)
func (*LockedFile) SeekArgsForCall ¶
func (fake *LockedFile) SeekArgsForCall(i int) (int64, int)
func (*LockedFile) SeekCallCount ¶
func (fake *LockedFile) SeekCallCount() int
func (*LockedFile) SeekReturns ¶
func (fake *LockedFile) SeekReturns(result1 int64, result2 error)
func (*LockedFile) SeekReturnsOnCall ¶
func (fake *LockedFile) SeekReturnsOnCall(i int, result1 int64, result2 error)
func (*LockedFile) Truncate ¶
func (fake *LockedFile) Truncate(arg1 int64) error
func (*LockedFile) TruncateArgsForCall ¶
func (fake *LockedFile) TruncateArgsForCall(i int) int64
func (*LockedFile) TruncateCallCount ¶
func (fake *LockedFile) TruncateCallCount() int
func (*LockedFile) TruncateReturns ¶
func (fake *LockedFile) TruncateReturns(result1 error)
func (*LockedFile) TruncateReturnsOnCall ¶
func (fake *LockedFile) TruncateReturnsOnCall(i int, result1 error)
func (*LockedFile) WriteArgsForCall ¶
func (fake *LockedFile) WriteArgsForCall(i int) []byte
func (*LockedFile) WriteCallCount ¶
func (fake *LockedFile) WriteCallCount() int
func (*LockedFile) WriteReturns ¶
func (fake *LockedFile) WriteReturns(result1 int, result2 error)
func (*LockedFile) WriteReturnsOnCall ¶
func (fake *LockedFile) WriteReturnsOnCall(i int, result1 int, result2 error)
type Mounter ¶
type Mounter struct { IdempotentlyMountStub func(source, target string) error RemoveMountStub func(target string) error // contains filtered or unexported fields }
func (*Mounter) IdempotentlyMount ¶
func (*Mounter) IdempotentlyMountArgsForCall ¶
func (*Mounter) IdempotentlyMountCallCount ¶
func (*Mounter) IdempotentlyMountReturns ¶
func (*Mounter) IdempotentlyMountReturnsOnCall ¶
func (*Mounter) Invocations ¶
func (*Mounter) RemoveMount ¶
func (*Mounter) RemoveMountArgsForCall ¶
func (*Mounter) RemoveMountCallCount ¶
func (*Mounter) RemoveMountReturns ¶
func (*Mounter) RemoveMountReturnsOnCall ¶
type NamespaceAdapter ¶
type NamespaceAdapter struct { GetNSStub func(netNamespace string) (ns.NetNS, error) // contains filtered or unexported fields }
func (*NamespaceAdapter) GetNS ¶
func (fake *NamespaceAdapter) GetNS(netNamespace string) (ns.NetNS, error)
func (*NamespaceAdapter) GetNSArgsForCall ¶
func (fake *NamespaceAdapter) GetNSArgsForCall(i int) string
func (*NamespaceAdapter) GetNSCallCount ¶
func (fake *NamespaceAdapter) GetNSCallCount() int
func (*NamespaceAdapter) GetNSReturns ¶
func (fake *NamespaceAdapter) GetNSReturns(result1 ns.NetNS, result2 error)
func (*NamespaceAdapter) GetNSReturnsOnCall ¶
func (fake *NamespaceAdapter) GetNSReturnsOnCall(i int, result1 ns.NetNS, result2 error)
func (*NamespaceAdapter) Invocations ¶
func (fake *NamespaceAdapter) Invocations() map[string][][]interface{}
type NetNS ¶
type NetNS struct { DoStub func(toRun func(ns.NetNS) error) error SetStub func() error PathStub func() string FdStub func() uintptr CloseStub func() error // contains filtered or unexported fields }
func (*NetNS) CloseCallCount ¶
func (*NetNS) CloseReturns ¶
func (*NetNS) CloseReturnsOnCall ¶
func (*NetNS) DoCallCount ¶
func (*NetNS) DoReturnsOnCall ¶
func (*NetNS) FdCallCount ¶
func (*NetNS) FdReturnsOnCall ¶
func (*NetNS) Invocations ¶
func (*NetNS) PathCallCount ¶
func (*NetNS) PathReturns ¶
func (*NetNS) PathReturnsOnCall ¶
func (*NetNS) SetCallCount ¶
func (*NetNS) SetReturns ¶
func (*NetNS) SetReturnsOnCall ¶
type PortAllocator ¶
type PortAllocator struct { AllocatePortStub func(handle string, port int) (int, error) ReleaseAllPortsStub func(handle string) error // contains filtered or unexported fields }
func (*PortAllocator) AllocatePort ¶
func (fake *PortAllocator) AllocatePort(handle string, port int) (int, error)
func (*PortAllocator) AllocatePortArgsForCall ¶
func (fake *PortAllocator) AllocatePortArgsForCall(i int) (string, int)
func (*PortAllocator) AllocatePortCallCount ¶
func (fake *PortAllocator) AllocatePortCallCount() int
func (*PortAllocator) AllocatePortReturns ¶
func (fake *PortAllocator) AllocatePortReturns(result1 int, result2 error)
func (*PortAllocator) AllocatePortReturnsOnCall ¶
func (fake *PortAllocator) AllocatePortReturnsOnCall(i int, result1 int, result2 error)
func (*PortAllocator) Invocations ¶
func (fake *PortAllocator) Invocations() map[string][][]interface{}
func (*PortAllocator) ReleaseAllPorts ¶
func (fake *PortAllocator) ReleaseAllPorts(handle string) error
func (*PortAllocator) ReleaseAllPortsArgsForCall ¶
func (fake *PortAllocator) ReleaseAllPortsArgsForCall(i int) string
func (*PortAllocator) ReleaseAllPortsCallCount ¶
func (fake *PortAllocator) ReleaseAllPortsCallCount() int
func (*PortAllocator) ReleaseAllPortsReturns ¶
func (fake *PortAllocator) ReleaseAllPortsReturns(result1 error)
func (*PortAllocator) ReleaseAllPortsReturnsOnCall ¶
func (fake *PortAllocator) ReleaseAllPortsReturnsOnCall(i int, result1 error)
type ProxyRedirect ¶
type ProxyRedirect struct { ApplyStub func(containerNamespace string) error // contains filtered or unexported fields }
func (*ProxyRedirect) Apply ¶
func (fake *ProxyRedirect) Apply(containerNamespace string) error
func (*ProxyRedirect) ApplyArgsForCall ¶
func (fake *ProxyRedirect) ApplyArgsForCall(i int) string
func (*ProxyRedirect) ApplyCallCount ¶
func (fake *ProxyRedirect) ApplyCallCount() int
func (*ProxyRedirect) ApplyReturns ¶
func (fake *ProxyRedirect) ApplyReturns(result1 error)
func (*ProxyRedirect) ApplyReturnsOnCall ¶
func (fake *ProxyRedirect) ApplyReturnsOnCall(i int, result1 error)
func (*ProxyRedirect) Invocations ¶
func (fake *ProxyRedirect) Invocations() map[string][][]interface{}
type Tracker ¶
type Tracker struct { AcquireOneStub func(pool *port_allocator.Pool, handle string) (int, error) ReleaseAllStub func(pool *port_allocator.Pool, handle string) error InRangeStub func(port int) bool // contains filtered or unexported fields }
func (*Tracker) AcquireOne ¶
func (*Tracker) AcquireOneArgsForCall ¶
func (fake *Tracker) AcquireOneArgsForCall(i int) (*port_allocator.Pool, string)
func (*Tracker) AcquireOneCallCount ¶
func (*Tracker) AcquireOneReturns ¶
func (*Tracker) AcquireOneReturnsOnCall ¶
func (*Tracker) InRangeArgsForCall ¶
func (*Tracker) InRangeCallCount ¶
func (*Tracker) InRangeReturns ¶
func (*Tracker) InRangeReturnsOnCall ¶
func (*Tracker) Invocations ¶
func (*Tracker) ReleaseAll ¶
func (fake *Tracker) ReleaseAll(pool *port_allocator.Pool, handle string) error
func (*Tracker) ReleaseAllArgsForCall ¶
func (fake *Tracker) ReleaseAllArgsForCall(i int) (*port_allocator.Pool, string)
func (*Tracker) ReleaseAllCallCount ¶
func (*Tracker) ReleaseAllReturns ¶
func (*Tracker) ReleaseAllReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.