| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
package cgroup |
| 10 |
|
| 11 |
import ( |
| 12 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 |
reflect "reflect" |
| 15 |
sync "sync" |
| 16 |
) |
| 17 |
|
| 18 |
const ( |
| 19 |
|
| 20 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 21 |
|
| 22 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 23 |
) |
| 24 |
|
| 25 |
type CgroupPerms struct { |
| 26 |
state protoimpl.MessageState |
| 27 |
sizeCache protoimpl.SizeCache |
| 28 |
unknownFields protoimpl.UnknownFields |
| 29 |
|
| 30 |
Mode *uint32 `protobuf:"varint,1,req,name=mode" json:"mode,omitempty"` |
| 31 |
Uid *uint32 `protobuf:"varint,2,req,name=uid" json:"uid,omitempty"` |
| 32 |
Gid *uint32 `protobuf:"varint,3,req,name=gid" json:"gid,omitempty"` |
| 33 |
} |
| 34 |
|
| 35 |
func (x *CgroupPerms) Reset() { |
| 36 |
*x = CgroupPerms{} |
| 37 |
if protoimpl.UnsafeEnabled { |
| 38 |
mi := &file_cgroup_proto_msgTypes[0] |
| 39 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 40 |
ms.StoreMessageInfo(mi) |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
func (x *CgroupPerms) String() string { |
| 45 |
return protoimpl.X.MessageStringOf(x) |
| 46 |
} |
| 47 |
|
| 48 |
func (*CgroupPerms) ProtoMessage() {} |
| 49 |
|
| 50 |
func (x *CgroupPerms) ProtoReflect() protoreflect.Message { |
| 51 |
mi := &file_cgroup_proto_msgTypes[0] |
| 52 |
if protoimpl.UnsafeEnabled && x != nil { |
| 53 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 54 |
if ms.LoadMessageInfo() == nil { |
| 55 |
ms.StoreMessageInfo(mi) |
| 56 |
} |
| 57 |
return ms |
| 58 |
} |
| 59 |
return mi.MessageOf(x) |
| 60 |
} |
| 61 |
|
| 62 |
|
| 63 |
func (*CgroupPerms) Descriptor() ([]byte, []int) { |
| 64 |
return file_cgroup_proto_rawDescGZIP(), []int{0} |
| 65 |
} |
| 66 |
|
| 67 |
func (x *CgroupPerms) GetMode() uint32 { |
| 68 |
if x != nil && x.Mode != nil { |
| 69 |
return *x.Mode |
| 70 |
} |
| 71 |
return 0 |
| 72 |
} |
| 73 |
|
| 74 |
func (x *CgroupPerms) GetUid() uint32 { |
| 75 |
if x != nil && x.Uid != nil { |
| 76 |
return *x.Uid |
| 77 |
} |
| 78 |
return 0 |
| 79 |
} |
| 80 |
|
| 81 |
func (x *CgroupPerms) GetGid() uint32 { |
| 82 |
if x != nil && x.Gid != nil { |
| 83 |
return *x.Gid |
| 84 |
} |
| 85 |
return 0 |
| 86 |
} |
| 87 |
|
| 88 |
type CgroupPropEntry struct { |
| 89 |
state protoimpl.MessageState |
| 90 |
sizeCache protoimpl.SizeCache |
| 91 |
unknownFields protoimpl.UnknownFields |
| 92 |
|
| 93 |
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` |
| 94 |
Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` |
| 95 |
Perms *CgroupPerms `protobuf:"bytes,3,opt,name=perms" json:"perms,omitempty"` |
| 96 |
} |
| 97 |
|
| 98 |
func (x *CgroupPropEntry) Reset() { |
| 99 |
*x = CgroupPropEntry{} |
| 100 |
if protoimpl.UnsafeEnabled { |
| 101 |
mi := &file_cgroup_proto_msgTypes[1] |
| 102 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 103 |
ms.StoreMessageInfo(mi) |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
func (x *CgroupPropEntry) String() string { |
| 108 |
return protoimpl.X.MessageStringOf(x) |
| 109 |
} |
| 110 |
|
| 111 |
func (*CgroupPropEntry) ProtoMessage() {} |
| 112 |
|
| 113 |
func (x *CgroupPropEntry) ProtoReflect() protoreflect.Message { |
| 114 |
mi := &file_cgroup_proto_msgTypes[1] |
| 115 |
if protoimpl.UnsafeEnabled && x != nil { |
| 116 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 117 |
if ms.LoadMessageInfo() == nil { |
| 118 |
ms.StoreMessageInfo(mi) |
| 119 |
} |
| 120 |
return ms |
| 121 |
} |
| 122 |
return mi.MessageOf(x) |
| 123 |
} |
| 124 |
|
| 125 |
|
| 126 |
func (*CgroupPropEntry) Descriptor() ([]byte, []int) { |
| 127 |
return file_cgroup_proto_rawDescGZIP(), []int{1} |
| 128 |
} |
| 129 |
|
| 130 |
func (x *CgroupPropEntry) GetName() string { |
| 131 |
if x != nil && x.Name != nil { |
| 132 |
return *x.Name |
| 133 |
} |
| 134 |
return "" |
| 135 |
} |
| 136 |
|
| 137 |
func (x *CgroupPropEntry) GetValue() string { |
| 138 |
if x != nil && x.Value != nil { |
| 139 |
return *x.Value |
| 140 |
} |
| 141 |
return "" |
| 142 |
} |
| 143 |
|
| 144 |
func (x *CgroupPropEntry) GetPerms() *CgroupPerms { |
| 145 |
if x != nil { |
| 146 |
return x.Perms |
| 147 |
} |
| 148 |
return nil |
| 149 |
} |
| 150 |
|
| 151 |
type CgroupDirEntry struct { |
| 152 |
state protoimpl.MessageState |
| 153 |
sizeCache protoimpl.SizeCache |
| 154 |
unknownFields protoimpl.UnknownFields |
| 155 |
|
| 156 |
DirName *string `protobuf:"bytes,1,req,name=dir_name,json=dirName" json:"dir_name,omitempty"` |
| 157 |
Children []*CgroupDirEntry `protobuf:"bytes,2,rep,name=children" json:"children,omitempty"` |
| 158 |
Properties []*CgroupPropEntry `protobuf:"bytes,3,rep,name=properties" json:"properties,omitempty"` |
| 159 |
DirPerms *CgroupPerms `protobuf:"bytes,4,opt,name=dir_perms,json=dirPerms" json:"dir_perms,omitempty"` |
| 160 |
} |
| 161 |
|
| 162 |
func (x *CgroupDirEntry) Reset() { |
| 163 |
*x = CgroupDirEntry{} |
| 164 |
if protoimpl.UnsafeEnabled { |
| 165 |
mi := &file_cgroup_proto_msgTypes[2] |
| 166 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 167 |
ms.StoreMessageInfo(mi) |
| 168 |
} |
| 169 |
} |
| 170 |
|
| 171 |
func (x *CgroupDirEntry) String() string { |
| 172 |
return protoimpl.X.MessageStringOf(x) |
| 173 |
} |
| 174 |
|
| 175 |
func (*CgroupDirEntry) ProtoMessage() {} |
| 176 |
|
| 177 |
func (x *CgroupDirEntry) ProtoReflect() protoreflect.Message { |
| 178 |
mi := &file_cgroup_proto_msgTypes[2] |
| 179 |
if protoimpl.UnsafeEnabled && x != nil { |
| 180 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 181 |
if ms.LoadMessageInfo() == nil { |
| 182 |
ms.StoreMessageInfo(mi) |
| 183 |
} |
| 184 |
return ms |
| 185 |
} |
| 186 |
return mi.MessageOf(x) |
| 187 |
} |
| 188 |
|
| 189 |
|
| 190 |
func (*CgroupDirEntry) Descriptor() ([]byte, []int) { |
| 191 |
return file_cgroup_proto_rawDescGZIP(), []int{2} |
| 192 |
} |
| 193 |
|
| 194 |
func (x *CgroupDirEntry) GetDirName() string { |
| 195 |
if x != nil && x.DirName != nil { |
| 196 |
return *x.DirName |
| 197 |
} |
| 198 |
return "" |
| 199 |
} |
| 200 |
|
| 201 |
func (x *CgroupDirEntry) GetChildren() []*CgroupDirEntry { |
| 202 |
if x != nil { |
| 203 |
return x.Children |
| 204 |
} |
| 205 |
return nil |
| 206 |
} |
| 207 |
|
| 208 |
func (x *CgroupDirEntry) GetProperties() []*CgroupPropEntry { |
| 209 |
if x != nil { |
| 210 |
return x.Properties |
| 211 |
} |
| 212 |
return nil |
| 213 |
} |
| 214 |
|
| 215 |
func (x *CgroupDirEntry) GetDirPerms() *CgroupPerms { |
| 216 |
if x != nil { |
| 217 |
return x.DirPerms |
| 218 |
} |
| 219 |
return nil |
| 220 |
} |
| 221 |
|
| 222 |
type CgControllerEntry struct { |
| 223 |
state protoimpl.MessageState |
| 224 |
sizeCache protoimpl.SizeCache |
| 225 |
unknownFields protoimpl.UnknownFields |
| 226 |
|
| 227 |
Cnames []string `protobuf:"bytes,1,rep,name=cnames" json:"cnames,omitempty"` |
| 228 |
Dirs []*CgroupDirEntry `protobuf:"bytes,2,rep,name=dirs" json:"dirs,omitempty"` |
| 229 |
IsThreaded *bool `protobuf:"varint,3,opt,name=is_threaded,json=isThreaded" json:"is_threaded,omitempty"` |
| 230 |
} |
| 231 |
|
| 232 |
func (x *CgControllerEntry) Reset() { |
| 233 |
*x = CgControllerEntry{} |
| 234 |
if protoimpl.UnsafeEnabled { |
| 235 |
mi := &file_cgroup_proto_msgTypes[3] |
| 236 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 237 |
ms.StoreMessageInfo(mi) |
| 238 |
} |
| 239 |
} |
| 240 |
|
| 241 |
func (x *CgControllerEntry) String() string { |
| 242 |
return protoimpl.X.MessageStringOf(x) |
| 243 |
} |
| 244 |
|
| 245 |
func (*CgControllerEntry) ProtoMessage() {} |
| 246 |
|
| 247 |
func (x *CgControllerEntry) ProtoReflect() protoreflect.Message { |
| 248 |
mi := &file_cgroup_proto_msgTypes[3] |
| 249 |
if protoimpl.UnsafeEnabled && x != nil { |
| 250 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 251 |
if ms.LoadMessageInfo() == nil { |
| 252 |
ms.StoreMessageInfo(mi) |
| 253 |
} |
| 254 |
return ms |
| 255 |
} |
| 256 |
return mi.MessageOf(x) |
| 257 |
} |
| 258 |
|
| 259 |
|
| 260 |
func (*CgControllerEntry) Descriptor() ([]byte, []int) { |
| 261 |
return file_cgroup_proto_rawDescGZIP(), []int{3} |
| 262 |
} |
| 263 |
|
| 264 |
func (x *CgControllerEntry) GetCnames() []string { |
| 265 |
if x != nil { |
| 266 |
return x.Cnames |
| 267 |
} |
| 268 |
return nil |
| 269 |
} |
| 270 |
|
| 271 |
func (x *CgControllerEntry) GetDirs() []*CgroupDirEntry { |
| 272 |
if x != nil { |
| 273 |
return x.Dirs |
| 274 |
} |
| 275 |
return nil |
| 276 |
} |
| 277 |
|
| 278 |
func (x *CgControllerEntry) GetIsThreaded() bool { |
| 279 |
if x != nil && x.IsThreaded != nil { |
| 280 |
return *x.IsThreaded |
| 281 |
} |
| 282 |
return false |
| 283 |
} |
| 284 |
|
| 285 |
type CgMemberEntry struct { |
| 286 |
state protoimpl.MessageState |
| 287 |
sizeCache protoimpl.SizeCache |
| 288 |
unknownFields protoimpl.UnknownFields |
| 289 |
|
| 290 |
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` |
| 291 |
Path *string `protobuf:"bytes,2,req,name=path" json:"path,omitempty"` |
| 292 |
CgnsPrefix *uint32 `protobuf:"varint,3,opt,name=cgns_prefix,json=cgnsPrefix" json:"cgns_prefix,omitempty"` |
| 293 |
} |
| 294 |
|
| 295 |
func (x *CgMemberEntry) Reset() { |
| 296 |
*x = CgMemberEntry{} |
| 297 |
if protoimpl.UnsafeEnabled { |
| 298 |
mi := &file_cgroup_proto_msgTypes[4] |
| 299 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 300 |
ms.StoreMessageInfo(mi) |
| 301 |
} |
| 302 |
} |
| 303 |
|
| 304 |
func (x *CgMemberEntry) String() string { |
| 305 |
return protoimpl.X.MessageStringOf(x) |
| 306 |
} |
| 307 |
|
| 308 |
func (*CgMemberEntry) ProtoMessage() {} |
| 309 |
|
| 310 |
func (x *CgMemberEntry) ProtoReflect() protoreflect.Message { |
| 311 |
mi := &file_cgroup_proto_msgTypes[4] |
| 312 |
if protoimpl.UnsafeEnabled && x != nil { |
| 313 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 314 |
if ms.LoadMessageInfo() == nil { |
| 315 |
ms.StoreMessageInfo(mi) |
| 316 |
} |
| 317 |
return ms |
| 318 |
} |
| 319 |
return mi.MessageOf(x) |
| 320 |
} |
| 321 |
|
| 322 |
|
| 323 |
func (*CgMemberEntry) Descriptor() ([]byte, []int) { |
| 324 |
return file_cgroup_proto_rawDescGZIP(), []int{4} |
| 325 |
} |
| 326 |
|
| 327 |
func (x *CgMemberEntry) GetName() string { |
| 328 |
if x != nil && x.Name != nil { |
| 329 |
return *x.Name |
| 330 |
} |
| 331 |
return "" |
| 332 |
} |
| 333 |
|
| 334 |
func (x *CgMemberEntry) GetPath() string { |
| 335 |
if x != nil && x.Path != nil { |
| 336 |
return *x.Path |
| 337 |
} |
| 338 |
return "" |
| 339 |
} |
| 340 |
|
| 341 |
func (x *CgMemberEntry) GetCgnsPrefix() uint32 { |
| 342 |
if x != nil && x.CgnsPrefix != nil { |
| 343 |
return *x.CgnsPrefix |
| 344 |
} |
| 345 |
return 0 |
| 346 |
} |
| 347 |
|
| 348 |
type CgSetEntry struct { |
| 349 |
state protoimpl.MessageState |
| 350 |
sizeCache protoimpl.SizeCache |
| 351 |
unknownFields protoimpl.UnknownFields |
| 352 |
|
| 353 |
Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` |
| 354 |
Ctls []*CgMemberEntry `protobuf:"bytes,2,rep,name=ctls" json:"ctls,omitempty"` |
| 355 |
} |
| 356 |
|
| 357 |
func (x *CgSetEntry) Reset() { |
| 358 |
*x = CgSetEntry{} |
| 359 |
if protoimpl.UnsafeEnabled { |
| 360 |
mi := &file_cgroup_proto_msgTypes[5] |
| 361 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 362 |
ms.StoreMessageInfo(mi) |
| 363 |
} |
| 364 |
} |
| 365 |
|
| 366 |
func (x *CgSetEntry) String() string { |
| 367 |
return protoimpl.X.MessageStringOf(x) |
| 368 |
} |
| 369 |
|
| 370 |
func (*CgSetEntry) ProtoMessage() {} |
| 371 |
|
| 372 |
func (x *CgSetEntry) ProtoReflect() protoreflect.Message { |
| 373 |
mi := &file_cgroup_proto_msgTypes[5] |
| 374 |
if protoimpl.UnsafeEnabled && x != nil { |
| 375 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 376 |
if ms.LoadMessageInfo() == nil { |
| 377 |
ms.StoreMessageInfo(mi) |
| 378 |
} |
| 379 |
return ms |
| 380 |
} |
| 381 |
return mi.MessageOf(x) |
| 382 |
} |
| 383 |
|
| 384 |
|
| 385 |
func (*CgSetEntry) Descriptor() ([]byte, []int) { |
| 386 |
return file_cgroup_proto_rawDescGZIP(), []int{5} |
| 387 |
} |
| 388 |
|
| 389 |
func (x *CgSetEntry) GetId() uint32 { |
| 390 |
if x != nil && x.Id != nil { |
| 391 |
return *x.Id |
| 392 |
} |
| 393 |
return 0 |
| 394 |
} |
| 395 |
|
| 396 |
func (x *CgSetEntry) GetCtls() []*CgMemberEntry { |
| 397 |
if x != nil { |
| 398 |
return x.Ctls |
| 399 |
} |
| 400 |
return nil |
| 401 |
} |
| 402 |
|
| 403 |
type CgroupEntry struct { |
| 404 |
state protoimpl.MessageState |
| 405 |
sizeCache protoimpl.SizeCache |
| 406 |
unknownFields protoimpl.UnknownFields |
| 407 |
|
| 408 |
Sets []*CgSetEntry `protobuf:"bytes,1,rep,name=sets" json:"sets,omitempty"` |
| 409 |
Controllers []*CgControllerEntry `protobuf:"bytes,2,rep,name=controllers" json:"controllers,omitempty"` |
| 410 |
} |
| 411 |
|
| 412 |
func (x *CgroupEntry) Reset() { |
| 413 |
*x = CgroupEntry{} |
| 414 |
if protoimpl.UnsafeEnabled { |
| 415 |
mi := &file_cgroup_proto_msgTypes[6] |
| 416 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 417 |
ms.StoreMessageInfo(mi) |
| 418 |
} |
| 419 |
} |
| 420 |
|
| 421 |
func (x *CgroupEntry) String() string { |
| 422 |
return protoimpl.X.MessageStringOf(x) |
| 423 |
} |
| 424 |
|
| 425 |
func (*CgroupEntry) ProtoMessage() {} |
| 426 |
|
| 427 |
func (x *CgroupEntry) ProtoReflect() protoreflect.Message { |
| 428 |
mi := &file_cgroup_proto_msgTypes[6] |
| 429 |
if protoimpl.UnsafeEnabled && x != nil { |
| 430 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 431 |
if ms.LoadMessageInfo() == nil { |
| 432 |
ms.StoreMessageInfo(mi) |
| 433 |
} |
| 434 |
return ms |
| 435 |
} |
| 436 |
return mi.MessageOf(x) |
| 437 |
} |
| 438 |
|
| 439 |
|
| 440 |
func (*CgroupEntry) Descriptor() ([]byte, []int) { |
| 441 |
return file_cgroup_proto_rawDescGZIP(), []int{6} |
| 442 |
} |
| 443 |
|
| 444 |
func (x *CgroupEntry) GetSets() []*CgSetEntry { |
| 445 |
if x != nil { |
| 446 |
return x.Sets |
| 447 |
} |
| 448 |
return nil |
| 449 |
} |
| 450 |
|
| 451 |
func (x *CgroupEntry) GetControllers() []*CgControllerEntry { |
| 452 |
if x != nil { |
| 453 |
return x.Controllers |
| 454 |
} |
| 455 |
return nil |
| 456 |
} |
| 457 |
|
| 458 |
var File_cgroup_proto protoreflect.FileDescriptor |
| 459 |
|
| 460 |
var file_cgroup_proto_rawDesc = []byte{ |
| 461 |
0x0a, 0x0c, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, |
| 462 |
0x0a, 0x0c, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x12, |
| 463 |
0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, |
| 464 |
0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, |
| 465 |
0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, |
| 466 |
0x0d, 0x52, 0x03, 0x67, 0x69, 0x64, 0x22, 0x62, 0x0a, 0x11, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, |
| 467 |
0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, |
| 468 |
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, |
| 469 |
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, |
| 470 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x03, |
| 471 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x65, |
| 472 |
0x72, 0x6d, 0x73, 0x52, 0x05, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x10, 0x63, |
| 473 |
0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x64, 0x69, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, |
| 474 |
0x19, 0x0a, 0x08, 0x64, 0x69, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, |
| 475 |
0x09, 0x52, 0x07, 0x64, 0x69, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x63, 0x68, |
| 476 |
0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, |
| 477 |
0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x64, 0x69, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, |
| 478 |
0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x0a, 0x70, 0x72, 0x6f, |
| 479 |
0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, |
| 480 |
0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, |
| 481 |
0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x2a, 0x0a, |
| 482 |
0x09, 0x64, 0x69, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 483 |
0x32, 0x0d, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x52, |
| 484 |
0x08, 0x64, 0x69, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x73, 0x22, 0x75, 0x0a, 0x13, 0x63, 0x67, 0x5f, |
| 485 |
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, |
| 486 |
0x12, 0x16, 0x0a, 0x06, 0x63, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, |
| 487 |
0x52, 0x06, 0x63, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x69, 0x72, 0x73, |
| 488 |
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, |
| 489 |
0x64, 0x69, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x69, 0x72, 0x73, 0x12, |
| 490 |
0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x65, 0x64, 0x18, 0x03, |
| 491 |
0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x65, 0x64, |
| 492 |
0x22, 0x5a, 0x0a, 0x0f, 0x63, 0x67, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x65, 0x6e, |
| 493 |
0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, |
| 494 |
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, |
| 495 |
0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x63, |
| 496 |
0x67, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, |
| 497 |
0x52, 0x0a, 0x63, 0x67, 0x6e, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x44, 0x0a, 0x0c, |
| 498 |
0x63, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, |
| 499 |
0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x04, |
| 500 |
0x63, 0x74, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x67, 0x5f, |
| 501 |
0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x63, 0x74, |
| 502 |
0x6c, 0x73, 0x22, 0x69, 0x0a, 0x0c, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x65, 0x6e, 0x74, |
| 503 |
0x72, 0x79, 0x12, 0x21, 0x0a, 0x04, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, |
| 504 |
0x32, 0x0d, 0x2e, 0x63, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, |
| 505 |
0x04, 0x73, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 506 |
0x6c, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x67, 0x5f, |
| 507 |
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, |
| 508 |
0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, |
| 509 |
} |
| 510 |
|
| 511 |
var ( |
| 512 |
file_cgroup_proto_rawDescOnce sync.Once |
| 513 |
file_cgroup_proto_rawDescData = file_cgroup_proto_rawDesc |
| 514 |
) |
| 515 |
|
| 516 |
func file_cgroup_proto_rawDescGZIP() []byte { |
| 517 |
file_cgroup_proto_rawDescOnce.Do(func() { |
| 518 |
file_cgroup_proto_rawDescData = protoimpl.X.CompressGZIP(file_cgroup_proto_rawDescData) |
| 519 |
}) |
| 520 |
return file_cgroup_proto_rawDescData |
| 521 |
} |
| 522 |
|
| 523 |
var file_cgroup_proto_msgTypes = make([]protoimpl.MessageInfo, 7) |
| 524 |
var file_cgroup_proto_goTypes = []interface{}{ |
| 525 |
(*CgroupPerms)(nil), |
| 526 |
(*CgroupPropEntry)(nil), |
| 527 |
(*CgroupDirEntry)(nil), |
| 528 |
(*CgControllerEntry)(nil), |
| 529 |
(*CgMemberEntry)(nil), |
| 530 |
(*CgSetEntry)(nil), |
| 531 |
(*CgroupEntry)(nil), |
| 532 |
} |
| 533 |
var file_cgroup_proto_depIdxs = []int32{ |
| 534 |
0, |
| 535 |
2, |
| 536 |
1, |
| 537 |
0, |
| 538 |
2, |
| 539 |
4, |
| 540 |
5, |
| 541 |
3, |
| 542 |
8, |
| 543 |
8, |
| 544 |
8, |
| 545 |
8, |
| 546 |
0, |
| 547 |
} |
| 548 |
|
| 549 |
func init() { file_cgroup_proto_init() } |
| 550 |
func file_cgroup_proto_init() { |
| 551 |
if File_cgroup_proto != nil { |
| 552 |
return |
| 553 |
} |
| 554 |
if !protoimpl.UnsafeEnabled { |
| 555 |
file_cgroup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 556 |
switch v := v.(*CgroupPerms); i { |
| 557 |
case 0: |
| 558 |
return &v.state |
| 559 |
case 1: |
| 560 |
return &v.sizeCache |
| 561 |
case 2: |
| 562 |
return &v.unknownFields |
| 563 |
default: |
| 564 |
return nil |
| 565 |
} |
| 566 |
} |
| 567 |
file_cgroup_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 568 |
switch v := v.(*CgroupPropEntry); i { |
| 569 |
case 0: |
| 570 |
return &v.state |
| 571 |
case 1: |
| 572 |
return &v.sizeCache |
| 573 |
case 2: |
| 574 |
return &v.unknownFields |
| 575 |
default: |
| 576 |
return nil |
| 577 |
} |
| 578 |
} |
| 579 |
file_cgroup_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 580 |
switch v := v.(*CgroupDirEntry); i { |
| 581 |
case 0: |
| 582 |
return &v.state |
| 583 |
case 1: |
| 584 |
return &v.sizeCache |
| 585 |
case 2: |
| 586 |
return &v.unknownFields |
| 587 |
default: |
| 588 |
return nil |
| 589 |
} |
| 590 |
} |
| 591 |
file_cgroup_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 592 |
switch v := v.(*CgControllerEntry); i { |
| 593 |
case 0: |
| 594 |
return &v.state |
| 595 |
case 1: |
| 596 |
return &v.sizeCache |
| 597 |
case 2: |
| 598 |
return &v.unknownFields |
| 599 |
default: |
| 600 |
return nil |
| 601 |
} |
| 602 |
} |
| 603 |
file_cgroup_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 604 |
switch v := v.(*CgMemberEntry); i { |
| 605 |
case 0: |
| 606 |
return &v.state |
| 607 |
case 1: |
| 608 |
return &v.sizeCache |
| 609 |
case 2: |
| 610 |
return &v.unknownFields |
| 611 |
default: |
| 612 |
return nil |
| 613 |
} |
| 614 |
} |
| 615 |
file_cgroup_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 616 |
switch v := v.(*CgSetEntry); i { |
| 617 |
case 0: |
| 618 |
return &v.state |
| 619 |
case 1: |
| 620 |
return &v.sizeCache |
| 621 |
case 2: |
| 622 |
return &v.unknownFields |
| 623 |
default: |
| 624 |
return nil |
| 625 |
} |
| 626 |
} |
| 627 |
file_cgroup_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 628 |
switch v := v.(*CgroupEntry); i { |
| 629 |
case 0: |
| 630 |
return &v.state |
| 631 |
case 1: |
| 632 |
return &v.sizeCache |
| 633 |
case 2: |
| 634 |
return &v.unknownFields |
| 635 |
default: |
| 636 |
return nil |
| 637 |
} |
| 638 |
} |
| 639 |
} |
| 640 |
type x struct{} |
| 641 |
out := protoimpl.TypeBuilder{ |
| 642 |
File: protoimpl.DescBuilder{ |
| 643 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 644 |
RawDescriptor: file_cgroup_proto_rawDesc, |
| 645 |
NumEnums: 0, |
| 646 |
NumMessages: 7, |
| 647 |
NumExtensions: 0, |
| 648 |
NumServices: 0, |
| 649 |
}, |
| 650 |
GoTypes: file_cgroup_proto_goTypes, |
| 651 |
DependencyIndexes: file_cgroup_proto_depIdxs, |
| 652 |
MessageInfos: file_cgroup_proto_msgTypes, |
| 653 |
}.Build() |
| 654 |
File_cgroup_proto = out.File |
| 655 |
file_cgroup_proto_rawDesc = nil |
| 656 |
file_cgroup_proto_goTypes = nil |
| 657 |
file_cgroup_proto_depIdxs = nil |
| 658 |
} |