package envoy_data_cluster_v3

import "github.com/envoyproxy/go-control-plane/envoy/data/cluster/v3"

Index

Variables

var Action_name = map[int32]string{
	0: "EJECT",
	1: "UNEJECT",
}
var Action_value = map[string]int32{
	"EJECT":   0,
	"UNEJECT": 1,
}
var OutlierEjectionType_name = map[int32]string{
	0: "CONSECUTIVE_5XX",
	1: "CONSECUTIVE_GATEWAY_FAILURE",
	2: "SUCCESS_RATE",
	3: "CONSECUTIVE_LOCAL_ORIGIN_FAILURE",
	4: "SUCCESS_RATE_LOCAL_ORIGIN",
	5: "FAILURE_PERCENTAGE",
	6: "FAILURE_PERCENTAGE_LOCAL_ORIGIN",
}
var OutlierEjectionType_value = map[string]int32{
	"CONSECUTIVE_5XX":                  0,
	"CONSECUTIVE_GATEWAY_FAILURE":      1,
	"SUCCESS_RATE":                     2,
	"CONSECUTIVE_LOCAL_ORIGIN_FAILURE": 3,
	"SUCCESS_RATE_LOCAL_ORIGIN":        4,
	"FAILURE_PERCENTAGE":               5,
	"FAILURE_PERCENTAGE_LOCAL_ORIGIN":  6,
}

Types

type Action

type Action int32
const (
	Action_EJECT   Action = 0
	Action_UNEJECT Action = 1
)

func (Action) EnumDescriptor

func (Action) EnumDescriptor() ([]byte, []int)

func (Action) String

func (x Action) String() string

type OutlierDetectionEvent

type OutlierDetectionEvent struct {
	Type                OutlierEjectionType   `protobuf:"varint,1,opt,name=type,proto3,enum=envoy.data.cluster.v3.OutlierEjectionType" json:"type,omitempty"`
	Timestamp           *timestamp.Timestamp  `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	SecsSinceLastAction *wrappers.UInt64Value `protobuf:"bytes,3,opt,name=secs_since_last_action,json=secsSinceLastAction,proto3" json:"secs_since_last_action,omitempty"`
	ClusterName         string                `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	UpstreamUrl         string                `protobuf:"bytes,5,opt,name=upstream_url,json=upstreamUrl,proto3" json:"upstream_url,omitempty"`
	Action              Action                `protobuf:"varint,6,opt,name=action,proto3,enum=envoy.data.cluster.v3.Action" json:"action,omitempty"`
	NumEjections        uint32                `protobuf:"varint,7,opt,name=num_ejections,json=numEjections,proto3" json:"num_ejections,omitempty"`
	Enforced            bool                  `protobuf:"varint,8,opt,name=enforced,proto3" json:"enforced,omitempty"`
	// Types that are valid to be assigned to Event:
	//	*OutlierDetectionEvent_EjectSuccessRateEvent
	//	*OutlierDetectionEvent_EjectConsecutiveEvent
	//	*OutlierDetectionEvent_EjectFailurePercentageEvent
	Event                isOutlierDetectionEvent_Event `protobuf_oneof:"event"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*OutlierDetectionEvent) Descriptor

func (*OutlierDetectionEvent) Descriptor() ([]byte, []int)

func (*OutlierDetectionEvent) GetAction

func (m *OutlierDetectionEvent) GetAction() Action

func (*OutlierDetectionEvent) GetClusterName

func (m *OutlierDetectionEvent) GetClusterName() string

func (*OutlierDetectionEvent) GetEjectConsecutiveEvent

func (m *OutlierDetectionEvent) GetEjectConsecutiveEvent() *OutlierEjectConsecutive

func (*OutlierDetectionEvent) GetEjectFailurePercentageEvent

func (m *OutlierDetectionEvent) GetEjectFailurePercentageEvent() *OutlierEjectFailurePercentage

func (*OutlierDetectionEvent) GetEjectSuccessRateEvent

func (m *OutlierDetectionEvent) GetEjectSuccessRateEvent() *OutlierEjectSuccessRate

func (*OutlierDetectionEvent) GetEnforced

func (m *OutlierDetectionEvent) GetEnforced() bool

func (*OutlierDetectionEvent) GetEvent

func (m *OutlierDetectionEvent) GetEvent() isOutlierDetectionEvent_Event

func (*OutlierDetectionEvent) GetNumEjections

func (m *OutlierDetectionEvent) GetNumEjections() uint32

func (*OutlierDetectionEvent) GetSecsSinceLastAction

func (m *OutlierDetectionEvent) GetSecsSinceLastAction() *wrappers.UInt64Value

func (*OutlierDetectionEvent) GetTimestamp

func (m *OutlierDetectionEvent) GetTimestamp() *timestamp.Timestamp

func (*OutlierDetectionEvent) GetType

func (*OutlierDetectionEvent) GetUpstreamUrl

func (m *OutlierDetectionEvent) GetUpstreamUrl() string

func (*OutlierDetectionEvent) ProtoMessage

func (*OutlierDetectionEvent) ProtoMessage()

func (*OutlierDetectionEvent) Reset

func (m *OutlierDetectionEvent) Reset()

func (*OutlierDetectionEvent) String

func (m *OutlierDetectionEvent) String() string

func (*OutlierDetectionEvent) Validate

func (m *OutlierDetectionEvent) Validate() error

Validate checks the field values on OutlierDetectionEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OutlierDetectionEvent) XXX_DiscardUnknown

func (m *OutlierDetectionEvent) XXX_DiscardUnknown()

func (*OutlierDetectionEvent) XXX_Marshal

func (m *OutlierDetectionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutlierDetectionEvent) XXX_Merge

func (m *OutlierDetectionEvent) XXX_Merge(src proto.Message)

func (*OutlierDetectionEvent) XXX_OneofWrappers

func (*OutlierDetectionEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OutlierDetectionEvent) XXX_Size

func (m *OutlierDetectionEvent) XXX_Size() int

func (*OutlierDetectionEvent) XXX_Unmarshal

func (m *OutlierDetectionEvent) XXX_Unmarshal(b []byte) error

type OutlierDetectionEventValidationError

type OutlierDetectionEventValidationError struct {
	// contains filtered or unexported fields
}

OutlierDetectionEventValidationError is the validation error returned by OutlierDetectionEvent.Validate if the designated constraints aren't met.

func (OutlierDetectionEventValidationError) Cause

Cause function returns cause value.

func (OutlierDetectionEventValidationError) Error

Error satisfies the builtin error interface

func (OutlierDetectionEventValidationError) ErrorName

ErrorName returns error name.

func (OutlierDetectionEventValidationError) Field

Field function returns field value.

func (OutlierDetectionEventValidationError) Key

Key function returns key value.

func (OutlierDetectionEventValidationError) Reason

Reason function returns reason value.

type OutlierDetectionEvent_EjectConsecutiveEvent

type OutlierDetectionEvent_EjectConsecutiveEvent struct {
	EjectConsecutiveEvent *OutlierEjectConsecutive `protobuf:"bytes,10,opt,name=eject_consecutive_event,json=ejectConsecutiveEvent,proto3,oneof"`
}

type OutlierDetectionEvent_EjectFailurePercentageEvent

type OutlierDetectionEvent_EjectFailurePercentageEvent struct {
	EjectFailurePercentageEvent *OutlierEjectFailurePercentage `protobuf:"bytes,11,opt,name=eject_failure_percentage_event,json=ejectFailurePercentageEvent,proto3,oneof"`
}

type OutlierDetectionEvent_EjectSuccessRateEvent

type OutlierDetectionEvent_EjectSuccessRateEvent struct {
	EjectSuccessRateEvent *OutlierEjectSuccessRate `protobuf:"bytes,9,opt,name=eject_success_rate_event,json=ejectSuccessRateEvent,proto3,oneof"`
}

type OutlierEjectConsecutive

type OutlierEjectConsecutive struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OutlierEjectConsecutive) Descriptor

func (*OutlierEjectConsecutive) Descriptor() ([]byte, []int)

func (*OutlierEjectConsecutive) ProtoMessage

func (*OutlierEjectConsecutive) ProtoMessage()

func (*OutlierEjectConsecutive) Reset

func (m *OutlierEjectConsecutive) Reset()

func (*OutlierEjectConsecutive) String

func (m *OutlierEjectConsecutive) String() string

func (*OutlierEjectConsecutive) Validate

func (m *OutlierEjectConsecutive) Validate() error

Validate checks the field values on OutlierEjectConsecutive with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OutlierEjectConsecutive) XXX_DiscardUnknown

func (m *OutlierEjectConsecutive) XXX_DiscardUnknown()

func (*OutlierEjectConsecutive) XXX_Marshal

func (m *OutlierEjectConsecutive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutlierEjectConsecutive) XXX_Merge

func (m *OutlierEjectConsecutive) XXX_Merge(src proto.Message)

func (*OutlierEjectConsecutive) XXX_Size

func (m *OutlierEjectConsecutive) XXX_Size() int

func (*OutlierEjectConsecutive) XXX_Unmarshal

func (m *OutlierEjectConsecutive) XXX_Unmarshal(b []byte) error

type OutlierEjectConsecutiveValidationError

type OutlierEjectConsecutiveValidationError struct {
	// contains filtered or unexported fields
}

OutlierEjectConsecutiveValidationError is the validation error returned by OutlierEjectConsecutive.Validate if the designated constraints aren't met.

func (OutlierEjectConsecutiveValidationError) Cause

Cause function returns cause value.

func (OutlierEjectConsecutiveValidationError) Error

Error satisfies the builtin error interface

func (OutlierEjectConsecutiveValidationError) ErrorName

ErrorName returns error name.

func (OutlierEjectConsecutiveValidationError) Field

Field function returns field value.

func (OutlierEjectConsecutiveValidationError) Key

Key function returns key value.

func (OutlierEjectConsecutiveValidationError) Reason

Reason function returns reason value.

type OutlierEjectFailurePercentage

type OutlierEjectFailurePercentage struct {
	HostSuccessRate      uint32   `protobuf:"varint,1,opt,name=host_success_rate,json=hostSuccessRate,proto3" json:"host_success_rate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OutlierEjectFailurePercentage) Descriptor

func (*OutlierEjectFailurePercentage) Descriptor() ([]byte, []int)

func (*OutlierEjectFailurePercentage) GetHostSuccessRate

func (m *OutlierEjectFailurePercentage) GetHostSuccessRate() uint32

func (*OutlierEjectFailurePercentage) ProtoMessage

func (*OutlierEjectFailurePercentage) ProtoMessage()

func (*OutlierEjectFailurePercentage) Reset

func (m *OutlierEjectFailurePercentage) Reset()

func (*OutlierEjectFailurePercentage) String

func (*OutlierEjectFailurePercentage) Validate

func (m *OutlierEjectFailurePercentage) Validate() error

Validate checks the field values on OutlierEjectFailurePercentage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OutlierEjectFailurePercentage) XXX_DiscardUnknown

func (m *OutlierEjectFailurePercentage) XXX_DiscardUnknown()

func (*OutlierEjectFailurePercentage) XXX_Marshal

func (m *OutlierEjectFailurePercentage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutlierEjectFailurePercentage) XXX_Merge

func (m *OutlierEjectFailurePercentage) XXX_Merge(src proto.Message)

func (*OutlierEjectFailurePercentage) XXX_Size

func (m *OutlierEjectFailurePercentage) XXX_Size() int

func (*OutlierEjectFailurePercentage) XXX_Unmarshal

func (m *OutlierEjectFailurePercentage) XXX_Unmarshal(b []byte) error

type OutlierEjectFailurePercentageValidationError

type OutlierEjectFailurePercentageValidationError struct {
	// contains filtered or unexported fields
}

OutlierEjectFailurePercentageValidationError is the validation error returned by OutlierEjectFailurePercentage.Validate if the designated constraints aren't met.

func (OutlierEjectFailurePercentageValidationError) Cause

Cause function returns cause value.

func (OutlierEjectFailurePercentageValidationError) Error

Error satisfies the builtin error interface

func (OutlierEjectFailurePercentageValidationError) ErrorName

ErrorName returns error name.

func (OutlierEjectFailurePercentageValidationError) Field

Field function returns field value.

func (OutlierEjectFailurePercentageValidationError) Key

Key function returns key value.

func (OutlierEjectFailurePercentageValidationError) Reason

Reason function returns reason value.

type OutlierEjectSuccessRate

type OutlierEjectSuccessRate struct {
	HostSuccessRate                     uint32   `protobuf:"varint,1,opt,name=host_success_rate,json=hostSuccessRate,proto3" json:"host_success_rate,omitempty"`
	ClusterAverageSuccessRate           uint32   `protobuf:"varint,2,opt,name=cluster_average_success_rate,json=clusterAverageSuccessRate,proto3" json:"cluster_average_success_rate,omitempty"`
	ClusterSuccessRateEjectionThreshold uint32   `protobuf:"varint,3,opt,name=cluster_success_rate_ejection_threshold,json=clusterSuccessRateEjectionThreshold,proto3" json:"cluster_success_rate_ejection_threshold,omitempty"`
	XXX_NoUnkeyedLiteral                struct{} `json:"-"`
	XXX_unrecognized                    []byte   `json:"-"`
	XXX_sizecache                       int32    `json:"-"`
}

func (*OutlierEjectSuccessRate) Descriptor

func (*OutlierEjectSuccessRate) Descriptor() ([]byte, []int)

func (*OutlierEjectSuccessRate) GetClusterAverageSuccessRate

func (m *OutlierEjectSuccessRate) GetClusterAverageSuccessRate() uint32

func (*OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold

func (m *OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold() uint32

func (*OutlierEjectSuccessRate) GetHostSuccessRate

func (m *OutlierEjectSuccessRate) GetHostSuccessRate() uint32

func (*OutlierEjectSuccessRate) ProtoMessage

func (*OutlierEjectSuccessRate) ProtoMessage()

func (*OutlierEjectSuccessRate) Reset

func (m *OutlierEjectSuccessRate) Reset()

func (*OutlierEjectSuccessRate) String

func (m *OutlierEjectSuccessRate) String() string

func (*OutlierEjectSuccessRate) Validate

func (m *OutlierEjectSuccessRate) Validate() error

Validate checks the field values on OutlierEjectSuccessRate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OutlierEjectSuccessRate) XXX_DiscardUnknown

func (m *OutlierEjectSuccessRate) XXX_DiscardUnknown()

func (*OutlierEjectSuccessRate) XXX_Marshal

func (m *OutlierEjectSuccessRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutlierEjectSuccessRate) XXX_Merge

func (m *OutlierEjectSuccessRate) XXX_Merge(src proto.Message)

func (*OutlierEjectSuccessRate) XXX_Size

func (m *OutlierEjectSuccessRate) XXX_Size() int

func (*OutlierEjectSuccessRate) XXX_Unmarshal

func (m *OutlierEjectSuccessRate) XXX_Unmarshal(b []byte) error

type OutlierEjectSuccessRateValidationError

type OutlierEjectSuccessRateValidationError struct {
	// contains filtered or unexported fields
}

OutlierEjectSuccessRateValidationError is the validation error returned by OutlierEjectSuccessRate.Validate if the designated constraints aren't met.

func (OutlierEjectSuccessRateValidationError) Cause

Cause function returns cause value.

func (OutlierEjectSuccessRateValidationError) Error

Error satisfies the builtin error interface

func (OutlierEjectSuccessRateValidationError) ErrorName

ErrorName returns error name.

func (OutlierEjectSuccessRateValidationError) Field

Field function returns field value.

func (OutlierEjectSuccessRateValidationError) Key

Key function returns key value.

func (OutlierEjectSuccessRateValidationError) Reason

Reason function returns reason value.

type OutlierEjectionType

type OutlierEjectionType int32
const (
	OutlierEjectionType_CONSECUTIVE_5XX                  OutlierEjectionType = 0
	OutlierEjectionType_CONSECUTIVE_GATEWAY_FAILURE      OutlierEjectionType = 1
	OutlierEjectionType_SUCCESS_RATE                     OutlierEjectionType = 2
	OutlierEjectionType_CONSECUTIVE_LOCAL_ORIGIN_FAILURE OutlierEjectionType = 3
	OutlierEjectionType_SUCCESS_RATE_LOCAL_ORIGIN        OutlierEjectionType = 4
	OutlierEjectionType_FAILURE_PERCENTAGE               OutlierEjectionType = 5
	OutlierEjectionType_FAILURE_PERCENTAGE_LOCAL_ORIGIN  OutlierEjectionType = 6
)

func (OutlierEjectionType) EnumDescriptor

func (OutlierEjectionType) EnumDescriptor() ([]byte, []int)

func (OutlierEjectionType) String

func (x OutlierEjectionType) String() string

Source Files

outlier_detection_event.pb.go outlier_detection_event.pb.validate.go

Version
v0.9.5
Published
Apr 1, 2020
Platform
darwin/amd64
Imports
17 packages
Last checked
38 minutes ago

Tools for package owners.