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

Method CurrentCPULimits

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

Source from the content-addressed store, hash-verified

416}
417
418func (c *connection) CurrentCPULimits(handle string) (garden.CPULimits, error) {
419 res := garden.CPULimits{}
420
421 err := c.do(
422 routes.CurrentCPULimits,
423 nil,
424 &res,
425 rata.Params{
426 "handle": handle,
427 },
428 nil,
429 )
430
431 return res, err
432}
433
434func (c *connection) CurrentDiskLimits(handle string) (garden.DiskLimits, error) {
435 res := garden.DiskLimits{}

Callers

nothing calls this directly

Calls 1

doMethod · 0.95

Tested by

no test coverage detected