This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
/
resource_limits.pb.go
145 lines (124 loc) · 3.54 KB
/
resource_limits.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
// Code generated by protoc-gen-go.
// source: resource_limits.proto
// DO NOT EDIT!
package warden
import proto "code.google.com/p/goprotobuf/proto"
import json "encoding/json"
import math "math"
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
var _ = proto.Marshal
var _ = &json.SyntaxError{}
var _ = math.Inf
type ResourceLimits struct {
As *uint64 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
Core *uint64 `protobuf:"varint,2,opt,name=core" json:"core,omitempty"`
Cpu *uint64 `protobuf:"varint,3,opt,name=cpu" json:"cpu,omitempty"`
Data *uint64 `protobuf:"varint,4,opt,name=data" json:"data,omitempty"`
Fsize *uint64 `protobuf:"varint,5,opt,name=fsize" json:"fsize,omitempty"`
Locks *uint64 `protobuf:"varint,6,opt,name=locks" json:"locks,omitempty"`
Memlock *uint64 `protobuf:"varint,7,opt,name=memlock" json:"memlock,omitempty"`
Msgqueue *uint64 `protobuf:"varint,8,opt,name=msgqueue" json:"msgqueue,omitempty"`
Nice *uint64 `protobuf:"varint,9,opt,name=nice" json:"nice,omitempty"`
Nofile *uint64 `protobuf:"varint,10,opt,name=nofile" json:"nofile,omitempty"`
Nproc *uint64 `protobuf:"varint,11,opt,name=nproc" json:"nproc,omitempty"`
Rss *uint64 `protobuf:"varint,12,opt,name=rss" json:"rss,omitempty"`
Rtprio *uint64 `protobuf:"varint,13,opt,name=rtprio" json:"rtprio,omitempty"`
Sigpending *uint64 `protobuf:"varint,14,opt,name=sigpending" json:"sigpending,omitempty"`
Stack *uint64 `protobuf:"varint,15,opt,name=stack" json:"stack,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *ResourceLimits) Reset() { *m = ResourceLimits{} }
func (m *ResourceLimits) String() string { return proto.CompactTextString(m) }
func (*ResourceLimits) ProtoMessage() {}
func (m *ResourceLimits) GetAs() uint64 {
if m != nil && m.As != nil {
return *m.As
}
return 0
}
func (m *ResourceLimits) GetCore() uint64 {
if m != nil && m.Core != nil {
return *m.Core
}
return 0
}
func (m *ResourceLimits) GetCpu() uint64 {
if m != nil && m.Cpu != nil {
return *m.Cpu
}
return 0
}
func (m *ResourceLimits) GetData() uint64 {
if m != nil && m.Data != nil {
return *m.Data
}
return 0
}
func (m *ResourceLimits) GetFsize() uint64 {
if m != nil && m.Fsize != nil {
return *m.Fsize
}
return 0
}
func (m *ResourceLimits) GetLocks() uint64 {
if m != nil && m.Locks != nil {
return *m.Locks
}
return 0
}
func (m *ResourceLimits) GetMemlock() uint64 {
if m != nil && m.Memlock != nil {
return *m.Memlock
}
return 0
}
func (m *ResourceLimits) GetMsgqueue() uint64 {
if m != nil && m.Msgqueue != nil {
return *m.Msgqueue
}
return 0
}
func (m *ResourceLimits) GetNice() uint64 {
if m != nil && m.Nice != nil {
return *m.Nice
}
return 0
}
func (m *ResourceLimits) GetNofile() uint64 {
if m != nil && m.Nofile != nil {
return *m.Nofile
}
return 0
}
func (m *ResourceLimits) GetNproc() uint64 {
if m != nil && m.Nproc != nil {
return *m.Nproc
}
return 0
}
func (m *ResourceLimits) GetRss() uint64 {
if m != nil && m.Rss != nil {
return *m.Rss
}
return 0
}
func (m *ResourceLimits) GetRtprio() uint64 {
if m != nil && m.Rtprio != nil {
return *m.Rtprio
}
return 0
}
func (m *ResourceLimits) GetSigpending() uint64 {
if m != nil && m.Sigpending != nil {
return *m.Sigpending
}
return 0
}
func (m *ResourceLimits) GetStack() uint64 {
if m != nil && m.Stack != nil {
return *m.Stack
}
return 0
}
func init() {
}