Documentation ¶
Index ¶
- Variables
- type CircuitBreakerStrategy
- func (*CircuitBreakerStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *CircuitBreakerStrategy) GetErrorCondition() *CircuitBreakerStrategy_CircuitBreakerErrorCondition
- func (x *CircuitBreakerStrategy) GetMinRequestAmount() int32
- func (x *CircuitBreakerStrategy) GetName() string
- func (x *CircuitBreakerStrategy) GetRecoveryTimeout() int32
- func (x *CircuitBreakerStrategy) GetRecoveryTimeoutTimeUnit() v1.TimeUnit
- func (x *CircuitBreakerStrategy) GetSlowCondition() *CircuitBreakerStrategy_CircuitBreakerSlowCondition
- func (x *CircuitBreakerStrategy) GetStatDuration() int64
- func (x *CircuitBreakerStrategy) GetStatDurationTimeUnit() v1.TimeUnit
- func (x *CircuitBreakerStrategy) GetStrategy() CircuitBreakerStrategy_Strategy
- func (x *CircuitBreakerStrategy) GetTriggerRatio() float64
- func (*CircuitBreakerStrategy) ProtoMessage()
- func (x *CircuitBreakerStrategy) ProtoReflect() protoreflect.Message
- func (x *CircuitBreakerStrategy) Reset()
- func (x *CircuitBreakerStrategy) String() string
- type CircuitBreakerStrategy_CircuitBreakerErrorCondition
- func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) Descriptor() ([]byte, []int)deprecated
- func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) ProtoMessage()
- func (x *CircuitBreakerStrategy_CircuitBreakerErrorCondition) ProtoReflect() protoreflect.Message
- func (x *CircuitBreakerStrategy_CircuitBreakerErrorCondition) Reset()
- func (x *CircuitBreakerStrategy_CircuitBreakerErrorCondition) String() string
- type CircuitBreakerStrategy_CircuitBreakerSlowCondition
- func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) Descriptor() ([]byte, []int)deprecated
- func (x *CircuitBreakerStrategy_CircuitBreakerSlowCondition) GetMaxAllowedRtMillis() int32
- func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) ProtoMessage()
- func (x *CircuitBreakerStrategy_CircuitBreakerSlowCondition) ProtoReflect() protoreflect.Message
- func (x *CircuitBreakerStrategy_CircuitBreakerSlowCondition) Reset()
- func (x *CircuitBreakerStrategy_CircuitBreakerSlowCondition) String() string
- type CircuitBreakerStrategy_Strategy
- func (CircuitBreakerStrategy_Strategy) Descriptor() protoreflect.EnumDescriptor
- func (x CircuitBreakerStrategy_Strategy) Enum() *CircuitBreakerStrategy_Strategy
- func (CircuitBreakerStrategy_Strategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x CircuitBreakerStrategy_Strategy) Number() protoreflect.EnumNumber
- func (x CircuitBreakerStrategy_Strategy) String() string
- func (CircuitBreakerStrategy_Strategy) Type() protoreflect.EnumType
- type ConcurrencyLimitStrategy
- func (*ConcurrencyLimitStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *ConcurrencyLimitStrategy) GetLimitMode() ConcurrencyLimitStrategy_LimitMode
- func (x *ConcurrencyLimitStrategy) GetMaxConcurrency() int64
- func (x *ConcurrencyLimitStrategy) GetName() string
- func (*ConcurrencyLimitStrategy) ProtoMessage()
- func (x *ConcurrencyLimitStrategy) ProtoReflect() protoreflect.Message
- func (x *ConcurrencyLimitStrategy) Reset()
- func (x *ConcurrencyLimitStrategy) String() string
- type ConcurrencyLimitStrategy_LimitMode
- func (ConcurrencyLimitStrategy_LimitMode) Descriptor() protoreflect.EnumDescriptor
- func (x ConcurrencyLimitStrategy_LimitMode) Enum() *ConcurrencyLimitStrategy_LimitMode
- func (ConcurrencyLimitStrategy_LimitMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConcurrencyLimitStrategy_LimitMode) Number() protoreflect.EnumNumber
- func (x ConcurrencyLimitStrategy_LimitMode) String() string
- func (ConcurrencyLimitStrategy_LimitMode) Type() protoreflect.EnumType
- type FaultToleranceRule
- func (*FaultToleranceRule) Descriptor() ([]byte, []int)deprecated
- func (x *FaultToleranceRule) GetAction() *FaultToleranceRule_FaultToleranceActionRef
- func (x *FaultToleranceRule) GetStrategies() []*FaultToleranceRule_FaultToleranceStrategyRef
- func (x *FaultToleranceRule) GetTargets() []*FaultToleranceRule_FaultToleranceRuleTargetRef
- func (*FaultToleranceRule) ProtoMessage()
- func (x *FaultToleranceRule) ProtoReflect() protoreflect.Message
- func (x *FaultToleranceRule) Reset()
- func (x *FaultToleranceRule) String() string
- type FaultToleranceRule_FaultToleranceActionRef
- func (*FaultToleranceRule_FaultToleranceActionRef) Descriptor() ([]byte, []int)deprecated
- func (x *FaultToleranceRule_FaultToleranceActionRef) GetKind() string
- func (x *FaultToleranceRule_FaultToleranceActionRef) GetName() string
- func (*FaultToleranceRule_FaultToleranceActionRef) ProtoMessage()
- func (x *FaultToleranceRule_FaultToleranceActionRef) ProtoReflect() protoreflect.Message
- func (x *FaultToleranceRule_FaultToleranceActionRef) Reset()
- func (x *FaultToleranceRule_FaultToleranceActionRef) String() string
- type FaultToleranceRule_FaultToleranceRuleTargetRef
- func (*FaultToleranceRule_FaultToleranceRuleTargetRef) Descriptor() ([]byte, []int)deprecated
- func (x *FaultToleranceRule_FaultToleranceRuleTargetRef) GetTargetResourceName() string
- func (*FaultToleranceRule_FaultToleranceRuleTargetRef) ProtoMessage()
- func (x *FaultToleranceRule_FaultToleranceRuleTargetRef) ProtoReflect() protoreflect.Message
- func (x *FaultToleranceRule_FaultToleranceRuleTargetRef) Reset()
- func (x *FaultToleranceRule_FaultToleranceRuleTargetRef) String() string
- type FaultToleranceRule_FaultToleranceStrategyRef
- func (*FaultToleranceRule_FaultToleranceStrategyRef) Descriptor() ([]byte, []int)deprecated
- func (x *FaultToleranceRule_FaultToleranceStrategyRef) GetKind() string
- func (x *FaultToleranceRule_FaultToleranceStrategyRef) GetName() string
- func (*FaultToleranceRule_FaultToleranceStrategyRef) ProtoMessage()
- func (x *FaultToleranceRule_FaultToleranceStrategyRef) ProtoReflect() protoreflect.Message
- func (x *FaultToleranceRule_FaultToleranceStrategyRef) Reset()
- func (x *FaultToleranceRule_FaultToleranceStrategyRef) String() string
- type RateLimitStrategy
- func (*RateLimitStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimitStrategy) GetLimitMode() RateLimitStrategy_LimitMode
- func (x *RateLimitStrategy) GetMetricType() RateLimitStrategy_MetricType
- func (x *RateLimitStrategy) GetName() string
- func (x *RateLimitStrategy) GetStatDuration() int32
- func (x *RateLimitStrategy) GetStatDurationTimeUnit() v1.TimeUnit
- func (x *RateLimitStrategy) GetThreshold() int64
- func (*RateLimitStrategy) ProtoMessage()
- func (x *RateLimitStrategy) ProtoReflect() protoreflect.Message
- func (x *RateLimitStrategy) Reset()
- func (x *RateLimitStrategy) String() string
- type RateLimitStrategy_LimitMode
- func (RateLimitStrategy_LimitMode) Descriptor() protoreflect.EnumDescriptor
- func (x RateLimitStrategy_LimitMode) Enum() *RateLimitStrategy_LimitMode
- func (RateLimitStrategy_LimitMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x RateLimitStrategy_LimitMode) Number() protoreflect.EnumNumber
- func (x RateLimitStrategy_LimitMode) String() string
- func (RateLimitStrategy_LimitMode) Type() protoreflect.EnumType
- type RateLimitStrategy_MetricType
- func (RateLimitStrategy_MetricType) Descriptor() protoreflect.EnumDescriptor
- func (x RateLimitStrategy_MetricType) Enum() *RateLimitStrategy_MetricType
- func (RateLimitStrategy_MetricType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RateLimitStrategy_MetricType) Number() protoreflect.EnumNumber
- func (x RateLimitStrategy_MetricType) String() string
- func (RateLimitStrategy_MetricType) Type() protoreflect.EnumType
- type ThrottlingStrategy
- func (*ThrottlingStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *ThrottlingStrategy) GetMinIntervalMillisOfRequests() int64
- func (x *ThrottlingStrategy) GetName() string
- func (x *ThrottlingStrategy) GetQueueTimeoutMillis() int64
- func (*ThrottlingStrategy) ProtoMessage()
- func (x *ThrottlingStrategy) ProtoReflect() protoreflect.Message
- func (x *ThrottlingStrategy) Reset()
- func (x *ThrottlingStrategy) String() string
Constants ¶
This section is empty.
Variables ¶
var ( RateLimitStrategy_MetricType_name = map[int32]string{ 0: "TYPE_UNKNOWN", 1: "TYPE_REQUEST_AMOUNT", } RateLimitStrategy_MetricType_value = map[string]int32{ "TYPE_UNKNOWN": 0, "TYPE_REQUEST_AMOUNT": 1, } )
Enum value maps for RateLimitStrategy_MetricType.
var ( RateLimitStrategy_LimitMode_name = map[int32]string{ 0: "MODE_UNKNOWN", 1: "MODE_LOCAL", 2: "MODE_GLOBAL", } RateLimitStrategy_LimitMode_value = map[string]int32{ "MODE_UNKNOWN": 0, "MODE_LOCAL": 1, "MODE_GLOBAL": 2, } )
Enum value maps for RateLimitStrategy_LimitMode.
var ( ConcurrencyLimitStrategy_LimitMode_name = map[int32]string{ 0: "MODE_UNKNOWN", 1: "MODE_LOCAL", 2: "MODE_GLOBAL", } ConcurrencyLimitStrategy_LimitMode_value = map[string]int32{ "MODE_UNKNOWN": 0, "MODE_LOCAL": 1, "MODE_GLOBAL": 2, } )
Enum value maps for ConcurrencyLimitStrategy_LimitMode.
var ( CircuitBreakerStrategy_Strategy_name = map[int32]string{ 0: "STRATEGY_UNKNOWN", 1: "STRATEGY_SLOW_REQUEST_RATIO", 2: "STRATEGY_ERROR_REQUEST_RATIO", } CircuitBreakerStrategy_Strategy_value = map[string]int32{ "STRATEGY_UNKNOWN": 0, "STRATEGY_SLOW_REQUEST_RATIO": 1, "STRATEGY_ERROR_REQUEST_RATIO": 2, } )
Enum value maps for CircuitBreakerStrategy_Strategy.
var File_fault_tolerance_v1_fault_tolerance_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CircuitBreakerStrategy ¶
type CircuitBreakerStrategy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Strategy CircuitBreakerStrategy_Strategy `` /* 145-byte string literal not displayed */ TriggerRatio float64 `protobuf:"fixed64,3,opt,name=trigger_ratio,json=triggerRatio,proto3" json:"trigger_ratio,omitempty"` StatDuration int64 `protobuf:"varint,4,opt,name=stat_duration,json=statDuration,proto3" json:"stat_duration,omitempty"` StatDurationTimeUnit v1.TimeUnit `` /* 169-byte string literal not displayed */ RecoveryTimeout int32 `protobuf:"varint,6,opt,name=recovery_timeout,json=recoveryTimeout,proto3" json:"recovery_timeout,omitempty"` RecoveryTimeoutTimeUnit v1.TimeUnit `` /* 178-byte string literal not displayed */ MinRequestAmount int32 `protobuf:"varint,8,opt,name=min_request_amount,json=minRequestAmount,proto3" json:"min_request_amount,omitempty"` SlowCondition *CircuitBreakerStrategy_CircuitBreakerSlowCondition `protobuf:"bytes,9,opt,name=slow_condition,json=slowCondition,proto3" json:"slow_condition,omitempty"` ErrorCondition *CircuitBreakerStrategy_CircuitBreakerErrorCondition `protobuf:"bytes,10,opt,name=error_condition,json=errorCondition,proto3" json:"error_condition,omitempty"` // contains filtered or unexported fields }
CircuitBreakerStrategy
func (*CircuitBreakerStrategy) Descriptor
deprecated
func (*CircuitBreakerStrategy) Descriptor() ([]byte, []int)
Deprecated: Use CircuitBreakerStrategy.ProtoReflect.Descriptor instead.
func (*CircuitBreakerStrategy) GetErrorCondition ¶
func (x *CircuitBreakerStrategy) GetErrorCondition() *CircuitBreakerStrategy_CircuitBreakerErrorCondition
func (*CircuitBreakerStrategy) GetMinRequestAmount ¶
func (x *CircuitBreakerStrategy) GetMinRequestAmount() int32
func (*CircuitBreakerStrategy) GetName ¶
func (x *CircuitBreakerStrategy) GetName() string
func (*CircuitBreakerStrategy) GetRecoveryTimeout ¶
func (x *CircuitBreakerStrategy) GetRecoveryTimeout() int32
func (*CircuitBreakerStrategy) GetRecoveryTimeoutTimeUnit ¶
func (x *CircuitBreakerStrategy) GetRecoveryTimeoutTimeUnit() v1.TimeUnit
func (*CircuitBreakerStrategy) GetSlowCondition ¶
func (x *CircuitBreakerStrategy) GetSlowCondition() *CircuitBreakerStrategy_CircuitBreakerSlowCondition
func (*CircuitBreakerStrategy) GetStatDuration ¶
func (x *CircuitBreakerStrategy) GetStatDuration() int64
func (*CircuitBreakerStrategy) GetStatDurationTimeUnit ¶
func (x *CircuitBreakerStrategy) GetStatDurationTimeUnit() v1.TimeUnit
func (*CircuitBreakerStrategy) GetStrategy ¶
func (x *CircuitBreakerStrategy) GetStrategy() CircuitBreakerStrategy_Strategy
func (*CircuitBreakerStrategy) GetTriggerRatio ¶
func (x *CircuitBreakerStrategy) GetTriggerRatio() float64
func (*CircuitBreakerStrategy) ProtoMessage ¶
func (*CircuitBreakerStrategy) ProtoMessage()
func (*CircuitBreakerStrategy) ProtoReflect ¶
func (x *CircuitBreakerStrategy) ProtoReflect() protoreflect.Message
func (*CircuitBreakerStrategy) Reset ¶
func (x *CircuitBreakerStrategy) Reset()
func (*CircuitBreakerStrategy) String ¶
func (x *CircuitBreakerStrategy) String() string
type CircuitBreakerStrategy_CircuitBreakerErrorCondition ¶
type CircuitBreakerStrategy_CircuitBreakerErrorCondition struct {
// contains filtered or unexported fields
}
func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) Descriptor
deprecated
func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) Descriptor() ([]byte, []int)
Deprecated: Use CircuitBreakerStrategy_CircuitBreakerErrorCondition.ProtoReflect.Descriptor instead.
func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) ProtoMessage ¶
func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) ProtoMessage()
func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) ProtoReflect ¶
func (x *CircuitBreakerStrategy_CircuitBreakerErrorCondition) ProtoReflect() protoreflect.Message
func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) Reset ¶
func (x *CircuitBreakerStrategy_CircuitBreakerErrorCondition) Reset()
func (*CircuitBreakerStrategy_CircuitBreakerErrorCondition) String ¶
func (x *CircuitBreakerStrategy_CircuitBreakerErrorCondition) String() string
type CircuitBreakerStrategy_CircuitBreakerSlowCondition ¶
type CircuitBreakerStrategy_CircuitBreakerSlowCondition struct { MaxAllowedRtMillis int32 `protobuf:"varint,1,opt,name=max_allowed_rt_millis,json=maxAllowedRtMillis,proto3" json:"max_allowed_rt_millis,omitempty"` // contains filtered or unexported fields }
func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) Descriptor
deprecated
func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) Descriptor() ([]byte, []int)
Deprecated: Use CircuitBreakerStrategy_CircuitBreakerSlowCondition.ProtoReflect.Descriptor instead.
func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) GetMaxAllowedRtMillis ¶
func (x *CircuitBreakerStrategy_CircuitBreakerSlowCondition) GetMaxAllowedRtMillis() int32
func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) ProtoMessage ¶
func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) ProtoMessage()
func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) ProtoReflect ¶
func (x *CircuitBreakerStrategy_CircuitBreakerSlowCondition) ProtoReflect() protoreflect.Message
func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) Reset ¶
func (x *CircuitBreakerStrategy_CircuitBreakerSlowCondition) Reset()
func (*CircuitBreakerStrategy_CircuitBreakerSlowCondition) String ¶
func (x *CircuitBreakerStrategy_CircuitBreakerSlowCondition) String() string
type CircuitBreakerStrategy_Strategy ¶
type CircuitBreakerStrategy_Strategy int32
const ( CircuitBreakerStrategy_STRATEGY_UNKNOWN CircuitBreakerStrategy_Strategy = 0 CircuitBreakerStrategy_STRATEGY_SLOW_REQUEST_RATIO CircuitBreakerStrategy_Strategy = 1 CircuitBreakerStrategy_STRATEGY_ERROR_REQUEST_RATIO CircuitBreakerStrategy_Strategy = 2 )
func (CircuitBreakerStrategy_Strategy) Descriptor ¶
func (CircuitBreakerStrategy_Strategy) Descriptor() protoreflect.EnumDescriptor
func (CircuitBreakerStrategy_Strategy) Enum ¶
func (x CircuitBreakerStrategy_Strategy) Enum() *CircuitBreakerStrategy_Strategy
func (CircuitBreakerStrategy_Strategy) EnumDescriptor
deprecated
func (CircuitBreakerStrategy_Strategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use CircuitBreakerStrategy_Strategy.Descriptor instead.
func (CircuitBreakerStrategy_Strategy) Number ¶
func (x CircuitBreakerStrategy_Strategy) Number() protoreflect.EnumNumber
func (CircuitBreakerStrategy_Strategy) String ¶
func (x CircuitBreakerStrategy_Strategy) String() string
func (CircuitBreakerStrategy_Strategy) Type ¶
func (CircuitBreakerStrategy_Strategy) Type() protoreflect.EnumType
type ConcurrencyLimitStrategy ¶
type ConcurrencyLimitStrategy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` LimitMode ConcurrencyLimitStrategy_LimitMode `` /* 167-byte string literal not displayed */ MaxConcurrency int64 `protobuf:"varint,3,opt,name=max_concurrency,json=maxConcurrency,proto3" json:"max_concurrency,omitempty"` // contains filtered or unexported fields }
ConcurrencyLimitStrategy
func (*ConcurrencyLimitStrategy) Descriptor
deprecated
func (*ConcurrencyLimitStrategy) Descriptor() ([]byte, []int)
Deprecated: Use ConcurrencyLimitStrategy.ProtoReflect.Descriptor instead.
func (*ConcurrencyLimitStrategy) GetLimitMode ¶
func (x *ConcurrencyLimitStrategy) GetLimitMode() ConcurrencyLimitStrategy_LimitMode
func (*ConcurrencyLimitStrategy) GetMaxConcurrency ¶
func (x *ConcurrencyLimitStrategy) GetMaxConcurrency() int64
func (*ConcurrencyLimitStrategy) GetName ¶
func (x *ConcurrencyLimitStrategy) GetName() string
func (*ConcurrencyLimitStrategy) ProtoMessage ¶
func (*ConcurrencyLimitStrategy) ProtoMessage()
func (*ConcurrencyLimitStrategy) ProtoReflect ¶
func (x *ConcurrencyLimitStrategy) ProtoReflect() protoreflect.Message
func (*ConcurrencyLimitStrategy) Reset ¶
func (x *ConcurrencyLimitStrategy) Reset()
func (*ConcurrencyLimitStrategy) String ¶
func (x *ConcurrencyLimitStrategy) String() string
type ConcurrencyLimitStrategy_LimitMode ¶
type ConcurrencyLimitStrategy_LimitMode int32
const ( ConcurrencyLimitStrategy_MODE_UNKNOWN ConcurrencyLimitStrategy_LimitMode = 0 ConcurrencyLimitStrategy_MODE_LOCAL ConcurrencyLimitStrategy_LimitMode = 1 ConcurrencyLimitStrategy_MODE_GLOBAL ConcurrencyLimitStrategy_LimitMode = 2 )
func (ConcurrencyLimitStrategy_LimitMode) Descriptor ¶
func (ConcurrencyLimitStrategy_LimitMode) Descriptor() protoreflect.EnumDescriptor
func (ConcurrencyLimitStrategy_LimitMode) Enum ¶
func (x ConcurrencyLimitStrategy_LimitMode) Enum() *ConcurrencyLimitStrategy_LimitMode
func (ConcurrencyLimitStrategy_LimitMode) EnumDescriptor
deprecated
func (ConcurrencyLimitStrategy_LimitMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConcurrencyLimitStrategy_LimitMode.Descriptor instead.
func (ConcurrencyLimitStrategy_LimitMode) Number ¶
func (x ConcurrencyLimitStrategy_LimitMode) Number() protoreflect.EnumNumber
func (ConcurrencyLimitStrategy_LimitMode) String ¶
func (x ConcurrencyLimitStrategy_LimitMode) String() string
func (ConcurrencyLimitStrategy_LimitMode) Type ¶
func (ConcurrencyLimitStrategy_LimitMode) Type() protoreflect.EnumType
type FaultToleranceRule ¶
type FaultToleranceRule struct { Targets []*FaultToleranceRule_FaultToleranceRuleTargetRef `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"` Strategies []*FaultToleranceRule_FaultToleranceStrategyRef `protobuf:"bytes,2,rep,name=strategies,proto3" json:"strategies,omitempty"` Action *FaultToleranceRule_FaultToleranceActionRef `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
FaultToleranceRule
func (*FaultToleranceRule) Descriptor
deprecated
func (*FaultToleranceRule) Descriptor() ([]byte, []int)
Deprecated: Use FaultToleranceRule.ProtoReflect.Descriptor instead.
func (*FaultToleranceRule) GetAction ¶
func (x *FaultToleranceRule) GetAction() *FaultToleranceRule_FaultToleranceActionRef
func (*FaultToleranceRule) GetStrategies ¶
func (x *FaultToleranceRule) GetStrategies() []*FaultToleranceRule_FaultToleranceStrategyRef
func (*FaultToleranceRule) GetTargets ¶
func (x *FaultToleranceRule) GetTargets() []*FaultToleranceRule_FaultToleranceRuleTargetRef
func (*FaultToleranceRule) ProtoMessage ¶
func (*FaultToleranceRule) ProtoMessage()
func (*FaultToleranceRule) ProtoReflect ¶
func (x *FaultToleranceRule) ProtoReflect() protoreflect.Message
func (*FaultToleranceRule) Reset ¶
func (x *FaultToleranceRule) Reset()
func (*FaultToleranceRule) String ¶
func (x *FaultToleranceRule) String() string
type FaultToleranceRule_FaultToleranceActionRef ¶
type FaultToleranceRule_FaultToleranceActionRef struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*FaultToleranceRule_FaultToleranceActionRef) Descriptor
deprecated
func (*FaultToleranceRule_FaultToleranceActionRef) Descriptor() ([]byte, []int)
Deprecated: Use FaultToleranceRule_FaultToleranceActionRef.ProtoReflect.Descriptor instead.
func (*FaultToleranceRule_FaultToleranceActionRef) GetKind ¶
func (x *FaultToleranceRule_FaultToleranceActionRef) GetKind() string
func (*FaultToleranceRule_FaultToleranceActionRef) GetName ¶
func (x *FaultToleranceRule_FaultToleranceActionRef) GetName() string
func (*FaultToleranceRule_FaultToleranceActionRef) ProtoMessage ¶
func (*FaultToleranceRule_FaultToleranceActionRef) ProtoMessage()
func (*FaultToleranceRule_FaultToleranceActionRef) ProtoReflect ¶
func (x *FaultToleranceRule_FaultToleranceActionRef) ProtoReflect() protoreflect.Message
func (*FaultToleranceRule_FaultToleranceActionRef) Reset ¶
func (x *FaultToleranceRule_FaultToleranceActionRef) Reset()
func (*FaultToleranceRule_FaultToleranceActionRef) String ¶
func (x *FaultToleranceRule_FaultToleranceActionRef) String() string
type FaultToleranceRule_FaultToleranceRuleTargetRef ¶
type FaultToleranceRule_FaultToleranceRuleTargetRef struct { TargetResourceName string `protobuf:"bytes,1,opt,name=target_resource_name,json=targetResourceName,proto3" json:"target_resource_name,omitempty"` // contains filtered or unexported fields }
func (*FaultToleranceRule_FaultToleranceRuleTargetRef) Descriptor
deprecated
func (*FaultToleranceRule_FaultToleranceRuleTargetRef) Descriptor() ([]byte, []int)
Deprecated: Use FaultToleranceRule_FaultToleranceRuleTargetRef.ProtoReflect.Descriptor instead.
func (*FaultToleranceRule_FaultToleranceRuleTargetRef) GetTargetResourceName ¶
func (x *FaultToleranceRule_FaultToleranceRuleTargetRef) GetTargetResourceName() string
func (*FaultToleranceRule_FaultToleranceRuleTargetRef) ProtoMessage ¶
func (*FaultToleranceRule_FaultToleranceRuleTargetRef) ProtoMessage()
func (*FaultToleranceRule_FaultToleranceRuleTargetRef) ProtoReflect ¶
func (x *FaultToleranceRule_FaultToleranceRuleTargetRef) ProtoReflect() protoreflect.Message
func (*FaultToleranceRule_FaultToleranceRuleTargetRef) Reset ¶
func (x *FaultToleranceRule_FaultToleranceRuleTargetRef) Reset()
func (*FaultToleranceRule_FaultToleranceRuleTargetRef) String ¶
func (x *FaultToleranceRule_FaultToleranceRuleTargetRef) String() string
type FaultToleranceRule_FaultToleranceStrategyRef ¶
type FaultToleranceRule_FaultToleranceStrategyRef struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*FaultToleranceRule_FaultToleranceStrategyRef) Descriptor
deprecated
func (*FaultToleranceRule_FaultToleranceStrategyRef) Descriptor() ([]byte, []int)
Deprecated: Use FaultToleranceRule_FaultToleranceStrategyRef.ProtoReflect.Descriptor instead.
func (*FaultToleranceRule_FaultToleranceStrategyRef) GetKind ¶
func (x *FaultToleranceRule_FaultToleranceStrategyRef) GetKind() string
func (*FaultToleranceRule_FaultToleranceStrategyRef) GetName ¶
func (x *FaultToleranceRule_FaultToleranceStrategyRef) GetName() string
func (*FaultToleranceRule_FaultToleranceStrategyRef) ProtoMessage ¶
func (*FaultToleranceRule_FaultToleranceStrategyRef) ProtoMessage()
func (*FaultToleranceRule_FaultToleranceStrategyRef) ProtoReflect ¶
func (x *FaultToleranceRule_FaultToleranceStrategyRef) ProtoReflect() protoreflect.Message
func (*FaultToleranceRule_FaultToleranceStrategyRef) Reset ¶
func (x *FaultToleranceRule_FaultToleranceStrategyRef) Reset()
func (*FaultToleranceRule_FaultToleranceStrategyRef) String ¶
func (x *FaultToleranceRule_FaultToleranceStrategyRef) String() string
type RateLimitStrategy ¶
type RateLimitStrategy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MetricType RateLimitStrategy_MetricType `` /* 164-byte string literal not displayed */ LimitMode RateLimitStrategy_LimitMode `` /* 160-byte string literal not displayed */ Threshold int64 `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"` StatDuration int32 `protobuf:"varint,5,opt,name=stat_duration,json=statDuration,proto3" json:"stat_duration,omitempty"` StatDurationTimeUnit v1.TimeUnit `` /* 169-byte string literal not displayed */ // contains filtered or unexported fields }
RateLimitStrategy
func (*RateLimitStrategy) Descriptor
deprecated
func (*RateLimitStrategy) Descriptor() ([]byte, []int)
Deprecated: Use RateLimitStrategy.ProtoReflect.Descriptor instead.
func (*RateLimitStrategy) GetLimitMode ¶
func (x *RateLimitStrategy) GetLimitMode() RateLimitStrategy_LimitMode
func (*RateLimitStrategy) GetMetricType ¶
func (x *RateLimitStrategy) GetMetricType() RateLimitStrategy_MetricType
func (*RateLimitStrategy) GetName ¶
func (x *RateLimitStrategy) GetName() string
func (*RateLimitStrategy) GetStatDuration ¶
func (x *RateLimitStrategy) GetStatDuration() int32
func (*RateLimitStrategy) GetStatDurationTimeUnit ¶
func (x *RateLimitStrategy) GetStatDurationTimeUnit() v1.TimeUnit
func (*RateLimitStrategy) GetThreshold ¶
func (x *RateLimitStrategy) GetThreshold() int64
func (*RateLimitStrategy) ProtoMessage ¶
func (*RateLimitStrategy) ProtoMessage()
func (*RateLimitStrategy) ProtoReflect ¶
func (x *RateLimitStrategy) ProtoReflect() protoreflect.Message
func (*RateLimitStrategy) Reset ¶
func (x *RateLimitStrategy) Reset()
func (*RateLimitStrategy) String ¶
func (x *RateLimitStrategy) String() string
type RateLimitStrategy_LimitMode ¶
type RateLimitStrategy_LimitMode int32
const ( RateLimitStrategy_MODE_UNKNOWN RateLimitStrategy_LimitMode = 0 RateLimitStrategy_MODE_LOCAL RateLimitStrategy_LimitMode = 1 RateLimitStrategy_MODE_GLOBAL RateLimitStrategy_LimitMode = 2 )
func (RateLimitStrategy_LimitMode) Descriptor ¶
func (RateLimitStrategy_LimitMode) Descriptor() protoreflect.EnumDescriptor
func (RateLimitStrategy_LimitMode) Enum ¶
func (x RateLimitStrategy_LimitMode) Enum() *RateLimitStrategy_LimitMode
func (RateLimitStrategy_LimitMode) EnumDescriptor
deprecated
func (RateLimitStrategy_LimitMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RateLimitStrategy_LimitMode.Descriptor instead.
func (RateLimitStrategy_LimitMode) Number ¶
func (x RateLimitStrategy_LimitMode) Number() protoreflect.EnumNumber
func (RateLimitStrategy_LimitMode) String ¶
func (x RateLimitStrategy_LimitMode) String() string
func (RateLimitStrategy_LimitMode) Type ¶
func (RateLimitStrategy_LimitMode) Type() protoreflect.EnumType
type RateLimitStrategy_MetricType ¶
type RateLimitStrategy_MetricType int32
const ( RateLimitStrategy_TYPE_UNKNOWN RateLimitStrategy_MetricType = 0 RateLimitStrategy_TYPE_REQUEST_AMOUNT RateLimitStrategy_MetricType = 1 )
func (RateLimitStrategy_MetricType) Descriptor ¶
func (RateLimitStrategy_MetricType) Descriptor() protoreflect.EnumDescriptor
func (RateLimitStrategy_MetricType) Enum ¶
func (x RateLimitStrategy_MetricType) Enum() *RateLimitStrategy_MetricType
func (RateLimitStrategy_MetricType) EnumDescriptor
deprecated
func (RateLimitStrategy_MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RateLimitStrategy_MetricType.Descriptor instead.
func (RateLimitStrategy_MetricType) Number ¶
func (x RateLimitStrategy_MetricType) Number() protoreflect.EnumNumber
func (RateLimitStrategy_MetricType) String ¶
func (x RateLimitStrategy_MetricType) String() string
func (RateLimitStrategy_MetricType) Type ¶
func (RateLimitStrategy_MetricType) Type() protoreflect.EnumType
type ThrottlingStrategy ¶
type ThrottlingStrategy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MinIntervalMillisOfRequests int64 `` /* 149-byte string literal not displayed */ QueueTimeoutMillis int64 `protobuf:"varint,3,opt,name=queue_timeout_millis,json=queueTimeoutMillis,proto3" json:"queue_timeout_millis,omitempty"` // contains filtered or unexported fields }
ThrottlingStrategy
func (*ThrottlingStrategy) Descriptor
deprecated
func (*ThrottlingStrategy) Descriptor() ([]byte, []int)
Deprecated: Use ThrottlingStrategy.ProtoReflect.Descriptor instead.
func (*ThrottlingStrategy) GetMinIntervalMillisOfRequests ¶
func (x *ThrottlingStrategy) GetMinIntervalMillisOfRequests() int64
func (*ThrottlingStrategy) GetName ¶
func (x *ThrottlingStrategy) GetName() string
func (*ThrottlingStrategy) GetQueueTimeoutMillis ¶
func (x *ThrottlingStrategy) GetQueueTimeoutMillis() int64
func (*ThrottlingStrategy) ProtoMessage ¶
func (*ThrottlingStrategy) ProtoMessage()
func (*ThrottlingStrategy) ProtoReflect ¶
func (x *ThrottlingStrategy) ProtoReflect() protoreflect.Message
func (*ThrottlingStrategy) Reset ¶
func (x *ThrottlingStrategy) Reset()
func (*ThrottlingStrategy) String ¶
func (x *ThrottlingStrategy) String() string