Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeSubnetPool
- func (fake *FakeSubnetPool) Acquire(subnet subnets.SubnetSelector, ip subnets.IPSelector, logger lager.Logger) (*linux_backend.Network, error)
- func (fake *FakeSubnetPool) AcquireArgsForCall(i int) (subnets.SubnetSelector, subnets.IPSelector, lager.Logger)
- func (fake *FakeSubnetPool) AcquireCallCount() int
- func (fake *FakeSubnetPool) AcquireReturns(result1 *linux_backend.Network, result2 error)
- func (fake *FakeSubnetPool) Capacity() int
- func (fake *FakeSubnetPool) CapacityCallCount() int
- func (fake *FakeSubnetPool) CapacityReturns(result1 int)
- func (fake *FakeSubnetPool) Release(network *linux_backend.Network, logger lager.Logger) error
- func (fake *FakeSubnetPool) ReleaseArgsForCall(i int) (*linux_backend.Network, lager.Logger)
- func (fake *FakeSubnetPool) ReleaseCallCount() int
- func (fake *FakeSubnetPool) ReleaseReturns(result1 error)
- func (fake *FakeSubnetPool) Remove(network *linux_backend.Network, logger lager.Logger) error
- func (fake *FakeSubnetPool) RemoveArgsForCall(i int) (*linux_backend.Network, lager.Logger)
- func (fake *FakeSubnetPool) RemoveCallCount() int
- func (fake *FakeSubnetPool) RemoveReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSubnetPool ¶
type FakeSubnetPool struct { AcquireStub func(subnet subnets.SubnetSelector, ip subnets.IPSelector, logger lager.Logger) (*linux_backend.Network, error) ReleaseStub func(network *linux_backend.Network, logger lager.Logger) error RemoveStub func(network *linux_backend.Network, logger lager.Logger) error CapacityStub func() int // contains filtered or unexported fields }
func (*FakeSubnetPool) Acquire ¶
func (fake *FakeSubnetPool) Acquire(subnet subnets.SubnetSelector, ip subnets.IPSelector, logger lager.Logger) (*linux_backend.Network, error)
func (*FakeSubnetPool) AcquireArgsForCall ¶
func (fake *FakeSubnetPool) AcquireArgsForCall(i int) (subnets.SubnetSelector, subnets.IPSelector, lager.Logger)
func (*FakeSubnetPool) AcquireCallCount ¶
func (fake *FakeSubnetPool) AcquireCallCount() int
func (*FakeSubnetPool) AcquireReturns ¶
func (fake *FakeSubnetPool) AcquireReturns(result1 *linux_backend.Network, result2 error)
func (*FakeSubnetPool) Capacity ¶
func (fake *FakeSubnetPool) Capacity() int
func (*FakeSubnetPool) CapacityCallCount ¶
func (fake *FakeSubnetPool) CapacityCallCount() int
func (*FakeSubnetPool) CapacityReturns ¶
func (fake *FakeSubnetPool) CapacityReturns(result1 int)
func (*FakeSubnetPool) Release ¶
func (fake *FakeSubnetPool) Release(network *linux_backend.Network, logger lager.Logger) error
func (*FakeSubnetPool) ReleaseArgsForCall ¶
func (fake *FakeSubnetPool) ReleaseArgsForCall(i int) (*linux_backend.Network, lager.Logger)
func (*FakeSubnetPool) ReleaseCallCount ¶
func (fake *FakeSubnetPool) ReleaseCallCount() int
func (*FakeSubnetPool) ReleaseReturns ¶
func (fake *FakeSubnetPool) ReleaseReturns(result1 error)
func (*FakeSubnetPool) Remove ¶
func (fake *FakeSubnetPool) Remove(network *linux_backend.Network, logger lager.Logger) error
func (*FakeSubnetPool) RemoveArgsForCall ¶
func (fake *FakeSubnetPool) RemoveArgsForCall(i int) (*linux_backend.Network, lager.Logger)
func (*FakeSubnetPool) RemoveCallCount ¶
func (fake *FakeSubnetPool) RemoveCallCount() int
func (*FakeSubnetPool) RemoveReturns ¶
func (fake *FakeSubnetPool) RemoveReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.