Debian Codegraph @

envoy/extensions/resource_monitors/injected_resource/v3/injected_resource.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/extensions/resource_monitors/injected_resource/v3/injected_resource.proto
6
7 package injected_resourcev3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
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 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // The injected resource monitor allows injecting a synthetic resource pressure into Envoy
26 // via a text file, which must contain a floating-point number in the range [0..1] representing
27 // the resource pressure and be updated atomically by a symbolic link swap.
28 // This is intended primarily for integration tests to force Envoy into an overloaded state.
29 type InjectedResourceConfig struct {
30 state protoimpl.MessageState
31 sizeCache protoimpl.SizeCache
32 unknownFields protoimpl.UnknownFields
33
34 Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
35 }
36
37 func (x *InjectedResourceConfig) Reset() {
38 *x = InjectedResourceConfig{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *InjectedResourceConfig) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*InjectedResourceConfig) ProtoMessage() {}
51
52 func (x *InjectedResourceConfig) ProtoReflect() protoreflect.Message {
53 mi := &file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use InjectedResourceConfig.ProtoReflect.Descriptor instead.
65 func (*InjectedResourceConfig) Descriptor() ([]byte, []int) {
66 return file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *InjectedResourceConfig) GetFilename() string {
70 if x != nil {
71 return x.Filename
72 }
73 return ""
74 }
75
76 var File_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto protoreflect.FileDescriptor
77
78 var file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDesc = []byte{
79 0x0a, 0x4f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
80 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69,
81 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65,
82 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
83 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
84 0x6f, 0x12, 0x37, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
85 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e,
86 0x69, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72,
87 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61,
88 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61,
89 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f,
90 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73,
91 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61,
92 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e,
93 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x16, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74,
94 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
95 0x12, 0x23, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
96 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x66, 0x69, 0x6c,
97 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x55, 0x9a, 0xc5, 0x88, 0x1e, 0x50, 0x0a, 0x4e, 0x65, 0x6e,
98 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75,
99 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
100 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x32,
101 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65,
102 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0xdc, 0x01, 0xba,
103 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x45, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
104 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74,
105 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
106 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
107 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x15,
108 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
109 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x72, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
110 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67,
111 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f,
112 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
113 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
114 0x72, 0x73, 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f,
115 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x3b, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64,
116 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f,
117 0x74, 0x6f, 0x33,
118 }
119
120 var (
121 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDescOnce sync.Once
122 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDescData = file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDesc
123 )
124
125 func file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDescGZIP() []byte {
126 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDescOnce.Do(func() {
127 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDescData)
128 })
129 return file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDescData
130 }
131
132 var file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
133 var file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_goTypes = []interface{}{
134 (*InjectedResourceConfig)(nil), // 0: envoy.extensions.resource_monitors.injected_resource.v3.InjectedResourceConfig
135 }
136 var file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_depIdxs = []int32{
137 0, // [0:0] is the sub-list for method output_type
138 0, // [0:0] is the sub-list for method input_type
139 0, // [0:0] is the sub-list for extension type_name
140 0, // [0:0] is the sub-list for extension extendee
141 0, // [0:0] is the sub-list for field type_name
142 }
143
144 func init() {
145 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_init()
146 }
147 func file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_init() {
148 if File_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto != nil {
149 return
150 }
151 if !protoimpl.UnsafeEnabled {
152 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
153 switch v := v.(*InjectedResourceConfig); i {
154 case 0:
155 return &v.state
156 case 1:
157 return &v.sizeCache
158 case 2:
159 return &v.unknownFields
160 default:
161 return nil
162 }
163 }
164 }
165 type x struct{}
166 out := protoimpl.TypeBuilder{
167 File: protoimpl.DescBuilder{
168 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
169 RawDescriptor: file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDesc,
170 NumEnums: 0,
171 NumMessages: 1,
172 NumExtensions: 0,
173 NumServices: 0,
174 },
175 GoTypes: file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_goTypes,
176 DependencyIndexes: file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_depIdxs,
177 MessageInfos: file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_msgTypes,
178 }.Build()
179 File_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto = out.File
180 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_rawDesc = nil
181 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_goTypes = nil
182 file_envoy_extensions_resource_monitors_injected_resource_v3_injected_resource_proto_depIdxs = nil
183 }