fake_bandwidth_manager

package
v0.0.0-...-33bca21 Latest Latest
Warning

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

Go to latest
Published: May 7, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBandwidthManager

type FakeBandwidthManager struct {
	SetLimitsError error
	EnforcedLimits []garden.BandwidthLimits

	GetLimitsError  error
	GetLimitsResult garden.ContainerBandwidthStat
}

func New

func New() *FakeBandwidthManager

func (*FakeBandwidthManager) GetLimits

func (*FakeBandwidthManager) SetLimits

func (m *FakeBandwidthManager) SetLimits(logger lager.Logger, limits garden.BandwidthLimits) error

Jump to

Keyboard shortcuts

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