open-consul/vendor/github.com/envoyproxy/go-control-plane/envoy/admin/v2alpha/clusters.pb.go

376 lines
15 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/admin/v2alpha/clusters.proto
package envoy_admin_v2alpha
import (
fmt "fmt"
_ "github.com/cncf/udpa/go/udpa/annotations"
core "github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
_type "github.com/envoyproxy/go-control-plane/envoy/type"
proto "github.com/golang/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.ProtoPackageIsVersion3 // please upgrade the proto package
type Clusters struct {
ClusterStatuses []*ClusterStatus `protobuf:"bytes,1,rep,name=cluster_statuses,json=clusterStatuses,proto3" json:"cluster_statuses,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Clusters) Reset() { *m = Clusters{} }
func (m *Clusters) String() string { return proto.CompactTextString(m) }
func (*Clusters) ProtoMessage() {}
func (*Clusters) Descriptor() ([]byte, []int) {
return fileDescriptor_c6251a3a957f478b, []int{0}
}
func (m *Clusters) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Clusters.Unmarshal(m, b)
}
func (m *Clusters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Clusters.Marshal(b, m, deterministic)
}
func (m *Clusters) XXX_Merge(src proto.Message) {
xxx_messageInfo_Clusters.Merge(m, src)
}
func (m *Clusters) XXX_Size() int {
return xxx_messageInfo_Clusters.Size(m)
}
func (m *Clusters) XXX_DiscardUnknown() {
xxx_messageInfo_Clusters.DiscardUnknown(m)
}
var xxx_messageInfo_Clusters proto.InternalMessageInfo
func (m *Clusters) GetClusterStatuses() []*ClusterStatus {
if m != nil {
return m.ClusterStatuses
}
return nil
}
type ClusterStatus struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
AddedViaApi bool `protobuf:"varint,2,opt,name=added_via_api,json=addedViaApi,proto3" json:"added_via_api,omitempty"`
SuccessRateEjectionThreshold *_type.Percent `protobuf:"bytes,3,opt,name=success_rate_ejection_threshold,json=successRateEjectionThreshold,proto3" json:"success_rate_ejection_threshold,omitempty"`
HostStatuses []*HostStatus `protobuf:"bytes,4,rep,name=host_statuses,json=hostStatuses,proto3" json:"host_statuses,omitempty"`
LocalOriginSuccessRateEjectionThreshold *_type.Percent `protobuf:"bytes,5,opt,name=local_origin_success_rate_ejection_threshold,json=localOriginSuccessRateEjectionThreshold,proto3" json:"local_origin_success_rate_ejection_threshold,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ClusterStatus) Reset() { *m = ClusterStatus{} }
func (m *ClusterStatus) String() string { return proto.CompactTextString(m) }
func (*ClusterStatus) ProtoMessage() {}
func (*ClusterStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_c6251a3a957f478b, []int{1}
}
func (m *ClusterStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClusterStatus.Unmarshal(m, b)
}
func (m *ClusterStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClusterStatus.Marshal(b, m, deterministic)
}
func (m *ClusterStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClusterStatus.Merge(m, src)
}
func (m *ClusterStatus) XXX_Size() int {
return xxx_messageInfo_ClusterStatus.Size(m)
}
func (m *ClusterStatus) XXX_DiscardUnknown() {
xxx_messageInfo_ClusterStatus.DiscardUnknown(m)
}
var xxx_messageInfo_ClusterStatus proto.InternalMessageInfo
func (m *ClusterStatus) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ClusterStatus) GetAddedViaApi() bool {
if m != nil {
return m.AddedViaApi
}
return false
}
func (m *ClusterStatus) GetSuccessRateEjectionThreshold() *_type.Percent {
if m != nil {
return m.SuccessRateEjectionThreshold
}
return nil
}
func (m *ClusterStatus) GetHostStatuses() []*HostStatus {
if m != nil {
return m.HostStatuses
}
return nil
}
func (m *ClusterStatus) GetLocalOriginSuccessRateEjectionThreshold() *_type.Percent {
if m != nil {
return m.LocalOriginSuccessRateEjectionThreshold
}
return nil
}
type HostStatus struct {
Address *core.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Stats []*SimpleMetric `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
HealthStatus *HostHealthStatus `protobuf:"bytes,3,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`
SuccessRate *_type.Percent `protobuf:"bytes,4,opt,name=success_rate,json=successRate,proto3" json:"success_rate,omitempty"`
Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
Priority uint32 `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"`
LocalOriginSuccessRate *_type.Percent `protobuf:"bytes,8,opt,name=local_origin_success_rate,json=localOriginSuccessRate,proto3" json:"local_origin_success_rate,omitempty"`
Locality *core.Locality `protobuf:"bytes,9,opt,name=locality,proto3" json:"locality,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HostStatus) Reset() { *m = HostStatus{} }
func (m *HostStatus) String() string { return proto.CompactTextString(m) }
func (*HostStatus) ProtoMessage() {}
func (*HostStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_c6251a3a957f478b, []int{2}
}
func (m *HostStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HostStatus.Unmarshal(m, b)
}
func (m *HostStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HostStatus.Marshal(b, m, deterministic)
}
func (m *HostStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_HostStatus.Merge(m, src)
}
func (m *HostStatus) XXX_Size() int {
return xxx_messageInfo_HostStatus.Size(m)
}
func (m *HostStatus) XXX_DiscardUnknown() {
xxx_messageInfo_HostStatus.DiscardUnknown(m)
}
var xxx_messageInfo_HostStatus proto.InternalMessageInfo
func (m *HostStatus) GetAddress() *core.Address {
if m != nil {
return m.Address
}
return nil
}
func (m *HostStatus) GetStats() []*SimpleMetric {
if m != nil {
return m.Stats
}
return nil
}
func (m *HostStatus) GetHealthStatus() *HostHealthStatus {
if m != nil {
return m.HealthStatus
}
return nil
}
func (m *HostStatus) GetSuccessRate() *_type.Percent {
if m != nil {
return m.SuccessRate
}
return nil
}
func (m *HostStatus) GetWeight() uint32 {
if m != nil {
return m.Weight
}
return 0
}
func (m *HostStatus) GetHostname() string {
if m != nil {
return m.Hostname
}
return ""
}
func (m *HostStatus) GetPriority() uint32 {
if m != nil {
return m.Priority
}
return 0
}
func (m *HostStatus) GetLocalOriginSuccessRate() *_type.Percent {
if m != nil {
return m.LocalOriginSuccessRate
}
return nil
}
func (m *HostStatus) GetLocality() *core.Locality {
if m != nil {
return m.Locality
}
return nil
}
type HostHealthStatus struct {
FailedActiveHealthCheck bool `protobuf:"varint,1,opt,name=failed_active_health_check,json=failedActiveHealthCheck,proto3" json:"failed_active_health_check,omitempty"`
FailedOutlierCheck bool `protobuf:"varint,2,opt,name=failed_outlier_check,json=failedOutlierCheck,proto3" json:"failed_outlier_check,omitempty"`
FailedActiveDegradedCheck bool `protobuf:"varint,4,opt,name=failed_active_degraded_check,json=failedActiveDegradedCheck,proto3" json:"failed_active_degraded_check,omitempty"`
PendingDynamicRemoval bool `protobuf:"varint,5,opt,name=pending_dynamic_removal,json=pendingDynamicRemoval,proto3" json:"pending_dynamic_removal,omitempty"`
PendingActiveHc bool `protobuf:"varint,6,opt,name=pending_active_hc,json=pendingActiveHc,proto3" json:"pending_active_hc,omitempty"`
EdsHealthStatus core.HealthStatus `protobuf:"varint,3,opt,name=eds_health_status,json=edsHealthStatus,proto3,enum=envoy.api.v2.core.HealthStatus" json:"eds_health_status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HostHealthStatus) Reset() { *m = HostHealthStatus{} }
func (m *HostHealthStatus) String() string { return proto.CompactTextString(m) }
func (*HostHealthStatus) ProtoMessage() {}
func (*HostHealthStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_c6251a3a957f478b, []int{3}
}
func (m *HostHealthStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HostHealthStatus.Unmarshal(m, b)
}
func (m *HostHealthStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_HostHealthStatus.Marshal(b, m, deterministic)
}
func (m *HostHealthStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_HostHealthStatus.Merge(m, src)
}
func (m *HostHealthStatus) XXX_Size() int {
return xxx_messageInfo_HostHealthStatus.Size(m)
}
func (m *HostHealthStatus) XXX_DiscardUnknown() {
xxx_messageInfo_HostHealthStatus.DiscardUnknown(m)
}
var xxx_messageInfo_HostHealthStatus proto.InternalMessageInfo
func (m *HostHealthStatus) GetFailedActiveHealthCheck() bool {
if m != nil {
return m.FailedActiveHealthCheck
}
return false
}
func (m *HostHealthStatus) GetFailedOutlierCheck() bool {
if m != nil {
return m.FailedOutlierCheck
}
return false
}
func (m *HostHealthStatus) GetFailedActiveDegradedCheck() bool {
if m != nil {
return m.FailedActiveDegradedCheck
}
return false
}
func (m *HostHealthStatus) GetPendingDynamicRemoval() bool {
if m != nil {
return m.PendingDynamicRemoval
}
return false
}
func (m *HostHealthStatus) GetPendingActiveHc() bool {
if m != nil {
return m.PendingActiveHc
}
return false
}
func (m *HostHealthStatus) GetEdsHealthStatus() core.HealthStatus {
if m != nil {
return m.EdsHealthStatus
}
return core.HealthStatus_UNKNOWN
}
func init() {
proto.RegisterType((*Clusters)(nil), "envoy.admin.v2alpha.Clusters")
proto.RegisterType((*ClusterStatus)(nil), "envoy.admin.v2alpha.ClusterStatus")
proto.RegisterType((*HostStatus)(nil), "envoy.admin.v2alpha.HostStatus")
proto.RegisterType((*HostHealthStatus)(nil), "envoy.admin.v2alpha.HostHealthStatus")
}
func init() { proto.RegisterFile("envoy/admin/v2alpha/clusters.proto", fileDescriptor_c6251a3a957f478b) }
var fileDescriptor_c6251a3a957f478b = []byte{
// 721 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xdf, 0x6e, 0xd3, 0x3e,
0x18, 0x55, 0xbb, 0xae, 0xcb, 0xdc, 0xf5, 0xb7, 0xcd, 0xfb, 0xb1, 0x65, 0x65, 0x68, 0x5d, 0x05,
0xa2, 0x42, 0x28, 0x41, 0x05, 0x6d, 0x17, 0x20, 0xa1, 0xfd, 0x41, 0x9a, 0x80, 0xb1, 0x29, 0x43,
0x48, 0x70, 0x13, 0x79, 0xce, 0x47, 0x63, 0x48, 0xe3, 0xc8, 0x76, 0x0b, 0xbd, 0xe3, 0xb9, 0x78,
0x02, 0x6e, 0xb9, 0xe3, 0x86, 0xa7, 0xe0, 0x05, 0x50, 0x6c, 0xb7, 0xcb, 0x58, 0x0a, 0x77, 0x71,
0xce, 0x39, 0xf6, 0x77, 0xce, 0xf7, 0xd9, 0xa8, 0x03, 0xe9, 0x88, 0x8f, 0x7d, 0x12, 0x0d, 0x58,
0xea, 0x8f, 0x7a, 0x24, 0xc9, 0x62, 0xe2, 0xd3, 0x64, 0x28, 0x15, 0x08, 0xe9, 0x65, 0x82, 0x2b,
0x8e, 0xd7, 0x34, 0xc7, 0xd3, 0x1c, 0xcf, 0x72, 0x5a, 0x3b, 0x65, 0xc2, 0x01, 0x28, 0xc1, 0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