fake_subnet_pool

package
v0.0.0-...-9038be0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2015 License: Apache-2.0 Imports: 4 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) (*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 (*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)

Jump to

Keyboard shortcuts

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