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

Struct CPULimits

container.go:347–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347type CPULimits struct {
348 Weight uint64 `json:"weight,omitempty"`
349 // Deprecated: Use Weight instead.
350 LimitInShares uint64 `json:"limit_in_shares,omitempty"`
351}
352
353type PidLimits struct {
354 // Limits the number of pids a container may create before new forks or clones are disallowed to processes in the container.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected