package ulimit
import "github.com/dotcloud/docker/pkg/ulimit"
Package ulimit provides structure and helper function to parse and represent resource limits (Rlimit and Ulimit, its human friendly version).
Index ¶
Types ¶
type Rlimit ¶
type Rlimit struct { Type int `json:"type,omitempty"` Hard uint64 `json:"hard,omitempty"` Soft uint64 `json:"soft,omitempty"` }
Rlimit specifies the resource limits, such as max open files.
type Ulimit ¶
Ulimit is a human friendly version of Rlimit.
func Parse ¶
Parse parses and returns a Ulimit from the specified string.
func (*Ulimit) GetRlimit ¶
GetRlimit returns the RLimit corresponding to Ulimit.
func (*Ulimit) String ¶
Source Files ¶
- Version
- v1.9.0-rc5
- Published
- Nov 3, 2015
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 minute ago –
Tools for package owners.