Documentation ¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterFlowControlServiceServer(s grpc.ServiceRegistrar, srv FlowControlServiceServer)
- type CheckRequest
- func (in *CheckRequest) DeepCopy() *CheckRequest
- func (in *CheckRequest) DeepCopyInterface() interface{}
- func (in *CheckRequest) DeepCopyInto(out *CheckRequest)
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetControlPoint() string
- func (x *CheckRequest) GetLabels() map[string]string
- func (msg *CheckRequest) MarshalJSON() ([]byte, error)
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- func (msg *CheckRequest) UnmarshalJSON(b []byte) error
- func (m *CheckRequest) Validate() error
- func (m *CheckRequest) ValidateAll() error
- type CheckRequestMultiError
- type CheckRequestValidationError
- func (e CheckRequestValidationError) Cause() error
- func (e CheckRequestValidationError) Error() string
- func (e CheckRequestValidationError) ErrorName() string
- func (e CheckRequestValidationError) Field() string
- func (e CheckRequestValidationError) Key() bool
- func (e CheckRequestValidationError) Reason() string
- type CheckResponse
- func (in *CheckResponse) DeepCopy() *CheckResponse
- func (in *CheckResponse) DeepCopyInterface() interface{}
- func (in *CheckResponse) DeepCopyInto(out *CheckResponse)
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetClassifierInfos() []*ClassifierInfo
- func (x *CheckResponse) GetControlPoint() string
- func (x *CheckResponse) GetDecisionType() CheckResponse_DecisionType
- func (x *CheckResponse) GetEnd() *timestamppb.Timestamp
- func (x *CheckResponse) GetFlowLabelKeys() []string
- func (x *CheckResponse) GetFluxMeterInfos() []*FluxMeterInfo
- func (x *CheckResponse) GetLimiterDecisions() []*LimiterDecision
- func (x *CheckResponse) GetRejectReason() CheckResponse_RejectReason
- func (x *CheckResponse) GetServices() []string
- func (x *CheckResponse) GetStart() *timestamppb.Timestamp
- func (x *CheckResponse) GetTelemetryFlowLabels() map[string]string
- func (msg *CheckResponse) MarshalJSON() ([]byte, error)
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- func (msg *CheckResponse) UnmarshalJSON(b []byte) error
- func (m *CheckResponse) Validate() error
- func (m *CheckResponse) ValidateAll() error
- type CheckResponseMultiError
- type CheckResponseValidationError
- func (e CheckResponseValidationError) Cause() error
- func (e CheckResponseValidationError) Error() string
- func (e CheckResponseValidationError) ErrorName() string
- func (e CheckResponseValidationError) Field() string
- func (e CheckResponseValidationError) Key() bool
- func (e CheckResponseValidationError) Reason() string
- type CheckResponse_DecisionType
- func (CheckResponse_DecisionType) Descriptor() protoreflect.EnumDescriptor
- func (x CheckResponse_DecisionType) Enum() *CheckResponse_DecisionType
- func (CheckResponse_DecisionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckResponse_DecisionType) Number() protoreflect.EnumNumber
- func (x CheckResponse_DecisionType) String() string
- func (CheckResponse_DecisionType) Type() protoreflect.EnumType
- type CheckResponse_RejectReason
- func (CheckResponse_RejectReason) Descriptor() protoreflect.EnumDescriptor
- func (x CheckResponse_RejectReason) Enum() *CheckResponse_RejectReason
- func (CheckResponse_RejectReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckResponse_RejectReason) Number() protoreflect.EnumNumber
- func (x CheckResponse_RejectReason) String() string
- func (CheckResponse_RejectReason) Type() protoreflect.EnumType
- type ClassifierInfo
- func (in *ClassifierInfo) DeepCopy() *ClassifierInfo
- func (in *ClassifierInfo) DeepCopyInterface() interface{}
- func (in *ClassifierInfo) DeepCopyInto(out *ClassifierInfo)
- func (*ClassifierInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClassifierInfo) GetClassifierIndex() int64
- func (x *ClassifierInfo) GetError() ClassifierInfo_Error
- func (x *ClassifierInfo) GetPolicyHash() string
- func (x *ClassifierInfo) GetPolicyName() string
- func (msg *ClassifierInfo) MarshalJSON() ([]byte, error)
- func (*ClassifierInfo) ProtoMessage()
- func (x *ClassifierInfo) ProtoReflect() protoreflect.Message
- func (x *ClassifierInfo) Reset()
- func (x *ClassifierInfo) String() string
- func (msg *ClassifierInfo) UnmarshalJSON(b []byte) error
- func (m *ClassifierInfo) Validate() error
- func (m *ClassifierInfo) ValidateAll() error
- type ClassifierInfoMultiError
- type ClassifierInfoValidationError
- func (e ClassifierInfoValidationError) Cause() error
- func (e ClassifierInfoValidationError) Error() string
- func (e ClassifierInfoValidationError) ErrorName() string
- func (e ClassifierInfoValidationError) Field() string
- func (e ClassifierInfoValidationError) Key() bool
- func (e ClassifierInfoValidationError) Reason() string
- type ClassifierInfo_Error
- func (ClassifierInfo_Error) Descriptor() protoreflect.EnumDescriptor
- func (x ClassifierInfo_Error) Enum() *ClassifierInfo_Error
- func (ClassifierInfo_Error) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClassifierInfo_Error) Number() protoreflect.EnumNumber
- func (x ClassifierInfo_Error) String() string
- func (ClassifierInfo_Error) Type() protoreflect.EnumType
- type FlowControlServiceClient
- type FlowControlServiceServer
- type FluxMeterInfo
- func (in *FluxMeterInfo) DeepCopy() *FluxMeterInfo
- func (in *FluxMeterInfo) DeepCopyInterface() interface{}
- func (in *FluxMeterInfo) DeepCopyInto(out *FluxMeterInfo)
- func (*FluxMeterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FluxMeterInfo) GetFluxMeterName() string
- func (msg *FluxMeterInfo) MarshalJSON() ([]byte, error)
- func (*FluxMeterInfo) ProtoMessage()
- func (x *FluxMeterInfo) ProtoReflect() protoreflect.Message
- func (x *FluxMeterInfo) Reset()
- func (x *FluxMeterInfo) String() string
- func (msg *FluxMeterInfo) UnmarshalJSON(b []byte) error
- func (m *FluxMeterInfo) Validate() error
- func (m *FluxMeterInfo) ValidateAll() error
- type FluxMeterInfoMultiError
- type FluxMeterInfoValidationError
- func (e FluxMeterInfoValidationError) Cause() error
- func (e FluxMeterInfoValidationError) Error() string
- func (e FluxMeterInfoValidationError) ErrorName() string
- func (e FluxMeterInfoValidationError) Field() string
- func (e FluxMeterInfoValidationError) Key() bool
- func (e FluxMeterInfoValidationError) Reason() string
- type LimiterDecision
- func (in *LimiterDecision) DeepCopy() *LimiterDecision
- func (in *LimiterDecision) DeepCopyInterface() interface{}
- func (in *LimiterDecision) DeepCopyInto(out *LimiterDecision)
- func (*LimiterDecision) Descriptor() ([]byte, []int)deprecated
- func (x *LimiterDecision) GetComponentId() string
- func (x *LimiterDecision) GetConcurrencyLimiterInfo() *LimiterDecision_ConcurrencyLimiterInfo
- func (m *LimiterDecision) GetDetails() isLimiterDecision_Details
- func (x *LimiterDecision) GetDropped() bool
- func (x *LimiterDecision) GetFlowRegulatorInfo() *LimiterDecision_FlowRegulatorInfo
- func (x *LimiterDecision) GetPolicyHash() string
- func (x *LimiterDecision) GetPolicyName() string
- func (x *LimiterDecision) GetRateLimiterInfo() *LimiterDecision_RateLimiterInfo
- func (x *LimiterDecision) GetReason() LimiterDecision_LimiterReason
- func (msg *LimiterDecision) MarshalJSON() ([]byte, error)
- func (*LimiterDecision) ProtoMessage()
- func (x *LimiterDecision) ProtoReflect() protoreflect.Message
- func (x *LimiterDecision) Reset()
- func (x *LimiterDecision) String() string
- func (msg *LimiterDecision) UnmarshalJSON(b []byte) error
- func (m *LimiterDecision) Validate() error
- func (m *LimiterDecision) ValidateAll() error
- type LimiterDecisionMultiError
- type LimiterDecisionValidationError
- func (e LimiterDecisionValidationError) Cause() error
- func (e LimiterDecisionValidationError) Error() string
- func (e LimiterDecisionValidationError) ErrorName() string
- func (e LimiterDecisionValidationError) Field() string
- func (e LimiterDecisionValidationError) Key() bool
- func (e LimiterDecisionValidationError) Reason() string
- type LimiterDecision_ConcurrencyLimiterInfo
- func (in *LimiterDecision_ConcurrencyLimiterInfo) DeepCopy() *LimiterDecision_ConcurrencyLimiterInfo
- func (in *LimiterDecision_ConcurrencyLimiterInfo) DeepCopyInterface() interface{}
- func (in *LimiterDecision_ConcurrencyLimiterInfo) DeepCopyInto(out *LimiterDecision_ConcurrencyLimiterInfo)
- func (*LimiterDecision_ConcurrencyLimiterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LimiterDecision_ConcurrencyLimiterInfo) GetTokensConsumed() uint64
- func (x *LimiterDecision_ConcurrencyLimiterInfo) GetWorkloadIndex() string
- func (msg *LimiterDecision_ConcurrencyLimiterInfo) MarshalJSON() ([]byte, error)
- func (*LimiterDecision_ConcurrencyLimiterInfo) ProtoMessage()
- func (x *LimiterDecision_ConcurrencyLimiterInfo) ProtoReflect() protoreflect.Message
- func (x *LimiterDecision_ConcurrencyLimiterInfo) Reset()
- func (x *LimiterDecision_ConcurrencyLimiterInfo) String() string
- func (msg *LimiterDecision_ConcurrencyLimiterInfo) UnmarshalJSON(b []byte) error
- func (m *LimiterDecision_ConcurrencyLimiterInfo) Validate() error
- func (m *LimiterDecision_ConcurrencyLimiterInfo) ValidateAll() error
- type LimiterDecision_ConcurrencyLimiterInfoMultiError
- type LimiterDecision_ConcurrencyLimiterInfoValidationError
- func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Cause() error
- func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Error() string
- func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) ErrorName() string
- func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Field() string
- func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Key() bool
- func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Reason() string
- type LimiterDecision_ConcurrencyLimiterInfo_
- type LimiterDecision_FlowRegulatorInfo
- func (in *LimiterDecision_FlowRegulatorInfo) DeepCopy() *LimiterDecision_FlowRegulatorInfo
- func (in *LimiterDecision_FlowRegulatorInfo) DeepCopyInterface() interface{}
- func (in *LimiterDecision_FlowRegulatorInfo) DeepCopyInto(out *LimiterDecision_FlowRegulatorInfo)
- func (*LimiterDecision_FlowRegulatorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LimiterDecision_FlowRegulatorInfo) GetLabel() string
- func (msg *LimiterDecision_FlowRegulatorInfo) MarshalJSON() ([]byte, error)
- func (*LimiterDecision_FlowRegulatorInfo) ProtoMessage()
- func (x *LimiterDecision_FlowRegulatorInfo) ProtoReflect() protoreflect.Message
- func (x *LimiterDecision_FlowRegulatorInfo) Reset()
- func (x *LimiterDecision_FlowRegulatorInfo) String() string
- func (msg *LimiterDecision_FlowRegulatorInfo) UnmarshalJSON(b []byte) error
- func (m *LimiterDecision_FlowRegulatorInfo) Validate() error
- func (m *LimiterDecision_FlowRegulatorInfo) ValidateAll() error
- type LimiterDecision_FlowRegulatorInfoMultiError
- type LimiterDecision_FlowRegulatorInfoValidationError
- func (e LimiterDecision_FlowRegulatorInfoValidationError) Cause() error
- func (e LimiterDecision_FlowRegulatorInfoValidationError) Error() string
- func (e LimiterDecision_FlowRegulatorInfoValidationError) ErrorName() string
- func (e LimiterDecision_FlowRegulatorInfoValidationError) Field() string
- func (e LimiterDecision_FlowRegulatorInfoValidationError) Key() bool
- func (e LimiterDecision_FlowRegulatorInfoValidationError) Reason() string
- type LimiterDecision_FlowRegulatorInfo_
- type LimiterDecision_LimiterReason
- func (LimiterDecision_LimiterReason) Descriptor() protoreflect.EnumDescriptor
- func (x LimiterDecision_LimiterReason) Enum() *LimiterDecision_LimiterReason
- func (LimiterDecision_LimiterReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x LimiterDecision_LimiterReason) Number() protoreflect.EnumNumber
- func (x LimiterDecision_LimiterReason) String() string
- func (LimiterDecision_LimiterReason) Type() protoreflect.EnumType
- type LimiterDecision_RateLimiterInfo
- func (in *LimiterDecision_RateLimiterInfo) DeepCopy() *LimiterDecision_RateLimiterInfo
- func (in *LimiterDecision_RateLimiterInfo) DeepCopyInterface() interface{}
- func (in *LimiterDecision_RateLimiterInfo) DeepCopyInto(out *LimiterDecision_RateLimiterInfo)
- func (*LimiterDecision_RateLimiterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LimiterDecision_RateLimiterInfo) GetCurrent() int64
- func (x *LimiterDecision_RateLimiterInfo) GetLabel() string
- func (x *LimiterDecision_RateLimiterInfo) GetRemaining() int64
- func (x *LimiterDecision_RateLimiterInfo) GetTokensConsumed() uint64
- func (msg *LimiterDecision_RateLimiterInfo) MarshalJSON() ([]byte, error)
- func (*LimiterDecision_RateLimiterInfo) ProtoMessage()
- func (x *LimiterDecision_RateLimiterInfo) ProtoReflect() protoreflect.Message
- func (x *LimiterDecision_RateLimiterInfo) Reset()
- func (x *LimiterDecision_RateLimiterInfo) String() string
- func (msg *LimiterDecision_RateLimiterInfo) UnmarshalJSON(b []byte) error
- func (m *LimiterDecision_RateLimiterInfo) Validate() error
- func (m *LimiterDecision_RateLimiterInfo) ValidateAll() error
- type LimiterDecision_RateLimiterInfoMultiError
- type LimiterDecision_RateLimiterInfoValidationError
- func (e LimiterDecision_RateLimiterInfoValidationError) Cause() error
- func (e LimiterDecision_RateLimiterInfoValidationError) Error() string
- func (e LimiterDecision_RateLimiterInfoValidationError) ErrorName() string
- func (e LimiterDecision_RateLimiterInfoValidationError) Field() string
- func (e LimiterDecision_RateLimiterInfoValidationError) Key() bool
- func (e LimiterDecision_RateLimiterInfoValidationError) Reason() string
- type LimiterDecision_RateLimiterInfo_
- type UnimplementedFlowControlServiceServer
- type UnsafeFlowControlServiceServer
Constants ¶
const (
FlowControlService_Check_FullMethodName = "/aperture.flowcontrol.check.v1.FlowControlService/Check"
)
Variables ¶
var ( CheckResponse_RejectReason_name = map[int32]string{ 0: "REJECT_REASON_NONE", 1: "REJECT_REASON_RATE_LIMITED", 2: "REJECT_REASON_CONCURRENCY_LIMITED", 3: "REJECT_REASON_FLOW_REGULATED", } CheckResponse_RejectReason_value = map[string]int32{ "REJECT_REASON_NONE": 0, "REJECT_REASON_RATE_LIMITED": 1, "REJECT_REASON_CONCURRENCY_LIMITED": 2, "REJECT_REASON_FLOW_REGULATED": 3, } )
Enum value maps for CheckResponse_RejectReason.
var ( CheckResponse_DecisionType_name = map[int32]string{ 0: "DECISION_TYPE_ACCEPTED", 1: "DECISION_TYPE_REJECTED", } CheckResponse_DecisionType_value = map[string]int32{ "DECISION_TYPE_ACCEPTED": 0, "DECISION_TYPE_REJECTED": 1, } )
Enum value maps for CheckResponse_DecisionType.
var ( ClassifierInfo_Error_name = map[int32]string{ 0: "ERROR_NONE", 1: "ERROR_EVAL_FAILED", 2: "ERROR_EMPTY_RESULTSET", 3: "ERROR_AMBIGUOUS_RESULTSET", 4: "ERROR_MULTI_EXPRESSION", 5: "ERROR_EXPRESSION_NOT_MAP", } ClassifierInfo_Error_value = map[string]int32{ "ERROR_NONE": 0, "ERROR_EVAL_FAILED": 1, "ERROR_EMPTY_RESULTSET": 2, "ERROR_AMBIGUOUS_RESULTSET": 3, "ERROR_MULTI_EXPRESSION": 4, "ERROR_EXPRESSION_NOT_MAP": 5, } )
Enum value maps for ClassifierInfo_Error.
var ( LimiterDecision_LimiterReason_name = map[int32]string{ 0: "LIMITER_REASON_UNSPECIFIED", 1: "LIMITER_REASON_KEY_NOT_FOUND", } LimiterDecision_LimiterReason_value = map[string]int32{ "LIMITER_REASON_UNSPECIFIED": 0, "LIMITER_REASON_KEY_NOT_FOUND": 1, } )
Enum value maps for LimiterDecision_LimiterReason.
var File_aperture_flowcontrol_check_v1_check_proto protoreflect.FileDescriptor
var FlowControlService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aperture.flowcontrol.check.v1.FlowControlService", HandlerType: (*FlowControlServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Check", Handler: _FlowControlService_Check_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aperture/flowcontrol/check/v1/check.proto", }
FlowControlService_ServiceDesc is the grpc.ServiceDesc for FlowControlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFlowControlServiceServer ¶
func RegisterFlowControlServiceServer(s grpc.ServiceRegistrar, srv FlowControlServiceServer)
Types ¶
type CheckRequest ¶
type CheckRequest struct { ControlPoint string `protobuf:"bytes,1,opt,name=control_point,json=controlPoint,proto3" json:"control_point,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
CheckRequest contains fields required to perform Check call.
func (*CheckRequest) DeepCopy ¶
func (in *CheckRequest) DeepCopy() *CheckRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckRequest. Required by controller-gen.
func (*CheckRequest) DeepCopyInterface ¶
func (in *CheckRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CheckRequest. Required by controller-gen.
func (*CheckRequest) DeepCopyInto ¶
func (in *CheckRequest) DeepCopyInto(out *CheckRequest)
DeepCopyInto supports using CheckRequest within kubernetes types, where deepcopy-gen is used.
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetControlPoint ¶ added in v0.11.0
func (x *CheckRequest) GetControlPoint() string
func (*CheckRequest) GetLabels ¶
func (x *CheckRequest) GetLabels() map[string]string
func (*CheckRequest) MarshalJSON ¶
func (msg *CheckRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
func (*CheckRequest) UnmarshalJSON ¶
func (msg *CheckRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*CheckRequest) Validate ¶ added in v1.2.0
func (m *CheckRequest) Validate() error
Validate checks the field values on CheckRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckRequest) ValidateAll ¶ added in v1.2.0
func (m *CheckRequest) ValidateAll() error
ValidateAll checks the field values on CheckRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckRequestMultiError, or nil if none found.
type CheckRequestMultiError ¶ added in v1.2.0
type CheckRequestMultiError []error
CheckRequestMultiError is an error wrapping multiple validation errors returned by CheckRequest.ValidateAll() if the designated constraints aren't met.
func (CheckRequestMultiError) AllErrors ¶ added in v1.2.0
func (m CheckRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckRequestMultiError) Error ¶ added in v1.2.0
func (m CheckRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckRequestValidationError ¶ added in v1.2.0
type CheckRequestValidationError struct {
// contains filtered or unexported fields
}
CheckRequestValidationError is the validation error returned by CheckRequest.Validate if the designated constraints aren't met.
func (CheckRequestValidationError) Cause ¶ added in v1.2.0
func (e CheckRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckRequestValidationError) Error ¶ added in v1.2.0
func (e CheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckRequestValidationError) ErrorName ¶ added in v1.2.0
func (e CheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckRequestValidationError) Field ¶ added in v1.2.0
func (e CheckRequestValidationError) Field() string
Field function returns field value.
func (CheckRequestValidationError) Key ¶ added in v1.2.0
func (e CheckRequestValidationError) Key() bool
Key function returns key value.
func (CheckRequestValidationError) Reason ¶ added in v1.2.0
func (e CheckRequestValidationError) Reason() string
Reason function returns reason value.
type CheckResponse ¶
type CheckResponse struct { // start timestamp Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` // end timestamp End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // services that matched Services []string `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"` // control_point of request ControlPoint string `protobuf:"bytes,5,opt,name=control_point,json=controlPoint,proto3" json:"control_point,omitempty"` // flow label keys that were matched for this request. FlowLabelKeys []string `protobuf:"bytes,6,rep,name=flow_label_keys,json=flowLabelKeys,proto3" json:"flow_label_keys,omitempty"` // telemetry_flow_labels are labels for telemetry purpose. The keys in telemetry_flow_labels is subset of flow_label_keys. TelemetryFlowLabels map[string]string `` /* 208-byte string literal not displayed */ // decision_type contains what the decision was. DecisionType CheckResponse_DecisionType `` /* 160-byte string literal not displayed */ // reject_reason contains the reason for the rejection. RejectReason CheckResponse_RejectReason `` /* 160-byte string literal not displayed */ // classifiers that were matched for this request. ClassifierInfos []*ClassifierInfo `protobuf:"bytes,10,rep,name=classifier_infos,json=classifierInfos,proto3" json:"classifier_infos,omitempty"` // flux meters that were matched for this request. FluxMeterInfos []*FluxMeterInfo `protobuf:"bytes,11,rep,name=flux_meter_infos,json=fluxMeterInfos,proto3" json:"flux_meter_infos,omitempty"` // limiter_decisions contains information about decision made by each limiter. LimiterDecisions []*LimiterDecision `protobuf:"bytes,12,rep,name=limiter_decisions,json=limiterDecisions,proto3" json:"limiter_decisions,omitempty"` // contains filtered or unexported fields }
CheckResponse contains fields that represent decision made by Check call.
func (*CheckResponse) DeepCopy ¶
func (in *CheckResponse) DeepCopy() *CheckResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckResponse. Required by controller-gen.
func (*CheckResponse) DeepCopyInterface ¶
func (in *CheckResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CheckResponse. Required by controller-gen.
func (*CheckResponse) DeepCopyInto ¶
func (in *CheckResponse) DeepCopyInto(out *CheckResponse)
DeepCopyInto supports using CheckResponse within kubernetes types, where deepcopy-gen is used.
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetClassifierInfos ¶
func (x *CheckResponse) GetClassifierInfos() []*ClassifierInfo
func (*CheckResponse) GetControlPoint ¶ added in v0.11.0
func (x *CheckResponse) GetControlPoint() string
func (*CheckResponse) GetDecisionType ¶
func (x *CheckResponse) GetDecisionType() CheckResponse_DecisionType
func (*CheckResponse) GetEnd ¶
func (x *CheckResponse) GetEnd() *timestamppb.Timestamp
func (*CheckResponse) GetFlowLabelKeys ¶
func (x *CheckResponse) GetFlowLabelKeys() []string
func (*CheckResponse) GetFluxMeterInfos ¶
func (x *CheckResponse) GetFluxMeterInfos() []*FluxMeterInfo
func (*CheckResponse) GetLimiterDecisions ¶
func (x *CheckResponse) GetLimiterDecisions() []*LimiterDecision
func (*CheckResponse) GetRejectReason ¶
func (x *CheckResponse) GetRejectReason() CheckResponse_RejectReason
func (*CheckResponse) GetServices ¶
func (x *CheckResponse) GetServices() []string
func (*CheckResponse) GetStart ¶
func (x *CheckResponse) GetStart() *timestamppb.Timestamp
func (*CheckResponse) GetTelemetryFlowLabels ¶
func (x *CheckResponse) GetTelemetryFlowLabels() map[string]string
func (*CheckResponse) MarshalJSON ¶
func (msg *CheckResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
func (*CheckResponse) UnmarshalJSON ¶
func (msg *CheckResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*CheckResponse) Validate ¶ added in v1.2.0
func (m *CheckResponse) Validate() error
Validate checks the field values on CheckResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckResponse) ValidateAll ¶ added in v1.2.0
func (m *CheckResponse) ValidateAll() error
ValidateAll checks the field values on CheckResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckResponseMultiError, or nil if none found.
type CheckResponseMultiError ¶ added in v1.2.0
type CheckResponseMultiError []error
CheckResponseMultiError is an error wrapping multiple validation errors returned by CheckResponse.ValidateAll() if the designated constraints aren't met.
func (CheckResponseMultiError) AllErrors ¶ added in v1.2.0
func (m CheckResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckResponseMultiError) Error ¶ added in v1.2.0
func (m CheckResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckResponseValidationError ¶ added in v1.2.0
type CheckResponseValidationError struct {
// contains filtered or unexported fields
}
CheckResponseValidationError is the validation error returned by CheckResponse.Validate if the designated constraints aren't met.
func (CheckResponseValidationError) Cause ¶ added in v1.2.0
func (e CheckResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckResponseValidationError) Error ¶ added in v1.2.0
func (e CheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckResponseValidationError) ErrorName ¶ added in v1.2.0
func (e CheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckResponseValidationError) Field ¶ added in v1.2.0
func (e CheckResponseValidationError) Field() string
Field function returns field value.
func (CheckResponseValidationError) Key ¶ added in v1.2.0
func (e CheckResponseValidationError) Key() bool
Key function returns key value.
func (CheckResponseValidationError) Reason ¶ added in v1.2.0
func (e CheckResponseValidationError) Reason() string
Reason function returns reason value.
type CheckResponse_DecisionType ¶
type CheckResponse_DecisionType int32
DecisionType contains fields that represent decision made by Check call.
const ( CheckResponse_DECISION_TYPE_ACCEPTED CheckResponse_DecisionType = 0 CheckResponse_DECISION_TYPE_REJECTED CheckResponse_DecisionType = 1 )
func (CheckResponse_DecisionType) Descriptor ¶
func (CheckResponse_DecisionType) Descriptor() protoreflect.EnumDescriptor
func (CheckResponse_DecisionType) Enum ¶
func (x CheckResponse_DecisionType) Enum() *CheckResponse_DecisionType
func (CheckResponse_DecisionType) EnumDescriptor
deprecated
func (CheckResponse_DecisionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckResponse_DecisionType.Descriptor instead.
func (CheckResponse_DecisionType) Number ¶
func (x CheckResponse_DecisionType) Number() protoreflect.EnumNumber
func (CheckResponse_DecisionType) String ¶
func (x CheckResponse_DecisionType) String() string
func (CheckResponse_DecisionType) Type ¶
func (CheckResponse_DecisionType) Type() protoreflect.EnumType
type CheckResponse_RejectReason ¶
type CheckResponse_RejectReason int32
RejectReason contains fields that give further information about rejection.
const ( CheckResponse_REJECT_REASON_NONE CheckResponse_RejectReason = 0 CheckResponse_REJECT_REASON_RATE_LIMITED CheckResponse_RejectReason = 1 CheckResponse_REJECT_REASON_CONCURRENCY_LIMITED CheckResponse_RejectReason = 2 CheckResponse_REJECT_REASON_FLOW_REGULATED CheckResponse_RejectReason = 3 )
func (CheckResponse_RejectReason) Descriptor ¶
func (CheckResponse_RejectReason) Descriptor() protoreflect.EnumDescriptor
func (CheckResponse_RejectReason) Enum ¶
func (x CheckResponse_RejectReason) Enum() *CheckResponse_RejectReason
func (CheckResponse_RejectReason) EnumDescriptor
deprecated
func (CheckResponse_RejectReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckResponse_RejectReason.Descriptor instead.
func (CheckResponse_RejectReason) Number ¶
func (x CheckResponse_RejectReason) Number() protoreflect.EnumNumber
func (CheckResponse_RejectReason) String ¶
func (x CheckResponse_RejectReason) String() string
func (CheckResponse_RejectReason) Type ¶
func (CheckResponse_RejectReason) Type() protoreflect.EnumType
type ClassifierInfo ¶
type ClassifierInfo struct { PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"` ClassifierIndex int64 `protobuf:"varint,3,opt,name=classifier_index,json=classifierIndex,proto3" json:"classifier_index,omitempty"` Error ClassifierInfo_Error `protobuf:"varint,5,opt,name=error,proto3,enum=aperture.flowcontrol.check.v1.ClassifierInfo_Error" json:"error,omitempty"` // contains filtered or unexported fields }
ClassifierInfo describes details for each ClassifierInfo.
func (*ClassifierInfo) DeepCopy ¶
func (in *ClassifierInfo) DeepCopy() *ClassifierInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassifierInfo. Required by controller-gen.
func (*ClassifierInfo) DeepCopyInterface ¶
func (in *ClassifierInfo) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ClassifierInfo. Required by controller-gen.
func (*ClassifierInfo) DeepCopyInto ¶
func (in *ClassifierInfo) DeepCopyInto(out *ClassifierInfo)
DeepCopyInto supports using ClassifierInfo within kubernetes types, where deepcopy-gen is used.
func (*ClassifierInfo) Descriptor
deprecated
func (*ClassifierInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClassifierInfo.ProtoReflect.Descriptor instead.
func (*ClassifierInfo) GetClassifierIndex ¶
func (x *ClassifierInfo) GetClassifierIndex() int64
func (*ClassifierInfo) GetError ¶
func (x *ClassifierInfo) GetError() ClassifierInfo_Error
func (*ClassifierInfo) GetPolicyHash ¶
func (x *ClassifierInfo) GetPolicyHash() string
func (*ClassifierInfo) GetPolicyName ¶
func (x *ClassifierInfo) GetPolicyName() string
func (*ClassifierInfo) MarshalJSON ¶
func (msg *ClassifierInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ClassifierInfo) ProtoMessage ¶
func (*ClassifierInfo) ProtoMessage()
func (*ClassifierInfo) ProtoReflect ¶
func (x *ClassifierInfo) ProtoReflect() protoreflect.Message
func (*ClassifierInfo) Reset ¶
func (x *ClassifierInfo) Reset()
func (*ClassifierInfo) String ¶
func (x *ClassifierInfo) String() string
func (*ClassifierInfo) UnmarshalJSON ¶
func (msg *ClassifierInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ClassifierInfo) Validate ¶ added in v1.2.0
func (m *ClassifierInfo) Validate() error
Validate checks the field values on ClassifierInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClassifierInfo) ValidateAll ¶ added in v1.2.0
func (m *ClassifierInfo) ValidateAll() error
ValidateAll checks the field values on ClassifierInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClassifierInfoMultiError, or nil if none found.
type ClassifierInfoMultiError ¶ added in v1.2.0
type ClassifierInfoMultiError []error
ClassifierInfoMultiError is an error wrapping multiple validation errors returned by ClassifierInfo.ValidateAll() if the designated constraints aren't met.
func (ClassifierInfoMultiError) AllErrors ¶ added in v1.2.0
func (m ClassifierInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClassifierInfoMultiError) Error ¶ added in v1.2.0
func (m ClassifierInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClassifierInfoValidationError ¶ added in v1.2.0
type ClassifierInfoValidationError struct {
// contains filtered or unexported fields
}
ClassifierInfoValidationError is the validation error returned by ClassifierInfo.Validate if the designated constraints aren't met.
func (ClassifierInfoValidationError) Cause ¶ added in v1.2.0
func (e ClassifierInfoValidationError) Cause() error
Cause function returns cause value.
func (ClassifierInfoValidationError) Error ¶ added in v1.2.0
func (e ClassifierInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ClassifierInfoValidationError) ErrorName ¶ added in v1.2.0
func (e ClassifierInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ClassifierInfoValidationError) Field ¶ added in v1.2.0
func (e ClassifierInfoValidationError) Field() string
Field function returns field value.
func (ClassifierInfoValidationError) Key ¶ added in v1.2.0
func (e ClassifierInfoValidationError) Key() bool
Key function returns key value.
func (ClassifierInfoValidationError) Reason ¶ added in v1.2.0
func (e ClassifierInfoValidationError) Reason() string
Reason function returns reason value.
type ClassifierInfo_Error ¶
type ClassifierInfo_Error int32
Error information.
const ( ClassifierInfo_ERROR_NONE ClassifierInfo_Error = 0 ClassifierInfo_ERROR_EVAL_FAILED ClassifierInfo_Error = 1 ClassifierInfo_ERROR_EMPTY_RESULTSET ClassifierInfo_Error = 2 ClassifierInfo_ERROR_AMBIGUOUS_RESULTSET ClassifierInfo_Error = 3 ClassifierInfo_ERROR_MULTI_EXPRESSION ClassifierInfo_Error = 4 ClassifierInfo_ERROR_EXPRESSION_NOT_MAP ClassifierInfo_Error = 5 )
func (ClassifierInfo_Error) Descriptor ¶
func (ClassifierInfo_Error) Descriptor() protoreflect.EnumDescriptor
func (ClassifierInfo_Error) Enum ¶
func (x ClassifierInfo_Error) Enum() *ClassifierInfo_Error
func (ClassifierInfo_Error) EnumDescriptor
deprecated
func (ClassifierInfo_Error) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClassifierInfo_Error.Descriptor instead.
func (ClassifierInfo_Error) Number ¶
func (x ClassifierInfo_Error) Number() protoreflect.EnumNumber
func (ClassifierInfo_Error) String ¶
func (x ClassifierInfo_Error) String() string
func (ClassifierInfo_Error) Type ¶
func (ClassifierInfo_Error) Type() protoreflect.EnumType
type FlowControlServiceClient ¶
type FlowControlServiceClient interface { // Check wraps the given arbitrary resource and matches the given labels against Flow Control Limiters to makes a decision whether to allow/deny. Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) }
FlowControlServiceClient is the client API for FlowControlService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFlowControlServiceClient ¶
func NewFlowControlServiceClient(cc grpc.ClientConnInterface) FlowControlServiceClient
type FlowControlServiceServer ¶
type FlowControlServiceServer interface { // Check wraps the given arbitrary resource and matches the given labels against Flow Control Limiters to makes a decision whether to allow/deny. Check(context.Context, *CheckRequest) (*CheckResponse, error) }
FlowControlServiceServer is the server API for FlowControlService service. All implementations should embed UnimplementedFlowControlServiceServer for forward compatibility
type FluxMeterInfo ¶
type FluxMeterInfo struct { FluxMeterName string `protobuf:"bytes,1,opt,name=flux_meter_name,json=fluxMeterName,proto3" json:"flux_meter_name,omitempty"` // contains filtered or unexported fields }
FluxMeterInfo describes detail for each FluxMeterInfo.
func (*FluxMeterInfo) DeepCopy ¶
func (in *FluxMeterInfo) DeepCopy() *FluxMeterInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeterInfo. Required by controller-gen.
func (*FluxMeterInfo) DeepCopyInterface ¶
func (in *FluxMeterInfo) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new FluxMeterInfo. Required by controller-gen.
func (*FluxMeterInfo) DeepCopyInto ¶
func (in *FluxMeterInfo) DeepCopyInto(out *FluxMeterInfo)
DeepCopyInto supports using FluxMeterInfo within kubernetes types, where deepcopy-gen is used.
func (*FluxMeterInfo) Descriptor
deprecated
func (*FluxMeterInfo) Descriptor() ([]byte, []int)
Deprecated: Use FluxMeterInfo.ProtoReflect.Descriptor instead.
func (*FluxMeterInfo) GetFluxMeterName ¶
func (x *FluxMeterInfo) GetFluxMeterName() string
func (*FluxMeterInfo) MarshalJSON ¶
func (msg *FluxMeterInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*FluxMeterInfo) ProtoMessage ¶
func (*FluxMeterInfo) ProtoMessage()
func (*FluxMeterInfo) ProtoReflect ¶
func (x *FluxMeterInfo) ProtoReflect() protoreflect.Message
func (*FluxMeterInfo) Reset ¶
func (x *FluxMeterInfo) Reset()
func (*FluxMeterInfo) String ¶
func (x *FluxMeterInfo) String() string
func (*FluxMeterInfo) UnmarshalJSON ¶
func (msg *FluxMeterInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*FluxMeterInfo) Validate ¶ added in v1.2.0
func (m *FluxMeterInfo) Validate() error
Validate checks the field values on FluxMeterInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FluxMeterInfo) ValidateAll ¶ added in v1.2.0
func (m *FluxMeterInfo) ValidateAll() error
ValidateAll checks the field values on FluxMeterInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FluxMeterInfoMultiError, or nil if none found.
type FluxMeterInfoMultiError ¶ added in v1.2.0
type FluxMeterInfoMultiError []error
FluxMeterInfoMultiError is an error wrapping multiple validation errors returned by FluxMeterInfo.ValidateAll() if the designated constraints aren't met.
func (FluxMeterInfoMultiError) AllErrors ¶ added in v1.2.0
func (m FluxMeterInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FluxMeterInfoMultiError) Error ¶ added in v1.2.0
func (m FluxMeterInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FluxMeterInfoValidationError ¶ added in v1.2.0
type FluxMeterInfoValidationError struct {
// contains filtered or unexported fields
}
FluxMeterInfoValidationError is the validation error returned by FluxMeterInfo.Validate if the designated constraints aren't met.
func (FluxMeterInfoValidationError) Cause ¶ added in v1.2.0
func (e FluxMeterInfoValidationError) Cause() error
Cause function returns cause value.
func (FluxMeterInfoValidationError) Error ¶ added in v1.2.0
func (e FluxMeterInfoValidationError) Error() string
Error satisfies the builtin error interface
func (FluxMeterInfoValidationError) ErrorName ¶ added in v1.2.0
func (e FluxMeterInfoValidationError) ErrorName() string
ErrorName returns error name.
func (FluxMeterInfoValidationError) Field ¶ added in v1.2.0
func (e FluxMeterInfoValidationError) Field() string
Field function returns field value.
func (FluxMeterInfoValidationError) Key ¶ added in v1.2.0
func (e FluxMeterInfoValidationError) Key() bool
Key function returns key value.
func (FluxMeterInfoValidationError) Reason ¶ added in v1.2.0
func (e FluxMeterInfoValidationError) Reason() string
Reason function returns reason value.
type LimiterDecision ¶
type LimiterDecision struct { PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"` ComponentId string `protobuf:"bytes,3,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"` Dropped bool `protobuf:"varint,4,opt,name=dropped,proto3" json:"dropped,omitempty"` Reason LimiterDecision_LimiterReason `` /* 131-byte string literal not displayed */ // Types that are assignable to Details: // // *LimiterDecision_RateLimiterInfo_ // *LimiterDecision_ConcurrencyLimiterInfo_ // *LimiterDecision_FlowRegulatorInfo_ Details isLimiterDecision_Details `protobuf_oneof:"details"` // contains filtered or unexported fields }
LimiterDecision describes details for each limiter.
func (*LimiterDecision) DeepCopy ¶
func (in *LimiterDecision) DeepCopy() *LimiterDecision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimiterDecision. Required by controller-gen.
func (*LimiterDecision) DeepCopyInterface ¶
func (in *LimiterDecision) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LimiterDecision. Required by controller-gen.
func (*LimiterDecision) DeepCopyInto ¶
func (in *LimiterDecision) DeepCopyInto(out *LimiterDecision)
DeepCopyInto supports using LimiterDecision within kubernetes types, where deepcopy-gen is used.
func (*LimiterDecision) Descriptor
deprecated
func (*LimiterDecision) Descriptor() ([]byte, []int)
Deprecated: Use LimiterDecision.ProtoReflect.Descriptor instead.
func (*LimiterDecision) GetComponentId ¶ added in v0.21.0
func (x *LimiterDecision) GetComponentId() string
func (*LimiterDecision) GetConcurrencyLimiterInfo ¶
func (x *LimiterDecision) GetConcurrencyLimiterInfo() *LimiterDecision_ConcurrencyLimiterInfo
func (*LimiterDecision) GetDetails ¶
func (m *LimiterDecision) GetDetails() isLimiterDecision_Details
func (*LimiterDecision) GetDropped ¶
func (x *LimiterDecision) GetDropped() bool
func (*LimiterDecision) GetFlowRegulatorInfo ¶ added in v1.4.0
func (x *LimiterDecision) GetFlowRegulatorInfo() *LimiterDecision_FlowRegulatorInfo
func (*LimiterDecision) GetPolicyHash ¶
func (x *LimiterDecision) GetPolicyHash() string
func (*LimiterDecision) GetPolicyName ¶
func (x *LimiterDecision) GetPolicyName() string
func (*LimiterDecision) GetRateLimiterInfo ¶
func (x *LimiterDecision) GetRateLimiterInfo() *LimiterDecision_RateLimiterInfo
func (*LimiterDecision) GetReason ¶
func (x *LimiterDecision) GetReason() LimiterDecision_LimiterReason
func (*LimiterDecision) MarshalJSON ¶
func (msg *LimiterDecision) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LimiterDecision) ProtoMessage ¶
func (*LimiterDecision) ProtoMessage()
func (*LimiterDecision) ProtoReflect ¶
func (x *LimiterDecision) ProtoReflect() protoreflect.Message
func (*LimiterDecision) Reset ¶
func (x *LimiterDecision) Reset()
func (*LimiterDecision) String ¶
func (x *LimiterDecision) String() string
func (*LimiterDecision) UnmarshalJSON ¶
func (msg *LimiterDecision) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LimiterDecision) Validate ¶ added in v1.2.0
func (m *LimiterDecision) Validate() error
Validate checks the field values on LimiterDecision with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LimiterDecision) ValidateAll ¶ added in v1.2.0
func (m *LimiterDecision) ValidateAll() error
ValidateAll checks the field values on LimiterDecision with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LimiterDecisionMultiError, or nil if none found.
type LimiterDecisionMultiError ¶ added in v1.2.0
type LimiterDecisionMultiError []error
LimiterDecisionMultiError is an error wrapping multiple validation errors returned by LimiterDecision.ValidateAll() if the designated constraints aren't met.
func (LimiterDecisionMultiError) AllErrors ¶ added in v1.2.0
func (m LimiterDecisionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LimiterDecisionMultiError) Error ¶ added in v1.2.0
func (m LimiterDecisionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LimiterDecisionValidationError ¶ added in v1.2.0
type LimiterDecisionValidationError struct {
// contains filtered or unexported fields
}
LimiterDecisionValidationError is the validation error returned by LimiterDecision.Validate if the designated constraints aren't met.
func (LimiterDecisionValidationError) Cause ¶ added in v1.2.0
func (e LimiterDecisionValidationError) Cause() error
Cause function returns cause value.
func (LimiterDecisionValidationError) Error ¶ added in v1.2.0
func (e LimiterDecisionValidationError) Error() string
Error satisfies the builtin error interface
func (LimiterDecisionValidationError) ErrorName ¶ added in v1.2.0
func (e LimiterDecisionValidationError) ErrorName() string
ErrorName returns error name.
func (LimiterDecisionValidationError) Field ¶ added in v1.2.0
func (e LimiterDecisionValidationError) Field() string
Field function returns field value.
func (LimiterDecisionValidationError) Key ¶ added in v1.2.0
func (e LimiterDecisionValidationError) Key() bool
Key function returns key value.
func (LimiterDecisionValidationError) Reason ¶ added in v1.2.0
func (e LimiterDecisionValidationError) Reason() string
Reason function returns reason value.
type LimiterDecision_ConcurrencyLimiterInfo ¶
type LimiterDecision_ConcurrencyLimiterInfo struct { WorkloadIndex string `protobuf:"bytes,1,opt,name=workload_index,json=workloadIndex,proto3" json:"workload_index,omitempty"` TokensConsumed uint64 `protobuf:"varint,2,opt,name=tokens_consumed,json=tokensConsumed,proto3" json:"tokens_consumed,omitempty"` // contains filtered or unexported fields }
func (*LimiterDecision_ConcurrencyLimiterInfo) DeepCopy ¶
func (in *LimiterDecision_ConcurrencyLimiterInfo) DeepCopy() *LimiterDecision_ConcurrencyLimiterInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimiterDecision_ConcurrencyLimiterInfo. Required by controller-gen.
func (*LimiterDecision_ConcurrencyLimiterInfo) DeepCopyInterface ¶
func (in *LimiterDecision_ConcurrencyLimiterInfo) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LimiterDecision_ConcurrencyLimiterInfo. Required by controller-gen.
func (*LimiterDecision_ConcurrencyLimiterInfo) DeepCopyInto ¶
func (in *LimiterDecision_ConcurrencyLimiterInfo) DeepCopyInto(out *LimiterDecision_ConcurrencyLimiterInfo)
DeepCopyInto supports using LimiterDecision_ConcurrencyLimiterInfo within kubernetes types, where deepcopy-gen is used.
func (*LimiterDecision_ConcurrencyLimiterInfo) Descriptor
deprecated
func (*LimiterDecision_ConcurrencyLimiterInfo) Descriptor() ([]byte, []int)
Deprecated: Use LimiterDecision_ConcurrencyLimiterInfo.ProtoReflect.Descriptor instead.
func (*LimiterDecision_ConcurrencyLimiterInfo) GetTokensConsumed ¶ added in v1.5.0
func (x *LimiterDecision_ConcurrencyLimiterInfo) GetTokensConsumed() uint64
func (*LimiterDecision_ConcurrencyLimiterInfo) GetWorkloadIndex ¶
func (x *LimiterDecision_ConcurrencyLimiterInfo) GetWorkloadIndex() string
func (*LimiterDecision_ConcurrencyLimiterInfo) MarshalJSON ¶
func (msg *LimiterDecision_ConcurrencyLimiterInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LimiterDecision_ConcurrencyLimiterInfo) ProtoMessage ¶
func (*LimiterDecision_ConcurrencyLimiterInfo) ProtoMessage()
func (*LimiterDecision_ConcurrencyLimiterInfo) ProtoReflect ¶
func (x *LimiterDecision_ConcurrencyLimiterInfo) ProtoReflect() protoreflect.Message
func (*LimiterDecision_ConcurrencyLimiterInfo) Reset ¶
func (x *LimiterDecision_ConcurrencyLimiterInfo) Reset()
func (*LimiterDecision_ConcurrencyLimiterInfo) String ¶
func (x *LimiterDecision_ConcurrencyLimiterInfo) String() string
func (*LimiterDecision_ConcurrencyLimiterInfo) UnmarshalJSON ¶
func (msg *LimiterDecision_ConcurrencyLimiterInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LimiterDecision_ConcurrencyLimiterInfo) Validate ¶ added in v1.2.0
func (m *LimiterDecision_ConcurrencyLimiterInfo) Validate() error
Validate checks the field values on LimiterDecision_ConcurrencyLimiterInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LimiterDecision_ConcurrencyLimiterInfo) ValidateAll ¶ added in v1.2.0
func (m *LimiterDecision_ConcurrencyLimiterInfo) ValidateAll() error
ValidateAll checks the field values on LimiterDecision_ConcurrencyLimiterInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LimiterDecision_ConcurrencyLimiterInfoMultiError, or nil if none found.
type LimiterDecision_ConcurrencyLimiterInfoMultiError ¶ added in v1.2.0
type LimiterDecision_ConcurrencyLimiterInfoMultiError []error
LimiterDecision_ConcurrencyLimiterInfoMultiError is an error wrapping multiple validation errors returned by LimiterDecision_ConcurrencyLimiterInfo.ValidateAll() if the designated constraints aren't met.
func (LimiterDecision_ConcurrencyLimiterInfoMultiError) AllErrors ¶ added in v1.2.0
func (m LimiterDecision_ConcurrencyLimiterInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LimiterDecision_ConcurrencyLimiterInfoMultiError) Error ¶ added in v1.2.0
func (m LimiterDecision_ConcurrencyLimiterInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LimiterDecision_ConcurrencyLimiterInfoValidationError ¶ added in v1.2.0
type LimiterDecision_ConcurrencyLimiterInfoValidationError struct {
// contains filtered or unexported fields
}
LimiterDecision_ConcurrencyLimiterInfoValidationError is the validation error returned by LimiterDecision_ConcurrencyLimiterInfo.Validate if the designated constraints aren't met.
func (LimiterDecision_ConcurrencyLimiterInfoValidationError) Cause ¶ added in v1.2.0
func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Cause() error
Cause function returns cause value.
func (LimiterDecision_ConcurrencyLimiterInfoValidationError) Error ¶ added in v1.2.0
func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Error() string
Error satisfies the builtin error interface
func (LimiterDecision_ConcurrencyLimiterInfoValidationError) ErrorName ¶ added in v1.2.0
func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) ErrorName() string
ErrorName returns error name.
func (LimiterDecision_ConcurrencyLimiterInfoValidationError) Field ¶ added in v1.2.0
func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Field() string
Field function returns field value.
func (LimiterDecision_ConcurrencyLimiterInfoValidationError) Key ¶ added in v1.2.0
func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Key() bool
Key function returns key value.
func (LimiterDecision_ConcurrencyLimiterInfoValidationError) Reason ¶ added in v1.2.0
func (e LimiterDecision_ConcurrencyLimiterInfoValidationError) Reason() string
Reason function returns reason value.
type LimiterDecision_ConcurrencyLimiterInfo_ ¶
type LimiterDecision_ConcurrencyLimiterInfo_ struct {
ConcurrencyLimiterInfo *LimiterDecision_ConcurrencyLimiterInfo `protobuf:"bytes,7,opt,name=concurrency_limiter_info,json=concurrencyLimiterInfo,proto3,oneof"`
}
type LimiterDecision_FlowRegulatorInfo ¶ added in v1.4.0
type LimiterDecision_FlowRegulatorInfo struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*LimiterDecision_FlowRegulatorInfo) DeepCopy ¶ added in v1.4.0
func (in *LimiterDecision_FlowRegulatorInfo) DeepCopy() *LimiterDecision_FlowRegulatorInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimiterDecision_FlowRegulatorInfo. Required by controller-gen.
func (*LimiterDecision_FlowRegulatorInfo) DeepCopyInterface ¶ added in v1.4.0
func (in *LimiterDecision_FlowRegulatorInfo) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LimiterDecision_FlowRegulatorInfo. Required by controller-gen.
func (*LimiterDecision_FlowRegulatorInfo) DeepCopyInto ¶ added in v1.4.0
func (in *LimiterDecision_FlowRegulatorInfo) DeepCopyInto(out *LimiterDecision_FlowRegulatorInfo)
DeepCopyInto supports using LimiterDecision_FlowRegulatorInfo within kubernetes types, where deepcopy-gen is used.
func (*LimiterDecision_FlowRegulatorInfo) Descriptor
deprecated
added in
v1.4.0
func (*LimiterDecision_FlowRegulatorInfo) Descriptor() ([]byte, []int)
Deprecated: Use LimiterDecision_FlowRegulatorInfo.ProtoReflect.Descriptor instead.
func (*LimiterDecision_FlowRegulatorInfo) GetLabel ¶ added in v1.4.0
func (x *LimiterDecision_FlowRegulatorInfo) GetLabel() string
func (*LimiterDecision_FlowRegulatorInfo) MarshalJSON ¶ added in v1.4.0
func (msg *LimiterDecision_FlowRegulatorInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LimiterDecision_FlowRegulatorInfo) ProtoMessage ¶ added in v1.4.0
func (*LimiterDecision_FlowRegulatorInfo) ProtoMessage()
func (*LimiterDecision_FlowRegulatorInfo) ProtoReflect ¶ added in v1.4.0
func (x *LimiterDecision_FlowRegulatorInfo) ProtoReflect() protoreflect.Message
func (*LimiterDecision_FlowRegulatorInfo) Reset ¶ added in v1.4.0
func (x *LimiterDecision_FlowRegulatorInfo) Reset()
func (*LimiterDecision_FlowRegulatorInfo) String ¶ added in v1.4.0
func (x *LimiterDecision_FlowRegulatorInfo) String() string
func (*LimiterDecision_FlowRegulatorInfo) UnmarshalJSON ¶ added in v1.4.0
func (msg *LimiterDecision_FlowRegulatorInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LimiterDecision_FlowRegulatorInfo) Validate ¶ added in v1.4.0
func (m *LimiterDecision_FlowRegulatorInfo) Validate() error
Validate checks the field values on LimiterDecision_FlowRegulatorInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LimiterDecision_FlowRegulatorInfo) ValidateAll ¶ added in v1.4.0
func (m *LimiterDecision_FlowRegulatorInfo) ValidateAll() error
ValidateAll checks the field values on LimiterDecision_FlowRegulatorInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LimiterDecision_FlowRegulatorInfoMultiError, or nil if none found.
type LimiterDecision_FlowRegulatorInfoMultiError ¶ added in v1.4.0
type LimiterDecision_FlowRegulatorInfoMultiError []error
LimiterDecision_FlowRegulatorInfoMultiError is an error wrapping multiple validation errors returned by LimiterDecision_FlowRegulatorInfo.ValidateAll() if the designated constraints aren't met.
func (LimiterDecision_FlowRegulatorInfoMultiError) AllErrors ¶ added in v1.4.0
func (m LimiterDecision_FlowRegulatorInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LimiterDecision_FlowRegulatorInfoMultiError) Error ¶ added in v1.4.0
func (m LimiterDecision_FlowRegulatorInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LimiterDecision_FlowRegulatorInfoValidationError ¶ added in v1.4.0
type LimiterDecision_FlowRegulatorInfoValidationError struct {
// contains filtered or unexported fields
}
LimiterDecision_FlowRegulatorInfoValidationError is the validation error returned by LimiterDecision_FlowRegulatorInfo.Validate if the designated constraints aren't met.
func (LimiterDecision_FlowRegulatorInfoValidationError) Cause ¶ added in v1.4.0
func (e LimiterDecision_FlowRegulatorInfoValidationError) Cause() error
Cause function returns cause value.
func (LimiterDecision_FlowRegulatorInfoValidationError) Error ¶ added in v1.4.0
func (e LimiterDecision_FlowRegulatorInfoValidationError) Error() string
Error satisfies the builtin error interface
func (LimiterDecision_FlowRegulatorInfoValidationError) ErrorName ¶ added in v1.4.0
func (e LimiterDecision_FlowRegulatorInfoValidationError) ErrorName() string
ErrorName returns error name.
func (LimiterDecision_FlowRegulatorInfoValidationError) Field ¶ added in v1.4.0
func (e LimiterDecision_FlowRegulatorInfoValidationError) Field() string
Field function returns field value.
func (LimiterDecision_FlowRegulatorInfoValidationError) Key ¶ added in v1.4.0
func (e LimiterDecision_FlowRegulatorInfoValidationError) Key() bool
Key function returns key value.
func (LimiterDecision_FlowRegulatorInfoValidationError) Reason ¶ added in v1.4.0
func (e LimiterDecision_FlowRegulatorInfoValidationError) Reason() string
Reason function returns reason value.
type LimiterDecision_FlowRegulatorInfo_ ¶ added in v1.4.0
type LimiterDecision_FlowRegulatorInfo_ struct {
FlowRegulatorInfo *LimiterDecision_FlowRegulatorInfo `protobuf:"bytes,8,opt,name=flow_regulator_info,json=flowRegulatorInfo,proto3,oneof"`
}
type LimiterDecision_LimiterReason ¶
type LimiterDecision_LimiterReason int32
const ( LimiterDecision_LIMITER_REASON_UNSPECIFIED LimiterDecision_LimiterReason = 0 LimiterDecision_LIMITER_REASON_KEY_NOT_FOUND LimiterDecision_LimiterReason = 1 )
func (LimiterDecision_LimiterReason) Descriptor ¶
func (LimiterDecision_LimiterReason) Descriptor() protoreflect.EnumDescriptor
func (LimiterDecision_LimiterReason) Enum ¶
func (x LimiterDecision_LimiterReason) Enum() *LimiterDecision_LimiterReason
func (LimiterDecision_LimiterReason) EnumDescriptor
deprecated
func (LimiterDecision_LimiterReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use LimiterDecision_LimiterReason.Descriptor instead.
func (LimiterDecision_LimiterReason) Number ¶
func (x LimiterDecision_LimiterReason) Number() protoreflect.EnumNumber
func (LimiterDecision_LimiterReason) String ¶
func (x LimiterDecision_LimiterReason) String() string
func (LimiterDecision_LimiterReason) Type ¶
func (LimiterDecision_LimiterReason) Type() protoreflect.EnumType
type LimiterDecision_RateLimiterInfo ¶
type LimiterDecision_RateLimiterInfo struct { Remaining int64 `protobuf:"varint,1,opt,name=remaining,proto3" json:"remaining,omitempty"` Current int64 `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` TokensConsumed uint64 `protobuf:"varint,4,opt,name=tokens_consumed,json=tokensConsumed,proto3" json:"tokens_consumed,omitempty"` // contains filtered or unexported fields }
func (*LimiterDecision_RateLimiterInfo) DeepCopy ¶
func (in *LimiterDecision_RateLimiterInfo) DeepCopy() *LimiterDecision_RateLimiterInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimiterDecision_RateLimiterInfo. Required by controller-gen.
func (*LimiterDecision_RateLimiterInfo) DeepCopyInterface ¶
func (in *LimiterDecision_RateLimiterInfo) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LimiterDecision_RateLimiterInfo. Required by controller-gen.
func (*LimiterDecision_RateLimiterInfo) DeepCopyInto ¶
func (in *LimiterDecision_RateLimiterInfo) DeepCopyInto(out *LimiterDecision_RateLimiterInfo)
DeepCopyInto supports using LimiterDecision_RateLimiterInfo within kubernetes types, where deepcopy-gen is used.
func (*LimiterDecision_RateLimiterInfo) Descriptor
deprecated
func (*LimiterDecision_RateLimiterInfo) Descriptor() ([]byte, []int)
Deprecated: Use LimiterDecision_RateLimiterInfo.ProtoReflect.Descriptor instead.
func (*LimiterDecision_RateLimiterInfo) GetCurrent ¶
func (x *LimiterDecision_RateLimiterInfo) GetCurrent() int64
func (*LimiterDecision_RateLimiterInfo) GetLabel ¶
func (x *LimiterDecision_RateLimiterInfo) GetLabel() string
func (*LimiterDecision_RateLimiterInfo) GetRemaining ¶
func (x *LimiterDecision_RateLimiterInfo) GetRemaining() int64
func (*LimiterDecision_RateLimiterInfo) GetTokensConsumed ¶ added in v1.5.0
func (x *LimiterDecision_RateLimiterInfo) GetTokensConsumed() uint64
func (*LimiterDecision_RateLimiterInfo) MarshalJSON ¶
func (msg *LimiterDecision_RateLimiterInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LimiterDecision_RateLimiterInfo) ProtoMessage ¶
func (*LimiterDecision_RateLimiterInfo) ProtoMessage()
func (*LimiterDecision_RateLimiterInfo) ProtoReflect ¶
func (x *LimiterDecision_RateLimiterInfo) ProtoReflect() protoreflect.Message
func (*LimiterDecision_RateLimiterInfo) Reset ¶
func (x *LimiterDecision_RateLimiterInfo) Reset()
func (*LimiterDecision_RateLimiterInfo) String ¶
func (x *LimiterDecision_RateLimiterInfo) String() string
func (*LimiterDecision_RateLimiterInfo) UnmarshalJSON ¶
func (msg *LimiterDecision_RateLimiterInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LimiterDecision_RateLimiterInfo) Validate ¶ added in v1.2.0
func (m *LimiterDecision_RateLimiterInfo) Validate() error
Validate checks the field values on LimiterDecision_RateLimiterInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LimiterDecision_RateLimiterInfo) ValidateAll ¶ added in v1.2.0
func (m *LimiterDecision_RateLimiterInfo) ValidateAll() error
ValidateAll checks the field values on LimiterDecision_RateLimiterInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LimiterDecision_RateLimiterInfoMultiError, or nil if none found.
type LimiterDecision_RateLimiterInfoMultiError ¶ added in v1.2.0
type LimiterDecision_RateLimiterInfoMultiError []error
LimiterDecision_RateLimiterInfoMultiError is an error wrapping multiple validation errors returned by LimiterDecision_RateLimiterInfo.ValidateAll() if the designated constraints aren't met.
func (LimiterDecision_RateLimiterInfoMultiError) AllErrors ¶ added in v1.2.0
func (m LimiterDecision_RateLimiterInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LimiterDecision_RateLimiterInfoMultiError) Error ¶ added in v1.2.0
func (m LimiterDecision_RateLimiterInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LimiterDecision_RateLimiterInfoValidationError ¶ added in v1.2.0
type LimiterDecision_RateLimiterInfoValidationError struct {
// contains filtered or unexported fields
}
LimiterDecision_RateLimiterInfoValidationError is the validation error returned by LimiterDecision_RateLimiterInfo.Validate if the designated constraints aren't met.
func (LimiterDecision_RateLimiterInfoValidationError) Cause ¶ added in v1.2.0
func (e LimiterDecision_RateLimiterInfoValidationError) Cause() error
Cause function returns cause value.
func (LimiterDecision_RateLimiterInfoValidationError) Error ¶ added in v1.2.0
func (e LimiterDecision_RateLimiterInfoValidationError) Error() string
Error satisfies the builtin error interface
func (LimiterDecision_RateLimiterInfoValidationError) ErrorName ¶ added in v1.2.0
func (e LimiterDecision_RateLimiterInfoValidationError) ErrorName() string
ErrorName returns error name.
func (LimiterDecision_RateLimiterInfoValidationError) Field ¶ added in v1.2.0
func (e LimiterDecision_RateLimiterInfoValidationError) Field() string
Field function returns field value.
func (LimiterDecision_RateLimiterInfoValidationError) Key ¶ added in v1.2.0
func (e LimiterDecision_RateLimiterInfoValidationError) Key() bool
Key function returns key value.
func (LimiterDecision_RateLimiterInfoValidationError) Reason ¶ added in v1.2.0
func (e LimiterDecision_RateLimiterInfoValidationError) Reason() string
Reason function returns reason value.
type LimiterDecision_RateLimiterInfo_ ¶
type LimiterDecision_RateLimiterInfo_ struct {
RateLimiterInfo *LimiterDecision_RateLimiterInfo `protobuf:"bytes,6,opt,name=rate_limiter_info,json=rateLimiterInfo,proto3,oneof"`
}
type UnimplementedFlowControlServiceServer ¶
type UnimplementedFlowControlServiceServer struct { }
UnimplementedFlowControlServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedFlowControlServiceServer) Check ¶
func (UnimplementedFlowControlServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
type UnsafeFlowControlServiceServer ¶
type UnsafeFlowControlServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFlowControlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FlowControlServiceServer will result in compilation errors.