| 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/service/status/v2/csds.proto |
| 6 |
|
| 7 |
package statusv2 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
v2alpha "github.com/envoyproxy/go-control-plane/envoy/admin/v2alpha" |
| 12 |
core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core" |
| 13 |
matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher" |
| 14 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 15 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 16 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 17 |
reflect "reflect" |
| 18 |
sync "sync" |
| 19 |
) |
| 20 |
|
| 21 |
const ( |
| 22 |
// Verify that this generated code is sufficiently up-to-date. |
| 23 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 24 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 25 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 26 |
) |
| 27 |
|
| 28 |
// Status of a config. |
| 29 |
type ConfigStatus int32 |
| 30 |
|
| 31 |
const ( |
| 32 |
// Status info is not available/unknown. |
| 33 |
ConfigStatus_UNKNOWN ConfigStatus = 0 |
| 34 |
// Management server has sent the config to client and received ACK. |
| 35 |
ConfigStatus_SYNCED ConfigStatus = 1 |
| 36 |
// Config is not sent. |
| 37 |
ConfigStatus_NOT_SENT ConfigStatus = 2 |
| 38 |
// Management server has sent the config to client but hasn’t received |
| 39 |
// ACK/NACK. |
| 40 |
ConfigStatus_STALE ConfigStatus = 3 |
| 41 |
// Management server has sent the config to client but received NACK. |
| 42 |
ConfigStatus_ERROR ConfigStatus = 4 |
| 43 |
) |
| 44 |
|
| 45 |
// Enum value maps for ConfigStatus. |
| 46 |
var ( |
| 47 |
ConfigStatus_name = map[int32]string{ |
| 48 |
0: "UNKNOWN", |
| 49 |
1: "SYNCED", |
| 50 |
2: "NOT_SENT", |
| 51 |
3: "STALE", |
| 52 |
4: "ERROR", |
| 53 |
} |
| 54 |
ConfigStatus_value = map[string]int32{ |
| 55 |
"UNKNOWN": 0, |
| 56 |
"SYNCED": 1, |
| 57 |
"NOT_SENT": 2, |
| 58 |
"STALE": 3, |
| 59 |
"ERROR": 4, |
| 60 |
} |
| 61 |
) |
| 62 |
|
| 63 |
func (x ConfigStatus) Enum() *ConfigStatus { |
| 64 |
p := new(ConfigStatus) |
| 65 |
*p = x |
| 66 |
return p |
| 67 |
} |
| 68 |
|
| 69 |
func (x ConfigStatus) String() string { |
| 70 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 71 |
} |
| 72 |
|
| 73 |
func (ConfigStatus) Descriptor() protoreflect.EnumDescriptor { |
| 74 |
return file_envoy_service_status_v2_csds_proto_enumTypes[0].Descriptor() |
| 75 |
} |
| 76 |
|
| 77 |
func (ConfigStatus) Type() protoreflect.EnumType { |
| 78 |
return &file_envoy_service_status_v2_csds_proto_enumTypes[0] |
| 79 |
} |
| 80 |
|
| 81 |
func (x ConfigStatus) Number() protoreflect.EnumNumber { |
| 82 |
return protoreflect.EnumNumber(x) |
| 83 |
} |
| 84 |
|
| 85 |
// Deprecated: Use ConfigStatus.Descriptor instead. |
| 86 |
func (ConfigStatus) EnumDescriptor() ([]byte, []int) { |
| 87 |
return file_envoy_service_status_v2_csds_proto_rawDescGZIP(), []int{0} |
| 88 |
} |
| 89 |
|
| 90 |
// Request for client status of clients identified by a list of NodeMatchers. |
| 91 |
type ClientStatusRequest struct { |
| 92 |
state protoimpl.MessageState |
| 93 |
sizeCache protoimpl.SizeCache |
| 94 |
unknownFields protoimpl.UnknownFields |
| 95 |
|
| 96 |
// Management server can use these match criteria to identify clients. |
| 97 |
// The match follows OR semantics. |
| 98 |
NodeMatchers []*matcher.NodeMatcher `protobuf:"bytes,1,rep,name=node_matchers,json=nodeMatchers,proto3" json:"node_matchers,omitempty"` |
| 99 |
} |
| 100 |
|
| 101 |
func (x *ClientStatusRequest) Reset() { |
| 102 |
*x = ClientStatusRequest{} |
| 103 |
if protoimpl.UnsafeEnabled { |
| 104 |
mi := &file_envoy_service_status_v2_csds_proto_msgTypes[0] |
| 105 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 106 |
ms.StoreMessageInfo(mi) |
| 107 |
} |
| 108 |
} |
| 109 |
|
| 110 |
func (x *ClientStatusRequest) String() string { |
| 111 |
return protoimpl.X.MessageStringOf(x) |
| 112 |
} |
| 113 |
|
| 114 |
func (*ClientStatusRequest) ProtoMessage() {} |
| 115 |
|
| 116 |
func (x *ClientStatusRequest) ProtoReflect() protoreflect.Message { |
| 117 |
mi := &file_envoy_service_status_v2_csds_proto_msgTypes[0] |
| 118 |
if protoimpl.UnsafeEnabled && x != nil { |
| 119 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 120 |
if ms.LoadMessageInfo() == nil { |
| 121 |
ms.StoreMessageInfo(mi) |
| 122 |
} |
| 123 |
return ms |
| 124 |
} |
| 125 |
return mi.MessageOf(x) |
| 126 |
} |
| 127 |
|
| 128 |
// Deprecated: Use ClientStatusRequest.ProtoReflect.Descriptor instead. |
| 129 |
func (*ClientStatusRequest) Descriptor() ([]byte, []int) { |
| 130 |
return file_envoy_service_status_v2_csds_proto_rawDescGZIP(), []int{0} |
| 131 |
} |
| 132 |
|
| 133 |
func (x *ClientStatusRequest) GetNodeMatchers() []*matcher.NodeMatcher { |
| 134 |
if x != nil { |
| 135 |
return x.NodeMatchers |
| 136 |
} |
| 137 |
return nil |
| 138 |
} |
| 139 |
|
| 140 |
// Detailed config (per xDS) with status. |
| 141 |
// [#next-free-field: 6] |
| 142 |
type PerXdsConfig struct { |
| 143 |
state protoimpl.MessageState |
| 144 |
sizeCache protoimpl.SizeCache |
| 145 |
unknownFields protoimpl.UnknownFields |
| 146 |
|
| 147 |
Status ConfigStatus `protobuf:"varint,1,opt,name=status,proto3,enum=envoy.service.status.v2.ConfigStatus" json:"status,omitempty"` |
| 148 |
// Types that are assignable to PerXdsConfig: |
| 149 |
// |
| 150 |
// *PerXdsConfig_ListenerConfig |
| 151 |
// *PerXdsConfig_ClusterConfig |
| 152 |
// *PerXdsConfig_RouteConfig |
| 153 |
// *PerXdsConfig_ScopedRouteConfig |
| 154 |
PerXdsConfig isPerXdsConfig_PerXdsConfig `protobuf_oneof:"per_xds_config"` |
| 155 |
} |
| 156 |
|
| 157 |
func (x *PerXdsConfig) Reset() { |
| 158 |
*x = PerXdsConfig{} |
| 159 |
if protoimpl.UnsafeEnabled { |
| 160 |
mi := &file_envoy_service_status_v2_csds_proto_msgTypes[1] |
| 161 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 162 |
ms.StoreMessageInfo(mi) |
| 163 |
} |
| 164 |
} |
| 165 |
|
| 166 |
func (x *PerXdsConfig) String() string { |
| 167 |
return protoimpl.X.MessageStringOf(x) |
| 168 |
} |
| 169 |
|
| 170 |
func (*PerXdsConfig) ProtoMessage() {} |
| 171 |
|
| 172 |
func (x *PerXdsConfig) ProtoReflect() protoreflect.Message { |
| 173 |
mi := &file_envoy_service_status_v2_csds_proto_msgTypes[1] |
| 174 |
if protoimpl.UnsafeEnabled && x != nil { |
| 175 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 176 |
if ms.LoadMessageInfo() == nil { |
| 177 |
ms.StoreMessageInfo(mi) |
| 178 |
} |
| 179 |
return ms |
| 180 |
} |
| 181 |
return mi.MessageOf(x) |
| 182 |
} |
| 183 |
|
| 184 |
// Deprecated: Use PerXdsConfig.ProtoReflect.Descriptor instead. |
| 185 |
func (*PerXdsConfig) Descriptor() ([]byte, []int) { |
| 186 |
return file_envoy_service_status_v2_csds_proto_rawDescGZIP(), []int{1} |
| 187 |
} |
| 188 |
|
| 189 |
func (x *PerXdsConfig) GetStatus() ConfigStatus { |
| 190 |
if x != nil { |
| 191 |
return x.Status |
| 192 |
} |
| 193 |
return ConfigStatus_UNKNOWN |
| 194 |
} |
| 195 |
|
| 196 |
func (m *PerXdsConfig) GetPerXdsConfig() isPerXdsConfig_PerXdsConfig { |
| 197 |
if m != nil { |
| 198 |
return m.PerXdsConfig |
| 199 |
} |
| 200 |
return nil |
| 201 |
} |
| 202 |
|
| 203 |
func (x *PerXdsConfig) GetListenerConfig() *v2alpha.ListenersConfigDump { |
| 204 |
if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_ListenerConfig); ok { |
| 205 |
return x.ListenerConfig |
| 206 |
} |
| 207 |
return nil |
| 208 |
} |
| 209 |
|
| 210 |
func (x *PerXdsConfig) GetClusterConfig() *v2alpha.ClustersConfigDump { |
| 211 |
if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_ClusterConfig); ok { |
| 212 |
return x.ClusterConfig |
| 213 |
} |
| 214 |
return nil |
| 215 |
} |
| 216 |
|
| 217 |
func (x *PerXdsConfig) GetRouteConfig() *v2alpha.RoutesConfigDump { |
| 218 |
if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_RouteConfig); ok { |
| 219 |
return x.RouteConfig |
| 220 |
} |
| 221 |
return nil |
| 222 |
} |
| 223 |
|
| 224 |
func (x *PerXdsConfig) GetScopedRouteConfig() *v2alpha.ScopedRoutesConfigDump { |
| 225 |
if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_ScopedRouteConfig); ok { |
| 226 |
return x.ScopedRouteConfig |
| 227 |
} |
| 228 |
return nil |
| 229 |
} |
| 230 |
|
| 231 |
type isPerXdsConfig_PerXdsConfig interface { |
| 232 |
isPerXdsConfig_PerXdsConfig() |
| 233 |
} |
| 234 |
|
| 235 |
type PerXdsConfig_ListenerConfig struct { |
| 236 |
ListenerConfig *v2alpha.ListenersConfigDump `protobuf:"bytes,2,opt,name=listener_config,json=listenerConfig,proto3,oneof"` |
| 237 |
} |
| 238 |
|
| 239 |
type PerXdsConfig_ClusterConfig struct { |
| 240 |
ClusterConfig *v2alpha.ClustersConfigDump `protobuf:"bytes,3,opt,name=cluster_config,json=clusterConfig,proto3,oneof"` |
| 241 |
} |
| 242 |
|
| 243 |
type PerXdsConfig_RouteConfig struct { |
| 244 |
RouteConfig *v2alpha.RoutesConfigDump `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3,oneof"` |
| 245 |
} |
| 246 |
|
| 247 |
type PerXdsConfig_ScopedRouteConfig struct { |
| 248 |
ScopedRouteConfig *v2alpha.ScopedRoutesConfigDump `protobuf:"bytes,5,opt,name=scoped_route_config,json=scopedRouteConfig,proto3,oneof"` |
| 249 |
} |
| 250 |
|
| 251 |
func (*PerXdsConfig_ListenerConfig) isPerXdsConfig_PerXdsConfig() {} |
| 252 |
|
| 253 |
func (*PerXdsConfig_ClusterConfig) isPerXdsConfig_PerXdsConfig() {} |
| 254 |
|
| 255 |
func (*PerXdsConfig_RouteConfig) isPerXdsConfig_PerXdsConfig() {} |
| 256 |
|
| 257 |
func (*PerXdsConfig_ScopedRouteConfig) isPerXdsConfig_PerXdsConfig() {} |
| 258 |
|
| 259 |
// All xds configs for a particular client. |
| 260 |
type ClientConfig struct { |
| 261 |
state protoimpl.MessageState |
| 262 |
sizeCache protoimpl.SizeCache |
| 263 |
unknownFields protoimpl.UnknownFields |
| 264 |
|
| 265 |
// Node for a particular client. |
| 266 |
Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` |
| 267 |
XdsConfig []*PerXdsConfig `protobuf:"bytes,2,rep,name=xds_config,json=xdsConfig,proto3" json:"xds_config,omitempty"` |
| 268 |
} |
| 269 |
|
| 270 |
func (x *ClientConfig) Reset() { |
| 271 |
*x = ClientConfig{} |
| 272 |
if protoimpl.UnsafeEnabled { |
| 273 |
mi := &file_envoy_service_status_v2_csds_proto_msgTypes[2] |
| 274 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 275 |
ms.StoreMessageInfo(mi) |
| 276 |
} |
| 277 |
} |
| 278 |
|
| 279 |
func (x *ClientConfig) String() string { |
| 280 |
return protoimpl.X.MessageStringOf(x) |
| 281 |
} |
| 282 |
|
| 283 |
func (*ClientConfig) ProtoMessage() {} |
| 284 |
|
| 285 |
func (x *ClientConfig) ProtoReflect() protoreflect.Message { |
| 286 |
mi := &file_envoy_service_status_v2_csds_proto_msgTypes[2] |
| 287 |
if protoimpl.UnsafeEnabled && x != nil { |
| 288 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 289 |
if ms.LoadMessageInfo() == nil { |
| 290 |
ms.StoreMessageInfo(mi) |
| 291 |
} |
| 292 |
return ms |
| 293 |
} |
| 294 |
return mi.MessageOf(x) |
| 295 |
} |
| 296 |
|
| 297 |
// Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead. |
| 298 |
func (*ClientConfig) Descriptor() ([]byte, []int) { |
| 299 |
return file_envoy_service_status_v2_csds_proto_rawDescGZIP(), []int{2} |
| 300 |
} |
| 301 |
|
| 302 |
func (x *ClientConfig) GetNode() *core.Node { |
| 303 |
if x != nil { |
| 304 |
return x.Node |
| 305 |
} |
| 306 |
return nil |
| 307 |
} |
| 308 |
|
| 309 |
func (x *ClientConfig) GetXdsConfig() []*PerXdsConfig { |
| 310 |
if x != nil { |
| 311 |
return x.XdsConfig |
| 312 |
} |
| 313 |
return nil |
| 314 |
} |
| 315 |
|
| 316 |
type ClientStatusResponse struct { |
| 317 |
state protoimpl.MessageState |
| 318 |
sizeCache protoimpl.SizeCache |
| 319 |
unknownFields protoimpl.UnknownFields |
| 320 |
|
| 321 |
// Client configs for the clients specified in the ClientStatusRequest. |
| 322 |
Config []*ClientConfig `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"` |
| 323 |
} |
| 324 |
|
| 325 |
func (x *ClientStatusResponse) Reset() { |
| 326 |
*x = ClientStatusResponse{} |
| 327 |
if protoimpl.UnsafeEnabled { |
| 328 |
mi := &file_envoy_service_status_v2_csds_proto_msgTypes[3] |
| 329 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 330 |
ms.StoreMessageInfo(mi) |
| 331 |
} |
| 332 |
} |
| 333 |
|
| 334 |
func (x *ClientStatusResponse) String() string { |
| 335 |
return protoimpl.X.MessageStringOf(x) |
| 336 |
} |
| 337 |
|
| 338 |
func (*ClientStatusResponse) ProtoMessage() {} |
| 339 |
|
| 340 |
func (x *ClientStatusResponse) ProtoReflect() protoreflect.Message { |
| 341 |
mi := &file_envoy_service_status_v2_csds_proto_msgTypes[3] |
| 342 |
if protoimpl.UnsafeEnabled && x != nil { |
| 343 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 344 |
if ms.LoadMessageInfo() == nil { |
| 345 |
ms.StoreMessageInfo(mi) |
| 346 |
} |
| 347 |
return ms |
| 348 |
} |
| 349 |
return mi.MessageOf(x) |
| 350 |
} |
| 351 |
|
| 352 |
// Deprecated: Use ClientStatusResponse.ProtoReflect.Descriptor instead. |
| 353 |
func (*ClientStatusResponse) Descriptor() ([]byte, []int) { |
| 354 |
return file_envoy_service_status_v2_csds_proto_rawDescGZIP(), []int{3} |
| 355 |
} |
| 356 |
|
| 357 |
func (x *ClientStatusResponse) GetConfig() []*ClientConfig { |
| 358 |
if x != nil { |
| 359 |
return x.Config |
| 360 |
} |
| 361 |
return nil |
| 362 |
} |
| 363 |
|
| 364 |
var File_envoy_service_status_v2_csds_proto protoreflect.FileDescriptor |
| 365 |
|
| 366 |
var file_envoy_service_status_v2_csds_proto_rawDesc = []byte{ |
| 367 |
0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, |
| 368 |
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x73, 0x64, 0x73, 0x2e, 0x70, |
| 369 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, |
| 370 |
0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x25, 0x65, |
| 371 |
0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, |
| 372 |
0x68, 0x61, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x2e, 0x70, |
| 373 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 374 |
0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 375 |
0x74, 0x6f, 0x1a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, |
| 376 |
0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 377 |
0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, |
| 378 |
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 379 |
0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 380 |
0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, |
| 381 |
0x0a, 0x13, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, |
| 382 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x61, |
| 383 |
0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, |
| 384 |
0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, |
| 385 |
0x72, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0c, 0x6e, |
| 386 |
0x6f, 0x64, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x22, 0xb1, 0x03, 0x0a, 0x0c, |
| 387 |
0x50, 0x65, 0x72, 0x58, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x06, |
| 388 |
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x65, |
| 389 |
0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, |
| 390 |
0x74, 0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, |
| 391 |
0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x53, 0x0a, 0x0f, 0x6c, |
| 392 |
0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, |
| 393 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, |
| 394 |
0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, |
| 395 |
0x6e, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x48, 0x00, |
| 396 |
0x52, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 397 |
0x12, 0x50, 0x0a, 0x0e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 398 |
0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, |
| 399 |
0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, |
| 400 |
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, |
| 401 |
0x70, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, |
| 402 |
0x69, 0x67, 0x12, 0x4a, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 403 |
0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, |
| 404 |
0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, |
| 405 |
0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x48, |
| 406 |
0x00, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5d, |
| 407 |
0x0a, 0x13, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, |
| 408 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, |
| 409 |
0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, |
| 410 |
0x61, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, |
| 411 |
0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x11, 0x73, 0x63, 0x6f, 0x70, |
| 412 |
0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x10, 0x0a, |
| 413 |
0x0e, 0x70, 0x65, 0x72, 0x5f, 0x78, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, |
| 414 |
0x81, 0x01, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 415 |
0x12, 0x2b, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, |
| 416 |
0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, |
| 417 |
0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x44, 0x0a, |
| 418 |
0x0a, 0x78, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, |
| 419 |
0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 420 |
0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x65, 0x72, 0x58, |
| 421 |
0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x78, 0x64, 0x73, 0x43, 0x6f, 0x6e, |
| 422 |
0x66, 0x69, 0x67, 0x22, 0x55, 0x0a, 0x14, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, |
| 423 |
0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x63, |
| 424 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, |
| 425 |
0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, |
| 426 |
0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, |
| 427 |
0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2a, 0x4b, 0x0a, 0x0c, 0x43, 0x6f, |
| 428 |
0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, |
| 429 |
0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x4e, 0x43, 0x45, |
| 430 |
0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x54, 0x10, |
| 431 |
0x02, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, |
| 432 |
0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x32, 0xb2, 0x02, 0x0a, 0x1c, 0x43, 0x6c, 0x69, 0x65, |
| 433 |
0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, |
| 434 |
0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, |
| 435 |
0x61, 0x6d, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, |
| 436 |
0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, |
| 437 |
0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, |
| 438 |
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, |
| 439 |
0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, |
| 440 |
0x74, 0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, |
| 441 |
0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, |
| 442 |
0x01, 0x12, 0x98, 0x01, 0x0a, 0x11, 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x6c, 0x69, 0x65, 0x6e, |
| 443 |
0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, |
| 444 |
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, |
| 445 |
0x32, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, |
| 446 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, |
| 447 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, |
| 448 |
0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, |
| 449 |
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x01, 0x2a, 0x22, |
| 450 |
0x1b, 0x2f, 0x76, 0x32, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x3a, 0x63, |
| 451 |
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x85, 0x01, 0xba, |
| 452 |
0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x0a, 0x25, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, |
| 453 |
0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, |
| 454 |
0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x09, |
| 455 |
0x43, 0x73, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, |
| 456 |
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, |
| 457 |
0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, |
| 458 |
0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 459 |
0x65, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x74, 0x61, 0x74, |
| 460 |
0x75, 0x73, 0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 461 |
} |
| 462 |
|
| 463 |
var ( |
| 464 |
file_envoy_service_status_v2_csds_proto_rawDescOnce sync.Once |
| 465 |
file_envoy_service_status_v2_csds_proto_rawDescData = file_envoy_service_status_v2_csds_proto_rawDesc |
| 466 |
) |
| 467 |
|
| 468 |
func file_envoy_service_status_v2_csds_proto_rawDescGZIP() []byte { |
| 469 |
file_envoy_service_status_v2_csds_proto_rawDescOnce.Do(func() { |
| 470 |
file_envoy_service_status_v2_csds_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_status_v2_csds_proto_rawDescData) |
| 471 |
}) |
| 472 |
return file_envoy_service_status_v2_csds_proto_rawDescData |
| 473 |
} |
| 474 |
|
| 475 |
var file_envoy_service_status_v2_csds_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 476 |
var file_envoy_service_status_v2_csds_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| 477 |
var file_envoy_service_status_v2_csds_proto_goTypes = []interface{}{ |
| 478 |
(ConfigStatus)(0), // 0: envoy.service.status.v2.ConfigStatus |
| 479 |
(*ClientStatusRequest)(nil), // 1: envoy.service.status.v2.ClientStatusRequest |
| 480 |
(*PerXdsConfig)(nil), // 2: envoy.service.status.v2.PerXdsConfig |
| 481 |
(*ClientConfig)(nil), // 3: envoy.service.status.v2.ClientConfig |
| 482 |
(*ClientStatusResponse)(nil), // 4: envoy.service.status.v2.ClientStatusResponse |
| 483 |
(*matcher.NodeMatcher)(nil), // 5: envoy.type.matcher.NodeMatcher |
| 484 |
(*v2alpha.ListenersConfigDump)(nil), // 6: envoy.admin.v2alpha.ListenersConfigDump |
| 485 |
(*v2alpha.ClustersConfigDump)(nil), // 7: envoy.admin.v2alpha.ClustersConfigDump |
| 486 |
(*v2alpha.RoutesConfigDump)(nil), // 8: envoy.admin.v2alpha.RoutesConfigDump |
| 487 |
(*v2alpha.ScopedRoutesConfigDump)(nil), // 9: envoy.admin.v2alpha.ScopedRoutesConfigDump |
| 488 |
(*core.Node)(nil), // 10: envoy.api.v2.core.Node |
| 489 |
} |
| 490 |
var file_envoy_service_status_v2_csds_proto_depIdxs = []int32{ |
| 491 |
5, // 0: envoy.service.status.v2.ClientStatusRequest.node_matchers:type_name -> envoy.type.matcher.NodeMatcher |
| 492 |
0, // 1: envoy.service.status.v2.PerXdsConfig.status:type_name -> envoy.service.status.v2.ConfigStatus |
| 493 |
6, // 2: envoy.service.status.v2.PerXdsConfig.listener_config:type_name -> envoy.admin.v2alpha.ListenersConfigDump |
| 494 |
7, // 3: envoy.service.status.v2.PerXdsConfig.cluster_config:type_name -> envoy.admin.v2alpha.ClustersConfigDump |
| 495 |
8, // 4: envoy.service.status.v2.PerXdsConfig.route_config:type_name -> envoy.admin.v2alpha.RoutesConfigDump |
| 496 |
9, // 5: envoy.service.status.v2.PerXdsConfig.scoped_route_config:type_name -> envoy.admin.v2alpha.ScopedRoutesConfigDump |
| 497 |
10, // 6: envoy.service.status.v2.ClientConfig.node:type_name -> envoy.api.v2.core.Node |
| 498 |
2, // 7: envoy.service.status.v2.ClientConfig.xds_config:type_name -> envoy.service.status.v2.PerXdsConfig |
| 499 |
3, // 8: envoy.service.status.v2.ClientStatusResponse.config:type_name -> envoy.service.status.v2.ClientConfig |
| 500 |
1, // 9: envoy.service.status.v2.ClientStatusDiscoveryService.StreamClientStatus:input_type -> envoy.service.status.v2.ClientStatusRequest |
| 501 |
1, // 10: envoy.service.status.v2.ClientStatusDiscoveryService.FetchClientStatus:input_type -> envoy.service.status.v2.ClientStatusRequest |
| 502 |
4, // 11: envoy.service.status.v2.ClientStatusDiscoveryService.StreamClientStatus:output_type -> envoy.service.status.v2.ClientStatusResponse |
| 503 |
4, // 12: envoy.service.status.v2.ClientStatusDiscoveryService.FetchClientStatus:output_type -> envoy.service.status.v2.ClientStatusResponse |
| 504 |
11, // [11:13] is the sub-list for method output_type |
| 505 |
9, // [9:11] is the sub-list for method input_type |
| 506 |
9, // [9:9] is the sub-list for extension type_name |
| 507 |
9, // [9:9] is the sub-list for extension extendee |
| 508 |
0, // [0:9] is the sub-list for field type_name |
| 509 |
} |
| 510 |
|
| 511 |
func init() { file_envoy_service_status_v2_csds_proto_init() } |
| 512 |
func file_envoy_service_status_v2_csds_proto_init() { |
| 513 |
if File_envoy_service_status_v2_csds_proto != nil { |
| 514 |
return |
| 515 |
} |
| 516 |
if !protoimpl.UnsafeEnabled { |
| 517 |
file_envoy_service_status_v2_csds_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 518 |
switch v := v.(*ClientStatusRequest); i { |
| 519 |
case 0: |
| 520 |
return &v.state |
| 521 |
case 1: |
| 522 |
return &v.sizeCache |
| 523 |
case 2: |
| 524 |
return &v.unknownFields |
| 525 |
default: |
| 526 |
return nil |
| 527 |
} |
| 528 |
} |
| 529 |
file_envoy_service_status_v2_csds_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 530 |
switch v := v.(*PerXdsConfig); i { |
| 531 |
case 0: |
| 532 |
return &v.state |
| 533 |
case 1: |
| 534 |
return &v.sizeCache |
| 535 |
case 2: |
| 536 |
return &v.unknownFields |
| 537 |
default: |
| 538 |
return nil |
| 539 |
} |
| 540 |
} |
| 541 |
file_envoy_service_status_v2_csds_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 542 |
switch v := v.(*ClientConfig); i { |
| 543 |
case 0: |
| 544 |
return &v.state |
| 545 |
case 1: |
| 546 |
return &v.sizeCache |
| 547 |
case 2: |
| 548 |
return &v.unknownFields |
| 549 |
default: |
| 550 |
return nil |
| 551 |
} |
| 552 |
} |
| 553 |
file_envoy_service_status_v2_csds_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 554 |
switch v := v.(*ClientStatusResponse); i { |
| 555 |
case 0: |
| 556 |
return &v.state |
| 557 |
case 1: |
| 558 |
return &v.sizeCache |
| 559 |
case 2: |
| 560 |
return &v.unknownFields |
| 561 |
default: |
| 562 |
return nil |
| 563 |
} |
| 564 |
} |
| 565 |
} |
| 566 |
file_envoy_service_status_v2_csds_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 567 |
(*PerXdsConfig_ListenerConfig)(nil), |
| 568 |
(*PerXdsConfig_ClusterConfig)(nil), |
| 569 |
(*PerXdsConfig_RouteConfig)(nil), |
| 570 |
(*PerXdsConfig_ScopedRouteConfig)(nil), |
| 571 |
} |
| 572 |
type x struct{} |
| 573 |
out := protoimpl.TypeBuilder{ |
| 574 |
File: protoimpl.DescBuilder{ |
| 575 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 576 |
RawDescriptor: file_envoy_service_status_v2_csds_proto_rawDesc, |
| 577 |
NumEnums: 1, |
| 578 |
NumMessages: 4, |
| 579 |
NumExtensions: 0, |
| 580 |
NumServices: 1, |
| 581 |
}, |
| 582 |
GoTypes: file_envoy_service_status_v2_csds_proto_goTypes, |
| 583 |
DependencyIndexes: file_envoy_service_status_v2_csds_proto_depIdxs, |
| 584 |
EnumInfos: file_envoy_service_status_v2_csds_proto_enumTypes, |
| 585 |
MessageInfos: file_envoy_service_status_v2_csds_proto_msgTypes, |
| 586 |
}.Build() |
| 587 |
File_envoy_service_status_v2_csds_proto = out.File |
| 588 |
file_envoy_service_status_v2_csds_proto_rawDesc = nil |
| 589 |
file_envoy_service_status_v2_csds_proto_goTypes = nil |
| 590 |
file_envoy_service_status_v2_csds_proto_depIdxs = nil |
| 591 |
} |