-
Notifications
You must be signed in to change notification settings - Fork 0
/
eds.pb.go
660 lines (591 loc) · 25.3 KB
/
eds.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: github.com/costinm/dmesh/dm/istio/eds.proto
package istio
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type SocketAddress_Protocol int32
const (
SocketAddress_TCP SocketAddress_Protocol = 0
// [#not-implemented-hide:]
SocketAddress_UDP SocketAddress_Protocol = 1
)
var SocketAddress_Protocol_name = map[int32]string{
0: "TCP",
1: "UDP",
}
var SocketAddress_Protocol_value = map[string]int32{
"TCP": 0,
"UDP": 1,
}
func (x SocketAddress_Protocol) String() string {
return proto.EnumName(SocketAddress_Protocol_name, int32(x))
}
func (SocketAddress_Protocol) EnumDescriptor() ([]byte, []int) { return fileDescriptorEds, []int{2, 0} }
// Addresses specify either a logical or physical address and port, which are
// used to tell Envoy where to bind/listen, connect to upstream and find
// management servers.
type Address struct {
// Types that are valid to be assigned to Address:
// *Address_SocketAddress
// *Address_Pipe
Address isAddress_Address `protobuf_oneof:"address"`
}
func (m *Address) Reset() { *m = Address{} }
func (m *Address) String() string { return proto.CompactTextString(m) }
func (*Address) ProtoMessage() {}
func (*Address) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{0} }
type isAddress_Address interface {
isAddress_Address()
}
type Address_SocketAddress struct {
SocketAddress *SocketAddress `protobuf:"bytes,1,opt,name=socket_address,oneof"`
}
type Address_Pipe struct {
Pipe *Pipe `protobuf:"bytes,2,opt,name=pipe,oneof"`
}
func (*Address_SocketAddress) isAddress_Address() {}
func (*Address_Pipe) isAddress_Address() {}
func (m *Address) GetAddress() isAddress_Address {
if m != nil {
return m.Address
}
return nil
}
func (m *Address) GetSocketAddress() *SocketAddress {
if x, ok := m.GetAddress().(*Address_SocketAddress); ok {
return x.SocketAddress
}
return nil
}
func (m *Address) GetPipe() *Pipe {
if x, ok := m.GetAddress().(*Address_Pipe); ok {
return x.Pipe
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Address) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Address_OneofMarshaler, _Address_OneofUnmarshaler, _Address_OneofSizer, []interface{}{
(*Address_SocketAddress)(nil),
(*Address_Pipe)(nil),
}
}
func _Address_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Address)
// address
switch x := m.Address.(type) {
case *Address_SocketAddress:
_ = b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SocketAddress); err != nil {
return err
}
case *Address_Pipe:
_ = b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Pipe); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Address.Address has unexpected type %T", x)
}
return nil
}
func _Address_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Address)
switch tag {
case 1: // address.socket_address
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SocketAddress)
err := b.DecodeMessage(msg)
m.Address = &Address_SocketAddress{msg}
return true, err
case 2: // address.pipe
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(Pipe)
err := b.DecodeMessage(msg)
m.Address = &Address_Pipe{msg}
return true, err
default:
return false, nil
}
}
func _Address_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Address)
// address
switch x := m.Address.(type) {
case *Address_SocketAddress:
s := proto.Size(x.SocketAddress)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Address_Pipe:
s := proto.Size(x.Pipe)
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type Pipe struct {
// Unix Domain Socket path. On Linux, paths starting with '@' will use the
// abstract namespace. The starting '@' is replaced by a null byte by Envoy.
// Paths starting with '@' will result in an error in environments other than
// Linux.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
}
func (m *Pipe) Reset() { *m = Pipe{} }
func (m *Pipe) String() string { return proto.CompactTextString(m) }
func (*Pipe) ProtoMessage() {}
func (*Pipe) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{1} }
func (m *Pipe) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
type SocketAddress struct {
Protocol SocketAddress_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=istio.SocketAddress_Protocol" json:"protocol,omitempty"`
// The address for this socket. :ref:`Listeners <config_listeners>` will bind
// to the address or outbound connections will be made. An empty address is
// not allowed, specify ``0.0.0.0`` or ``::`` to bind any. It's still possible to
// distinguish on an address via the prefix/suffix matching in
// FilterChainMatch after connection. For :ref:`clusters
// <config_cluster_manager_cluster>`, an address may be either an IP or
// hostname to be resolved via DNS. If it is a hostname, :ref:`resolver_name
// <envoy_api_field_core.SocketAddress.resolver_name>` should be set unless default
// (i.e. DNS) resolution is expected.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// Types that are valid to be assigned to PortSpecifier:
// *SocketAddress_PortValue
// *SocketAddress_NamedPort
PortSpecifier isSocketAddress_PortSpecifier `protobuf_oneof:"port_specifier"`
// The name of the resolver. This must have been registered with Envoy. If this is
// empty, a context dependent default applies. If address is a hostname this
// should be set for resolution other than DNS. If the address is a concrete
// IP address, no resolution will occur.
ResolverName string `protobuf:"bytes,5,opt,name=resolver_name,proto3" json:"resolver_name,omitempty"`
// When binding to an IPv6 address above, this enables `IPv4 compatibity
// <https://tools.ietf.org/html/rfc3493#page-11>`_. Binding to ``::`` will
// allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into
// IPv6 space as ``::FFFF:<IPv4-address>``.
Ipv4Compat bool `protobuf:"varint,6,opt,name=ipv4_compat,proto3" json:"ipv4_compat,omitempty"`
}
func (m *SocketAddress) Reset() { *m = SocketAddress{} }
func (m *SocketAddress) String() string { return proto.CompactTextString(m) }
func (*SocketAddress) ProtoMessage() {}
func (*SocketAddress) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{2} }
type isSocketAddress_PortSpecifier interface {
isSocketAddress_PortSpecifier()
}
type SocketAddress_PortValue struct {
PortValue uint32 `protobuf:"varint,3,opt,name=port_value,proto3,oneof"`
}
type SocketAddress_NamedPort struct {
NamedPort string `protobuf:"bytes,4,opt,name=named_port,proto3,oneof"`
}
func (*SocketAddress_PortValue) isSocketAddress_PortSpecifier() {}
func (*SocketAddress_NamedPort) isSocketAddress_PortSpecifier() {}
func (m *SocketAddress) GetPortSpecifier() isSocketAddress_PortSpecifier {
if m != nil {
return m.PortSpecifier
}
return nil
}
func (m *SocketAddress) GetProtocol() SocketAddress_Protocol {
if m != nil {
return m.Protocol
}
return SocketAddress_TCP
}
func (m *SocketAddress) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *SocketAddress) GetPortValue() uint32 {
if x, ok := m.GetPortSpecifier().(*SocketAddress_PortValue); ok {
return x.PortValue
}
return 0
}
func (m *SocketAddress) GetNamedPort() string {
if x, ok := m.GetPortSpecifier().(*SocketAddress_NamedPort); ok {
return x.NamedPort
}
return ""
}
func (m *SocketAddress) GetResolverName() string {
if m != nil {
return m.ResolverName
}
return ""
}
func (m *SocketAddress) GetIpv4Compat() bool {
if m != nil {
return m.Ipv4Compat
}
return false
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*SocketAddress) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _SocketAddress_OneofMarshaler, _SocketAddress_OneofUnmarshaler, _SocketAddress_OneofSizer, []interface{}{
(*SocketAddress_PortValue)(nil),
(*SocketAddress_NamedPort)(nil),
}
}
func _SocketAddress_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*SocketAddress)
// port_specifier
switch x := m.PortSpecifier.(type) {
case *SocketAddress_PortValue:
_ = b.EncodeVarint(3<<3 | proto.WireVarint)
_ = b.EncodeVarint(uint64(x.PortValue))
case *SocketAddress_NamedPort:
_ = b.EncodeVarint(4<<3 | proto.WireBytes)
_ = b.EncodeStringBytes(x.NamedPort)
case nil:
default:
return fmt.Errorf("SocketAddress.PortSpecifier has unexpected type %T", x)
}
return nil
}
func _SocketAddress_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*SocketAddress)
switch tag {
case 3: // port_specifier.port_value
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.PortSpecifier = &SocketAddress_PortValue{uint32(x)}
return true, err
case 4: // port_specifier.named_port
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeStringBytes()
m.PortSpecifier = &SocketAddress_NamedPort{x}
return true, err
default:
return false, nil
}
}
func _SocketAddress_OneofSizer(msg proto.Message) (n int) {
m := msg.(*SocketAddress)
// port_specifier
switch x := m.PortSpecifier.(type) {
case *SocketAddress_PortValue:
n += proto.SizeVarint(3<<3 | proto.WireVarint)
n += proto.SizeVarint(uint64(x.PortValue))
case *SocketAddress_NamedPort:
n += proto.SizeVarint(4<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(len(x.NamedPort)))
n += len(x.NamedPort)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type BindConfig struct {
// The address to bind to when creating a socket.
SourceAddress *SocketAddress `protobuf:"bytes,1,opt,name=source_address" json:"source_address,omitempty"`
}
func (m *BindConfig) Reset() { *m = BindConfig{} }
func (m *BindConfig) String() string { return proto.CompactTextString(m) }
func (*BindConfig) ProtoMessage() {}
func (*BindConfig) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{3} }
func (m *BindConfig) GetSourceAddress() *SocketAddress {
if m != nil {
return m.SourceAddress
}
return nil
}
// CidrRange specifies an IP Address and a prefix length to construct
// the subnet mask for a `CIDR <https://tools.ietf.org/html/rfc4632>`_ range.
type CidrRange struct {
// IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,proto3" json:"address_prefix,omitempty"`
// Length of prefix, e.g. 0, 32.
PrefixLen *UInt32Value `protobuf:"bytes,2,opt,name=prefix_len" json:"prefix_len,omitempty"`
}
func (m *CidrRange) Reset() { *m = CidrRange{} }
func (m *CidrRange) String() string { return proto.CompactTextString(m) }
func (*CidrRange) ProtoMessage() {}
func (*CidrRange) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{4} }
func (m *CidrRange) GetAddressPrefix() string {
if m != nil {
return m.AddressPrefix
}
return ""
}
func (m *CidrRange) GetPrefixLen() *UInt32Value {
if m != nil {
return m.PrefixLen
}
return nil
}
// Upstream host identifier.
type Endpoint struct {
Address *Address `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}
func (m *Endpoint) Reset() { *m = Endpoint{} }
func (m *Endpoint) String() string { return proto.CompactTextString(m) }
func (*Endpoint) ProtoMessage() {}
func (*Endpoint) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{5} }
func (m *Endpoint) GetAddress() *Address {
if m != nil {
return m.Address
}
return nil
}
// An Endpoint that Envoy can route traffic to.
type LbEndpoint struct {
// Upstream host identifier
Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint" json:"endpoint,omitempty"`
// The endpoint metadata specifies values that may be used by the load
// balancer to select endpoints in a cluster for a given request. The filter
// name should be specified as *envoy.lb*. An example boolean key-value pair
// is *canary*, providing the optional canary status of the upstream host.
// This may be matched against in a route's ForwardAction metadata_match field
// to subset the endpoints considered in cluster load balancing.
Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"`
// The optional load balancing weight of the upstream host, in the range 1 -
// 128. Envoy uses the load balancing weight in some of the built in load
// balancers. The load balancing weight for an endpoint is divided by the sum
// of the weights of all endpoints in the endpoint's locality to produce a
// percentage of traffic for the endpoint. This percentage is then further
// weighted by the endpoint's locality's load balancing weight from
// LocalityLbEndpoints. If unspecified, each host is presumed to have equal
// weight in a locality.
//
// .. attention::
//
// The limit of 128 is somewhat arbitrary, but is applied due to performance
// concerns with the current implementation and can be removed when
// `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
LoadBalancingWeight *UInt32Value `protobuf:"bytes,4,opt,name=load_balancing_weight" json:"load_balancing_weight,omitempty"`
}
func (m *LbEndpoint) Reset() { *m = LbEndpoint{} }
func (m *LbEndpoint) String() string { return proto.CompactTextString(m) }
func (*LbEndpoint) ProtoMessage() {}
func (*LbEndpoint) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{6} }
func (m *LbEndpoint) GetEndpoint() *Endpoint {
if m != nil {
return m.Endpoint
}
return nil
}
func (m *LbEndpoint) GetMetadata() *Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *LbEndpoint) GetLoadBalancingWeight() *UInt32Value {
if m != nil {
return m.LoadBalancingWeight
}
return nil
}
// A group of endpoints belonging to a Locality.
// One can have multiple LocalityLbEndpoints for a locality, but this is
// generally only done if the different groups need to have different load
// balancing weights or different priorities.
type LocalityLbEndpoints struct {
// Identifies location of where the upstream hosts run.
Locality *Locality `protobuf:"bytes,1,opt,name=locality" json:"locality,omitempty"`
// The group of endpoints belonging to the locality specified.
LbEndpoints []*LbEndpoint `protobuf:"bytes,2,rep,name=lb_endpoints" json:"lb_endpoints,omitempty"`
// Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load
// balancing weight for a locality is divided by the sum of the weights of all
// localities at the same priority level to produce the effective percentage
// of traffic for the locality.
//
// Weights must be specified for either all localities in a given priority
// level or none.
//
// If unspecified, each locality is presumed to have equal weight in a
// cluster.
//
// .. attention::
//
// The limit of 128 is somewhat arbitrary, but is applied due to performance
// concerns with the current implementation and can be removed when
// `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
LoadBalancingWeight *UInt32Value `protobuf:"bytes,3,opt,name=load_balancing_weight" json:"load_balancing_weight,omitempty"`
// Optional: the priority for this LocalityLbEndpoints. If unspecified this will
// default to the highest priority (0).
//
// Under usual circumstances, Envoy will only select endpoints for the highest
// priority (0). In the event all endpoints for a particular priority are
// unavailable/unhealthy, Envoy will fail over to selecting endpoints for the
// next highest priority group.
//
// Priorities should range from 0 (highest) to N (lowest) without skipping.
Priority uint32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
}
func (m *LocalityLbEndpoints) Reset() { *m = LocalityLbEndpoints{} }
func (m *LocalityLbEndpoints) String() string { return proto.CompactTextString(m) }
func (*LocalityLbEndpoints) ProtoMessage() {}
func (*LocalityLbEndpoints) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{7} }
func (m *LocalityLbEndpoints) GetLocality() *Locality {
if m != nil {
return m.Locality
}
return nil
}
func (m *LocalityLbEndpoints) GetLbEndpoints() []*LbEndpoint {
if m != nil {
return m.LbEndpoints
}
return nil
}
func (m *LocalityLbEndpoints) GetLoadBalancingWeight() *UInt32Value {
if m != nil {
return m.LoadBalancingWeight
}
return nil
}
func (m *LocalityLbEndpoints) GetPriority() uint32 {
if m != nil {
return m.Priority
}
return 0
}
// Metadata provides additional inputs to filters based on matched listeners,
// filter chains, routes and endpoints. It is structured as a map from filter
// name (in reverse DNS format) to metadata specific to the filter. Metadata
// key-values for a filter are merged as connection and request handling occurs,
// with later values for the same key overriding earlier values.
//
// An example use of metadata is providing additional values to
// http_connection_manager in the envoy.http_connection_manager.access_log
// namespace.
//
// For load balancing, Metadata provides a means to subset cluster endpoints.
// Endpoints have a Metadata object associated and routes contain a Metadata
// object to match against. There are some well defined metadata used today for
// this purpose:
//
// * ``{"envoy.lb": {"canary": <bool> }}`` This indicates the canary status of an
// endpoint and is also used during header processing
// (x-envoy-upstream-canary) and for stats purposes.
type Metadata struct {
// Key is the reverse DNS filter name, e.g. com.acme.widget. The envoy.*
// namespace is reserved for Envoy's built-in filters.
FilterMetadata map[string]*Struct `protobuf:"bytes,1,rep,name=filter_metadata" json:"filter_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *Metadata) Reset() { *m = Metadata{} }
func (m *Metadata) String() string { return proto.CompactTextString(m) }
func (*Metadata) ProtoMessage() {}
func (*Metadata) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{8} }
func (m *Metadata) GetFilterMetadata() map[string]*Struct {
if m != nil {
return m.FilterMetadata
}
return nil
}
// Each route from RDS will map to a single cluster or traffic split across
// clusters using weights expressed in the RDS WeightedCluster.
//
// With EDS, each cluster is treated independently from a LB perspective, with
// LB taking place between the Localities within a cluster and at a finer
// granularity between the hosts within a locality. For a given cluster, the
// effective weight of a host is its load_balancing_weight multiplied by the
// load_balancing_weight of its Locality.
type ClusterLoadAssignment struct {
// Name of the cluster. This will be the :ref:`service_name
// <envoy_api_field_Cluster.EdsClusterConfig.service_name>` value if specified
// in the cluster :ref:`EdsClusterConfig
// <envoy_api_msg_Cluster.EdsClusterConfig>`.
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"`
// List of endpoints to load balance to.
Endpoints []*LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints" json:"endpoints,omitempty"`
}
func (m *ClusterLoadAssignment) Reset() { *m = ClusterLoadAssignment{} }
func (m *ClusterLoadAssignment) String() string { return proto.CompactTextString(m) }
func (*ClusterLoadAssignment) ProtoMessage() {}
func (*ClusterLoadAssignment) Descriptor() ([]byte, []int) { return fileDescriptorEds, []int{9} }
func (m *ClusterLoadAssignment) GetClusterName() string {
if m != nil {
return m.ClusterName
}
return ""
}
func (m *ClusterLoadAssignment) GetEndpoints() []*LocalityLbEndpoints {
if m != nil {
return m.Endpoints
}
return nil
}
func init() {
proto.RegisterType((*Address)(nil), "istio.Address")
proto.RegisterType((*Pipe)(nil), "istio.Pipe")
proto.RegisterType((*SocketAddress)(nil), "istio.SocketAddress")
proto.RegisterType((*BindConfig)(nil), "istio.BindConfig")
proto.RegisterType((*CidrRange)(nil), "istio.CidrRange")
proto.RegisterType((*Endpoint)(nil), "istio.Endpoint")
proto.RegisterType((*LbEndpoint)(nil), "istio.LbEndpoint")
proto.RegisterType((*LocalityLbEndpoints)(nil), "istio.LocalityLbEndpoints")
proto.RegisterType((*Metadata)(nil), "istio.Metadata")
proto.RegisterType((*ClusterLoadAssignment)(nil), "istio.ClusterLoadAssignment")
proto.RegisterEnum("istio.SocketAddress_Protocol", SocketAddress_Protocol_name, SocketAddress_Protocol_value)
}
func init() { proto.RegisterFile("github.com/costinm/dmesh/dm/istio/eds.proto", fileDescriptorEds) }
var fileDescriptorEds = []byte{
// 634 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x51, 0x6f, 0x12, 0x4d,
0x14, 0x65, 0x0a, 0x6d, 0xe1, 0x52, 0x28, 0xdf, 0x94, 0x7e, 0x21, 0x7c, 0xfd, 0x62, 0x5d, 0x13,
0x25, 0x69, 0x5d, 0x22, 0xf5, 0xc1, 0x34, 0xbe, 0x14, 0x5a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