fake_subnet_pool

package
v0.333.2-candidate Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL