Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakePool
- func (fake *FakePool) Acquire(arg1 lager.Logger, arg2 subnets.SubnetSelector, arg3 subnets.IPSelector) (*net.IPNet, net.IP, error)
- func (fake *FakePool) AcquireArgsForCall(i int) (lager.Logger, subnets.SubnetSelector, subnets.IPSelector)
- func (fake *FakePool) AcquireCallCount() int
- func (fake *FakePool) AcquireCalls(...)
- func (fake *FakePool) AcquireReturns(result1 *net.IPNet, result2 net.IP, result3 error)
- func (fake *FakePool) AcquireReturnsOnCall(i int, result1 *net.IPNet, result2 net.IP, result3 error)
- func (fake *FakePool) Capacity() int
- func (fake *FakePool) CapacityCallCount() int
- func (fake *FakePool) CapacityCalls(stub func() int)
- func (fake *FakePool) CapacityReturns(result1 int)
- func (fake *FakePool) CapacityReturnsOnCall(i int, result1 int)
- func (fake *FakePool) Invocations() map[string][][]interface{}
- func (fake *FakePool) Release(arg1 *net.IPNet, arg2 net.IP) error
- func (fake *FakePool) ReleaseArgsForCall(i int) (*net.IPNet, net.IP)
- func (fake *FakePool) ReleaseCallCount() int
- func (fake *FakePool) ReleaseCalls(stub func(*net.IPNet, net.IP) error)
- func (fake *FakePool) ReleaseReturns(result1 error)
- func (fake *FakePool) ReleaseReturnsOnCall(i int, result1 error)
- func (fake *FakePool) Remove(arg1 *net.IPNet, arg2 net.IP) error
- func (fake *FakePool) RemoveArgsForCall(i int) (*net.IPNet, net.IP)
- func (fake *FakePool) RemoveCallCount() int
- func (fake *FakePool) RemoveCalls(stub func(*net.IPNet, net.IP) error)
- func (fake *FakePool) RemoveReturns(result1 error)
- func (fake *FakePool) RemoveReturnsOnCall(i int, result1 error)
- func (fake *FakePool) RunIfFree(arg1 *net.IPNet, arg2 func() error) error
- func (fake *FakePool) RunIfFreeArgsForCall(i int) (*net.IPNet, func() error)
- func (fake *FakePool) RunIfFreeCallCount() int
- func (fake *FakePool) RunIfFreeCalls(stub func(*net.IPNet, func() error) error)
- func (fake *FakePool) RunIfFreeReturns(result1 error)
- func (fake *FakePool) RunIfFreeReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePool ¶
type FakePool struct { AcquireStub func(lager.Logger, subnets.SubnetSelector, subnets.IPSelector) (*net.IPNet, net.IP, error) CapacityStub func() int ReleaseStub func(*net.IPNet, net.IP) error RemoveStub func(*net.IPNet, net.IP) error RunIfFreeStub func(*net.IPNet, func() error) error // contains filtered or unexported fields }
func (*FakePool) Acquire ¶
func (fake *FakePool) Acquire(arg1 lager.Logger, arg2 subnets.SubnetSelector, arg3 subnets.IPSelector) (*net.IPNet, net.IP, error)
func (*FakePool) AcquireArgsForCall ¶
func (fake *FakePool) AcquireArgsForCall(i int) (lager.Logger, subnets.SubnetSelector, subnets.IPSelector)
func (*FakePool) AcquireCallCount ¶
func (*FakePool) AcquireCalls ¶
func (fake *FakePool) AcquireCalls(stub func(lager.Logger, subnets.SubnetSelector, subnets.IPSelector) (*net.IPNet, net.IP, error))
func (*FakePool) AcquireReturns ¶
func (*FakePool) AcquireReturnsOnCall ¶
func (*FakePool) CapacityCallCount ¶
func (*FakePool) CapacityCalls ¶
func (*FakePool) CapacityReturns ¶
func (*FakePool) CapacityReturnsOnCall ¶
func (*FakePool) Invocations ¶
func (*FakePool) ReleaseArgsForCall ¶
func (*FakePool) ReleaseCallCount ¶
func (*FakePool) ReleaseCalls ¶
func (*FakePool) ReleaseReturns ¶
func (*FakePool) ReleaseReturnsOnCall ¶
func (*FakePool) RemoveArgsForCall ¶
func (*FakePool) RemoveCallCount ¶
func (*FakePool) RemoveCalls ¶
func (*FakePool) RemoveReturns ¶
func (*FakePool) RemoveReturnsOnCall ¶
func (*FakePool) RunIfFreeArgsForCall ¶
func (*FakePool) RunIfFreeCallCount ¶
func (*FakePool) RunIfFreeCalls ¶
func (*FakePool) RunIfFreeReturns ¶
func (*FakePool) RunIfFreeReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.