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

380 lines
16 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/admin/v3/clusters.proto
package envoy_admin_v3
import (
fmt "fmt"
_ "github.com/cncf/udpa/go/udpa/annotations"
v31 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
v3 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
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_703c0abdc0a96402, []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 *v3.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 *v3.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_703c0abdc0a96402, []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() *v3.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() *v3.Percent {
if m != nil {
return m.LocalOriginSuccessRateEjectionThreshold
}
return nil
}
type HostStatus struct {
Address *v31.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 *v3.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 *v3.Percent `protobuf:"bytes,8,opt,name=local_origin_success_rate,json=localOriginSuccessRate,proto3" json:"local_origin_success_rate,omitempty"`
Locality *v31.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_703c0abdc0a96402, []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() *v31.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() *v3.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() *v3.Percent {
if m != nil {
return m.LocalOriginSuccessRate
}
return nil
}
func (m *HostStatus) GetLocality() *v31.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 v31.HealthStatus `protobuf:"varint,3,opt,name=eds_health_status,json=edsHealthStatus,proto3,enum=envoy.config.core.v3.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_703c0abdc0a96402, []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() v31.HealthStatus {
if m != nil {
return m.EdsHealthStatus
}
return v31.HealthStatus_UNKNOWN
}
func init() {
proto.RegisterType((*Clusters)(nil), "envoy.admin.v3.Clusters")
proto.RegisterType((*ClusterStatus)(nil), "envoy.admin.v3.ClusterStatus")
proto.RegisterType((*HostStatus)(nil), "envoy.admin.v3.HostStatus")
proto.RegisterType((*HostHealthStatus)(nil), "envoy.admin.v3.HostHealthStatus")
}
func init() { proto.RegisterFile("envoy/admin/v3/clusters.proto", fileDescriptor_703c0abdc0a96402) }
var fileDescriptor_703c0abdc0a96402 = []byte{
// 785 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x4d, 0x6f, 0x23, 0x35,
0x18, 0x56, 0x3e, 0x36, 0x3b, 0xeb, 0x6c, 0xb6, 0x5d, 0x0b, 0xba, 0xb3, 0x21, 0xcd, 0x66, 0xb3,
0x40, 0x23, 0x40, 0x09, 0x4a, 0x25, 0x2a, 0xc2, 0xa1, 0xea, 0x97, 0xd4, 0x03, 0xd0, 0x32, 0x45,
0xdc, 0xd0, 0xc8, 0xf5, 0xbc, 0xcd, 0x18, 0x26, 0xe3, 0x91, 0xed, 0x04, 0x72, 0x83, 0x5b, 0x7f,
0x03, 0x57, 0xfe, 0x05, 0x77, 0x24, 0xae, 0xfc, 0x23, 0xe4, 0x8f, 0x49, 0x26, 0x69, 0x1a, 0x6e,
0xe3, 0x79, 0x9e, 0xe7, 0xf5, 0xeb, 0xe7, 0x79, 0x6d, 0xb4, 0x0f, 0xe9, 0x8c, 0xcf, 0x07, 0x24,
0x9a, 0xb0, 0x74, 0x30, 0x3b, 0x1c, 0xd0, 0x64, 0x2a, 0x15, 0x08, 0xd9, 0xcf, 0x04, 0x57, 0x1c,
0xbf, 0x30, 0x70, 0xdf, 0xc0, 0xfd, 0xd9, 0x61, 0xb3, 0xb5, 0x46, 0x9f, 0x80, 0x12, 0x8c, 0x3a,
0x76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