fake_quota_manager

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: 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 FakeQuotaManager

type FakeQuotaManager struct {
	SetLimitsStub func(logger lager.Logger, containerRootFSPath string, limits garden.DiskLimits) error

	GetLimitsStub func(logger lager.Logger, containerRootFSPath string) (garden.DiskLimits, error)

	GetUsageStub func(logger lager.Logger, containerRootFSPath string) (garden.ContainerDiskStat, error)

	SetupStub func() error
	// contains filtered or unexported fields
}

func (*FakeQuotaManager) GetLimits

func (fake *FakeQuotaManager) GetLimits(logger lager.Logger, containerRootFSPath string) (garden.DiskLimits, error)

func (*FakeQuotaManager) GetLimitsArgsForCall

func (fake *FakeQuotaManager) GetLimitsArgsForCall(i int) (lager.Logger, string)

func (*FakeQuotaManager) GetLimitsCallCount

func (fake *FakeQuotaManager) GetLimitsCallCount() int

func (*FakeQuotaManager) GetLimitsReturns

func (fake *FakeQuotaManager) GetLimitsReturns(result1 garden.DiskLimits, result2 error)

func (*FakeQuotaManager) GetUsage

func (fake *FakeQuotaManager) GetUsage(logger lager.Logger, containerRootFSPath string) (garden.ContainerDiskStat, error)

func (*FakeQuotaManager) GetUsageArgsForCall

func (fake *FakeQuotaManager) GetUsageArgsForCall(i int) (lager.Logger, string)

func (*FakeQuotaManager) GetUsageCallCount

func (fake *FakeQuotaManager) GetUsageCallCount() int

func (*FakeQuotaManager) GetUsageReturns

func (fake *FakeQuotaManager) GetUsageReturns(result1 garden.ContainerDiskStat, result2 error)

func (*FakeQuotaManager) SetLimits

func (fake *FakeQuotaManager) SetLimits(logger lager.Logger, containerRootFSPath string, limits garden.DiskLimits) error

func (*FakeQuotaManager) SetLimitsArgsForCall

func (fake *FakeQuotaManager) SetLimitsArgsForCall(i int) (lager.Logger, string, garden.DiskLimits)

func (*FakeQuotaManager) SetLimitsCallCount

func (fake *FakeQuotaManager) SetLimitsCallCount() int

func (*FakeQuotaManager) SetLimitsReturns

func (fake *FakeQuotaManager) SetLimitsReturns(result1 error)

func (*FakeQuotaManager) Setup

func (fake *FakeQuotaManager) Setup() error

func (*FakeQuotaManager) SetupCallCount

func (fake *FakeQuotaManager) SetupCallCount() int

func (*FakeQuotaManager) SetupReturns

func (fake *FakeQuotaManager) SetupReturns(result1 error)

Jump to

Keyboard shortcuts

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