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

Struct ResourceLimits

container.go:364–380  ·  view source on GitHub ↗

Resource limits. Please refer to the manual page of getrlimit for a description of the individual fields: http://www.kernel.org/doc/man-pages/online/pages/man2/getrlimit.2.html

Source from the content-addressed store, hash-verified

362// Please refer to the manual page of getrlimit for a description of the individual fields:
363// http://www.kernel.org/doc/man-pages/online/pages/man2/getrlimit.2.html
364type ResourceLimits struct {
365 As *uint64 `json:"as,omitempty"`
366 Core *uint64 `json:"core,omitempty"`
367 Cpu *uint64 `json:"cpu,omitempty"`
368 Data *uint64 `json:"data,omitempty"`
369 Fsize *uint64 `json:"fsize,omitempty"`
370 Locks *uint64 `json:"locks,omitempty"`
371 Memlock *uint64 `json:"memlock,omitempty"`
372 Msgqueue *uint64 `json:"msgqueue,omitempty"`
373 Nice *uint64 `json:"nice,omitempty"`
374 Nofile *uint64 `json:"nofile,omitempty"`
375 Nproc *uint64 `json:"nproc,omitempty"`
376 Rss *uint64 `json:"rss,omitempty"`
377 Rtprio *uint64 `json:"rtprio,omitempty"`
378 Sigpending *uint64 `json:"sigpending,omitempty"`
379 Stack *uint64 `json:"stack,omitempty"`
380}
381
382type DiskLimitScope uint8
383

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected