Debian Codegraph @

envoy/config/resource_monitor/injected_resource/v2alpha/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/config/resource_monitor/injected_resource/v2alpha/injected_resource.proto
6
7 package v2alpha
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_config_resource_monitor_injected_resource_v2alpha_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_config_resource_monitor_injected_resource_v2alpha_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_config_resource_monitor_injected_resource_v2alpha_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_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto protoreflect.FileDescriptor
77
78 var file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDesc = []byte{
79 0x0a, 0x4f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72,
80 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f,
81 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
82 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 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, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
85 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
86 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
87 0x63, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 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, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64,
90 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
91 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x16, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65,
92 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x08,
93 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
94 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d,
95 0x65, 0x42, 0xc8, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x45, 0x69, 0x6f,
96 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
97 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
98 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
99 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c,
100 0x70, 0x68, 0x61, 0x42, 0x15, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73,
101 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x69,
102 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
103 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70,
104 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
105 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74,
106 0x6f, 0x72, 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f,
107 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72,
108 0x6f, 0x74, 0x6f, 0x33,
109 }
110
111 var (
112 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDescOnce sync.Once
113 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDescData = file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDesc
114 )
115
116 func file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDescGZIP() []byte {
117 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDescOnce.Do(func() {
118 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDescData)
119 })
120 return file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDescData
121 }
122
123 var file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
124 var file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_goTypes = []interface{}{
125 (*InjectedResourceConfig)(nil), // 0: envoy.config.resource_monitor.injected_resource.v2alpha.InjectedResourceConfig
126 }
127 var file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_depIdxs = []int32{
128 0, // [0:0] is the sub-list for method output_type
129 0, // [0:0] is the sub-list for method input_type
130 0, // [0:0] is the sub-list for extension type_name
131 0, // [0:0] is the sub-list for extension extendee
132 0, // [0:0] is the sub-list for field type_name
133 }
134
135 func init() {
136 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_init()
137 }
138 func file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_init() {
139 if File_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto != nil {
140 return
141 }
142 if !protoimpl.UnsafeEnabled {
143 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
144 switch v := v.(*InjectedResourceConfig); i {
145 case 0:
146 return &v.state
147 case 1:
148 return &v.sizeCache
149 case 2:
150 return &v.unknownFields
151 default:
152 return nil
153 }
154 }
155 }
156 type x struct{}
157 out := protoimpl.TypeBuilder{
158 File: protoimpl.DescBuilder{
159 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
160 RawDescriptor: file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDesc,
161 NumEnums: 0,
162 NumMessages: 1,
163 NumExtensions: 0,
164 NumServices: 0,
165 },
166 GoTypes: file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_goTypes,
167 DependencyIndexes: file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_depIdxs,
168 MessageInfos: file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_msgTypes,
169 }.Build()
170 File_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto = out.File
171 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_rawDesc = nil
172 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_goTypes = nil
173 file_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto_depIdxs = nil
174 }