package ulimit
import "github.com/docker/docker/pkg/ulimit"
Index ¶
Constants ¶
const ( // magic numbers for making the syscall // some of these are defined in the syscall package, but not all. // Also since Windows client doesn't get access to the syscall package, need to // define these here RLIMIT_AS = 9 RLIMIT_CORE = 4 RLIMIT_CPU = 0 RLIMIT_DATA = 2 RLIMIT_FSIZE = 1 RLIMIT_LOCKS = 10 RLIMIT_MEMLOCK = 8 RLIMIT_MSGQUEUE = 12 RLIMIT_NICE = 13 RLIMIT_NOFILE = 7 RLIMIT_NPROC = 6 RLIMIT_RSS = 5 RLIMIT_RTPRIO = 14 RLIMIT_RTTIME = 15 RLIMIT_SIGPENDING = 11 RLIMIT_STACK = 3 )
Types ¶
type Rlimit ¶
type Rlimit struct { Type int `json:"type,omitempty"` Hard uint64 `json:"hard,omitempty"` Soft uint64 `json:"soft,omitempty"` }
type Ulimit ¶
Human friendly version of Rlimit
func Parse ¶
func (*Ulimit) GetRlimit ¶
func (*Ulimit) String ¶
Source Files ¶
- Version
- v1.6.0-rc6
- Published
- Apr 13, 2015
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 17 minutes ago –
Tools for package owners.