-
Notifications
You must be signed in to change notification settings - Fork 1
/
resource_requirements.pb.go
100 lines (88 loc) · 4.11 KB
/
resource_requirements.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: resource_requirements.proto
package container
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//ResourceRequirements 资源定义
type ResourceRequirements struct {
//
//最大资源限制
Limits *ResourceList `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits" form:"limits"`
//
//容器启动的初始资源请求
Requests *ResourceList `protobuf:"bytes,2,opt,name=requests,proto3" json:"requests" form:"requests"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} }
func (m *ResourceRequirements) String() string { return proto.CompactTextString(m) }
func (*ResourceRequirements) ProtoMessage() {}
func (*ResourceRequirements) Descriptor() ([]byte, []int) {
return fileDescriptor_e065d4cf4a9d0704, []int{0}
}
func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResourceRequirements.Unmarshal(m, b)
}
func (m *ResourceRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResourceRequirements.Marshal(b, m, deterministic)
}
func (m *ResourceRequirements) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResourceRequirements.Merge(m, src)
}
func (m *ResourceRequirements) XXX_Size() int {
return xxx_messageInfo_ResourceRequirements.Size(m)
}
func (m *ResourceRequirements) XXX_DiscardUnknown() {
xxx_messageInfo_ResourceRequirements.DiscardUnknown(m)
}
var xxx_messageInfo_ResourceRequirements proto.InternalMessageInfo
func (m *ResourceRequirements) GetLimits() *ResourceList {
if m != nil {
return m.Limits
}
return nil
}
func (m *ResourceRequirements) GetRequests() *ResourceList {
if m != nil {
return m.Requests
}
return nil
}
func init() {
proto.RegisterType((*ResourceRequirements)(nil), "container.ResourceRequirements")
}
func init() { proto.RegisterFile("resource_requirements.proto", fileDescriptor_e065d4cf4a9d0704) }
var fileDescriptor_e065d4cf4a9d0704 = []byte{
// 247 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x90, 0xb1, 0x4a, 0xc4, 0x40,
0x10, 0x86, 0x89, 0xc5, 0xa1, 0x11, 0x11, 0xa3, 0xe0, 0x71, 0x16, 0x27, 0xa9, 0x6c, 0x6e, 0x17,
0xb4, 0xb3, 0x8c, 0x08, 0x16, 0x56, 0x69, 0x04, 0x1b, 0x49, 0xd6, 0xb9, 0xb8, 0xb0, 0x9b, 0x89,
0x33, 0x93, 0xc2, 0xf7, 0xf1, 0xb9, 0xee, 0x21, 0xee, 0x09, 0xe4, 0x76, 0x73, 0x8b, 0x95, 0x95,
0xdd, 0xfe, 0xcb, 0xff, 0x7d, 0x33, 0x4c, 0x7e, 0x45, 0xc0, 0x38, 0x92, 0x81, 0x37, 0x82, 0xcf,
0xd1, 0x12, 0x78, 0xe8, 0x85, 0xd5, 0x40, 0x28, 0x58, 0x1c, 0x19, 0xec, 0xa5, 0xb1, 0x3d, 0xd0,
0x62, 0xd5, 0x59, 0xf9, 0x18,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