Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeSubnetPool
- func (fake *FakeSubnetPool) Acquire(subnet subnets.SubnetSelector, ip subnets.IPSelector) (*linux_backend.Network, error)
- func (fake *FakeSubnetPool) AcquireArgsForCall(i int) (subnets.SubnetSelector, subnets.IPSelector)
- 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(arg1 *linux_backend.Network) error
- func (fake *FakeSubnetPool) ReleaseArgsForCall(i int) *linux_backend.Network
- func (fake *FakeSubnetPool) ReleaseCallCount() int
- func (fake *FakeSubnetPool) ReleaseReturns(result1 error)
- func (fake *FakeSubnetPool) Remove(arg1 *linux_backend.Network) error
- func (fake *FakeSubnetPool) RemoveArgsForCall(i int) *linux_backend.Network
- 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) (*linux_backend.Network, error) ReleaseStub func(*linux_backend.Network) error RemoveStub func(*linux_backend.Network) error CapacityStub func() int // contains filtered or unexported fields }
func (*FakeSubnetPool) Acquire ¶
func (fake *FakeSubnetPool) Acquire(subnet subnets.SubnetSelector, ip subnets.IPSelector) (*linux_backend.Network, error)
func (*FakeSubnetPool) AcquireArgsForCall ¶
func (fake *FakeSubnetPool) AcquireArgsForCall(i int) (subnets.SubnetSelector, subnets.IPSelector)
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(arg1 *linux_backend.Network) error
func (*FakeSubnetPool) ReleaseArgsForCall ¶
func (fake *FakeSubnetPool) ReleaseArgsForCall(i int) *linux_backend.Network
func (*FakeSubnetPool) ReleaseCallCount ¶
func (fake *FakeSubnetPool) ReleaseCallCount() int
func (*FakeSubnetPool) ReleaseReturns ¶
func (fake *FakeSubnetPool) ReleaseReturns(result1 error)
func (*FakeSubnetPool) Remove ¶
func (fake *FakeSubnetPool) Remove(arg1 *linux_backend.Network) error
func (*FakeSubnetPool) RemoveArgsForCall ¶
func (fake *FakeSubnetPool) RemoveArgsForCall(i int) *linux_backend.Network
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.