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

Method CurrentMemoryLimits

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

Source from the content-addressed store, hash-verified

448}
449
450func (c *connection) CurrentMemoryLimits(handle string) (garden.MemoryLimits, error) {
451 res := garden.MemoryLimits{}
452
453 err := c.do(
454 routes.CurrentMemoryLimits,
455 nil,
456 &res,
457 rata.Params{
458 "handle": handle,
459 },
460 nil,
461 )
462
463 return res, err
464}
465
466func (c *connection) StreamIn(handle string, spec garden.StreamInSpec) error {
467 body, err := c.hijacker.Stream(

Callers

nothing calls this directly

Calls 1

doMethod · 0.95

Tested by

no test coverage detected