Documentation ¶
Overview ¶
Package units is a generated protocol buffer package.
It is generated from these files:
pb/moby/units/units.proto
It has these top-level messages:
Ulimit Rlimit
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rlimit ¶
type Rlimit struct { // Type int `json:"type,omitempty"` Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // Hard uint64 `json:"hard,omitempty"` Hard uint64 `protobuf:"varint,2,opt,name=hard,proto3" json:"hard,omitempty"` // Soft uint64 `json:"soft,omitempty"` Soft uint64 `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"` }
Rlimit specifies the resources limits, such as max open files. type Rlimit struct
func (*Rlimit) Descriptor ¶
func (*Rlimit) ProtoMessage ¶
func (*Rlimit) ProtoMessage()
type Ulimit ¶
type Ulimit struct { // Name sstring Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Hard int64 Hard int64 `protobuf:"varint,2,opt,name=hard,proto3" json:"hard,omitempty"` // Soft int64 Soft int64 `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"` }
Ulimit is a human friendly version of Rlimit. type Ulimit struct
func (*Ulimit) Descriptor ¶
func (*Ulimit) ProtoMessage ¶
func (*Ulimit) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.