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