MCPcopy Create free account
hub / github.com/cloudfoundry/garden / CurrentBandwidthLimits

Method CurrentBandwidthLimits

client/connection/connection.go:402–416  ·  view source on GitHub ↗
(handle string)

Source from the content-addressed store, hash-verified

400}
401
402func (c *connection) CurrentBandwidthLimits(handle string) (garden.BandwidthLimits, error) {
403 res := garden.BandwidthLimits{}
404
405 err := c.do(
406 routes.CurrentBandwidthLimits,
407 nil,
408 &res,
409 rata.Params{
410 "handle": handle,
411 },
412 nil,
413 )
414
415 return res, err
416}
417
418func (c *connection) CurrentCPULimits(handle string) (garden.CPULimits, error) {
419 res := garden.CPULimits{}

Callers

nothing calls this directly

Calls 1

doMethod · 0.95

Tested by

no test coverage detected