Documentation
¶
Index ¶
- Variables
- type ClassifierAttributes
- func (*ClassifierAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *ClassifierAttributes) GetClassifierIndex() int64
- func (x *ClassifierAttributes) GetPolicyHash() string
- func (x *ClassifierAttributes) GetPolicyName() string
- func (msg *ClassifierAttributes) MarshalJSON() ([]byte, error)
- func (m *ClassifierAttributes) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ClassifierAttributes) MarshalToVT(dAtA []byte) (int, error)
- func (m *ClassifierAttributes) MarshalVT() (dAtA []byte, err error)
- func (*ClassifierAttributes) ProtoMessage()
- func (x *ClassifierAttributes) ProtoReflect() protoreflect.Message
- func (x *ClassifierAttributes) Reset()
- func (m *ClassifierAttributes) SizeVT() (n int)
- func (x *ClassifierAttributes) String() string
- func (msg *ClassifierAttributes) UnmarshalJSON(b []byte) error
- func (m *ClassifierAttributes) UnmarshalVT(dAtA []byte) error
- func (m *ClassifierAttributes) Validate() error
- func (m *ClassifierAttributes) ValidateAll() error
- type ClassifierAttributesMultiError
- type ClassifierAttributesValidationError
- func (e ClassifierAttributesValidationError) Cause() error
- func (e ClassifierAttributesValidationError) Error() string
- func (e ClassifierAttributesValidationError) ErrorName() string
- func (e ClassifierAttributesValidationError) Field() string
- func (e ClassifierAttributesValidationError) Key() bool
- func (e ClassifierAttributesValidationError) Reason() string
- type ClassifierWrapper
- func (*ClassifierWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *ClassifierWrapper) GetClassifier() *v1.Classifier
- func (x *ClassifierWrapper) GetClassifierAttributes() *ClassifierAttributes
- func (msg *ClassifierWrapper) MarshalJSON() ([]byte, error)
- func (m *ClassifierWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ClassifierWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *ClassifierWrapper) MarshalVT() (dAtA []byte, err error)
- func (*ClassifierWrapper) ProtoMessage()
- func (x *ClassifierWrapper) ProtoReflect() protoreflect.Message
- func (x *ClassifierWrapper) Reset()
- func (m *ClassifierWrapper) SizeVT() (n int)
- func (x *ClassifierWrapper) String() string
- func (msg *ClassifierWrapper) UnmarshalJSON(b []byte) error
- func (m *ClassifierWrapper) UnmarshalVT(dAtA []byte) error
- func (m *ClassifierWrapper) Validate() error
- func (m *ClassifierWrapper) ValidateAll() error
- type ClassifierWrapperMultiError
- type ClassifierWrapperValidationError
- func (e ClassifierWrapperValidationError) Cause() error
- func (e ClassifierWrapperValidationError) Error() string
- func (e ClassifierWrapperValidationError) ErrorName() string
- func (e ClassifierWrapperValidationError) Field() string
- func (e ClassifierWrapperValidationError) Key() bool
- func (e ClassifierWrapperValidationError) Reason() string
- type CommonAttributes
- func (*CommonAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *CommonAttributes) GetComponentId() string
- func (x *CommonAttributes) GetPolicyHash() string
- func (x *CommonAttributes) GetPolicyName() string
- func (msg *CommonAttributes) MarshalJSON() ([]byte, error)
- func (m *CommonAttributes) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommonAttributes) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommonAttributes) MarshalVT() (dAtA []byte, err error)
- func (*CommonAttributes) ProtoMessage()
- func (x *CommonAttributes) ProtoReflect() protoreflect.Message
- func (x *CommonAttributes) Reset()
- func (m *CommonAttributes) SizeVT() (n int)
- func (x *CommonAttributes) String() string
- func (msg *CommonAttributes) UnmarshalJSON(b []byte) error
- func (m *CommonAttributes) UnmarshalVT(dAtA []byte) error
- func (m *CommonAttributes) Validate() error
- func (m *CommonAttributes) ValidateAll() error
- type CommonAttributesMultiError
- type CommonAttributesValidationError
- func (e CommonAttributesValidationError) Cause() error
- func (e CommonAttributesValidationError) Error() string
- func (e CommonAttributesValidationError) ErrorName() string
- func (e CommonAttributesValidationError) Field() string
- func (e CommonAttributesValidationError) Key() bool
- func (e CommonAttributesValidationError) Reason() string
- type FluxMeterWrapper
- func (*FluxMeterWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *FluxMeterWrapper) GetFluxMeter() *v1.FluxMeter
- func (x *FluxMeterWrapper) GetFluxMeterName() string
- func (x *FluxMeterWrapper) GetPolicyName() string
- func (msg *FluxMeterWrapper) MarshalJSON() ([]byte, error)
- func (m *FluxMeterWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FluxMeterWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *FluxMeterWrapper) MarshalVT() (dAtA []byte, err error)
- func (*FluxMeterWrapper) ProtoMessage()
- func (x *FluxMeterWrapper) ProtoReflect() protoreflect.Message
- func (x *FluxMeterWrapper) Reset()
- func (m *FluxMeterWrapper) SizeVT() (n int)
- func (x *FluxMeterWrapper) String() string
- func (msg *FluxMeterWrapper) UnmarshalJSON(b []byte) error
- func (m *FluxMeterWrapper) UnmarshalVT(dAtA []byte) error
- func (m *FluxMeterWrapper) Validate() error
- func (m *FluxMeterWrapper) ValidateAll() error
- type FluxMeterWrapperMultiError
- type FluxMeterWrapperValidationError
- func (e FluxMeterWrapperValidationError) Cause() error
- func (e FluxMeterWrapperValidationError) Error() string
- func (e FluxMeterWrapperValidationError) ErrorName() string
- func (e FluxMeterWrapperValidationError) Field() string
- func (e FluxMeterWrapperValidationError) Key() bool
- func (e FluxMeterWrapperValidationError) Reason() string
- type InfraMeterWrapper
- func (*InfraMeterWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *InfraMeterWrapper) GetInfraMeter() *v1.InfraMeter
- func (x *InfraMeterWrapper) GetInfraMeterName() string
- func (x *InfraMeterWrapper) GetPolicyName() string
- func (msg *InfraMeterWrapper) MarshalJSON() ([]byte, error)
- func (m *InfraMeterWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InfraMeterWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *InfraMeterWrapper) MarshalVT() (dAtA []byte, err error)
- func (*InfraMeterWrapper) ProtoMessage()
- func (x *InfraMeterWrapper) ProtoReflect() protoreflect.Message
- func (x *InfraMeterWrapper) Reset()
- func (m *InfraMeterWrapper) SizeVT() (n int)
- func (x *InfraMeterWrapper) String() string
- func (msg *InfraMeterWrapper) UnmarshalJSON(b []byte) error
- func (m *InfraMeterWrapper) UnmarshalVT(dAtA []byte) error
- func (m *InfraMeterWrapper) Validate() error
- func (m *InfraMeterWrapper) ValidateAll() error
- type InfraMeterWrapperMultiError
- type InfraMeterWrapperValidationError
- func (e InfraMeterWrapperValidationError) Cause() error
- func (e InfraMeterWrapperValidationError) Error() string
- func (e InfraMeterWrapperValidationError) ErrorName() string
- func (e InfraMeterWrapperValidationError) Field() string
- func (e InfraMeterWrapperValidationError) Key() bool
- func (e InfraMeterWrapperValidationError) Reason() string
- type LoadDecision
- func (*LoadDecision) Descriptor() ([]byte, []int)deprecated
- func (x *LoadDecision) GetLoadMultiplier() float64
- func (x *LoadDecision) GetPassThrough() bool
- func (x *LoadDecision) GetTickInfo() *TickInfo
- func (x *LoadDecision) GetTokensByWorkloadIndex() map[string]float64
- func (msg *LoadDecision) MarshalJSON() ([]byte, error)
- func (m *LoadDecision) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LoadDecision) MarshalToVT(dAtA []byte) (int, error)
- func (m *LoadDecision) MarshalVT() (dAtA []byte, err error)
- func (*LoadDecision) ProtoMessage()
- func (x *LoadDecision) ProtoReflect() protoreflect.Message
- func (x *LoadDecision) Reset()
- func (m *LoadDecision) SizeVT() (n int)
- func (x *LoadDecision) String() string
- func (msg *LoadDecision) UnmarshalJSON(b []byte) error
- func (m *LoadDecision) UnmarshalVT(dAtA []byte) error
- func (m *LoadDecision) Validate() error
- func (m *LoadDecision) ValidateAll() error
- type LoadDecisionMultiError
- type LoadDecisionValidationError
- func (e LoadDecisionValidationError) Cause() error
- func (e LoadDecisionValidationError) Error() string
- func (e LoadDecisionValidationError) ErrorName() string
- func (e LoadDecisionValidationError) Field() string
- func (e LoadDecisionValidationError) Key() bool
- func (e LoadDecisionValidationError) Reason() string
- type LoadDecisionWrapper
- func (*LoadDecisionWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *LoadDecisionWrapper) GetCommonAttributes() *CommonAttributes
- func (x *LoadDecisionWrapper) GetLoadDecision() *LoadDecision
- func (msg *LoadDecisionWrapper) MarshalJSON() ([]byte, error)
- func (m *LoadDecisionWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LoadDecisionWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *LoadDecisionWrapper) MarshalVT() (dAtA []byte, err error)
- func (*LoadDecisionWrapper) ProtoMessage()
- func (x *LoadDecisionWrapper) ProtoReflect() protoreflect.Message
- func (x *LoadDecisionWrapper) Reset()
- func (m *LoadDecisionWrapper) SizeVT() (n int)
- func (x *LoadDecisionWrapper) String() string
- func (msg *LoadDecisionWrapper) UnmarshalJSON(b []byte) error
- func (m *LoadDecisionWrapper) UnmarshalVT(dAtA []byte) error
- func (m *LoadDecisionWrapper) Validate() error
- func (m *LoadDecisionWrapper) ValidateAll() error
- type LoadDecisionWrapperMultiError
- type LoadDecisionWrapperValidationError
- func (e LoadDecisionWrapperValidationError) Cause() error
- func (e LoadDecisionWrapperValidationError) Error() string
- func (e LoadDecisionWrapperValidationError) ErrorName() string
- func (e LoadDecisionWrapperValidationError) Field() string
- func (e LoadDecisionWrapperValidationError) Key() bool
- func (e LoadDecisionWrapperValidationError) Reason() string
- type LoadSchedulerWrapper
- func (*LoadSchedulerWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *LoadSchedulerWrapper) GetCommonAttributes() *CommonAttributes
- func (x *LoadSchedulerWrapper) GetLoadScheduler() *v1.LoadScheduler
- func (msg *LoadSchedulerWrapper) MarshalJSON() ([]byte, error)
- func (m *LoadSchedulerWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LoadSchedulerWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *LoadSchedulerWrapper) MarshalVT() (dAtA []byte, err error)
- func (*LoadSchedulerWrapper) ProtoMessage()
- func (x *LoadSchedulerWrapper) ProtoReflect() protoreflect.Message
- func (x *LoadSchedulerWrapper) Reset()
- func (m *LoadSchedulerWrapper) SizeVT() (n int)
- func (x *LoadSchedulerWrapper) String() string
- func (msg *LoadSchedulerWrapper) UnmarshalJSON(b []byte) error
- func (m *LoadSchedulerWrapper) UnmarshalVT(dAtA []byte) error
- func (m *LoadSchedulerWrapper) Validate() error
- func (m *LoadSchedulerWrapper) ValidateAll() error
- type LoadSchedulerWrapperMultiError
- type LoadSchedulerWrapperValidationError
- func (e LoadSchedulerWrapperValidationError) Cause() error
- func (e LoadSchedulerWrapperValidationError) Error() string
- func (e LoadSchedulerWrapperValidationError) ErrorName() string
- func (e LoadSchedulerWrapperValidationError) Field() string
- func (e LoadSchedulerWrapperValidationError) Key() bool
- func (e LoadSchedulerWrapperValidationError) Reason() string
- type PodScalerWrapper
- func (*PodScalerWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *PodScalerWrapper) GetCommonAttributes() *CommonAttributes
- func (x *PodScalerWrapper) GetPodScaler() *v1.PodScaler
- func (msg *PodScalerWrapper) MarshalJSON() ([]byte, error)
- func (m *PodScalerWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PodScalerWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *PodScalerWrapper) MarshalVT() (dAtA []byte, err error)
- func (*PodScalerWrapper) ProtoMessage()
- func (x *PodScalerWrapper) ProtoReflect() protoreflect.Message
- func (x *PodScalerWrapper) Reset()
- func (m *PodScalerWrapper) SizeVT() (n int)
- func (x *PodScalerWrapper) String() string
- func (msg *PodScalerWrapper) UnmarshalJSON(b []byte) error
- func (m *PodScalerWrapper) UnmarshalVT(dAtA []byte) error
- func (m *PodScalerWrapper) Validate() error
- func (m *PodScalerWrapper) ValidateAll() error
- type PodScalerWrapperMultiError
- type PodScalerWrapperValidationError
- func (e PodScalerWrapperValidationError) Cause() error
- func (e PodScalerWrapperValidationError) Error() string
- func (e PodScalerWrapperValidationError) ErrorName() string
- func (e PodScalerWrapperValidationError) Field() string
- func (e PodScalerWrapperValidationError) Key() bool
- func (e PodScalerWrapperValidationError) Reason() string
- type PolicyWrapper
- func (*PolicyWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyWrapper) GetCommonAttributes() *CommonAttributes
- func (x *PolicyWrapper) GetPolicy() *v1.Policy
- func (x *PolicyWrapper) GetSource() PolicyWrapper_Source
- func (msg *PolicyWrapper) MarshalJSON() ([]byte, error)
- func (m *PolicyWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PolicyWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *PolicyWrapper) MarshalVT() (dAtA []byte, err error)
- func (*PolicyWrapper) ProtoMessage()
- func (x *PolicyWrapper) ProtoReflect() protoreflect.Message
- func (x *PolicyWrapper) Reset()
- func (m *PolicyWrapper) SizeVT() (n int)
- func (x *PolicyWrapper) String() string
- func (msg *PolicyWrapper) UnmarshalJSON(b []byte) error
- func (m *PolicyWrapper) UnmarshalVT(dAtA []byte) error
- func (m *PolicyWrapper) Validate() error
- func (m *PolicyWrapper) ValidateAll() error
- type PolicyWrapperMultiError
- type PolicyWrapperValidationError
- func (e PolicyWrapperValidationError) Cause() error
- func (e PolicyWrapperValidationError) Error() string
- func (e PolicyWrapperValidationError) ErrorName() string
- func (e PolicyWrapperValidationError) Field() string
- func (e PolicyWrapperValidationError) Key() bool
- func (e PolicyWrapperValidationError) Reason() string
- type PolicyWrapper_Source
- func (PolicyWrapper_Source) Descriptor() protoreflect.EnumDescriptor
- func (x PolicyWrapper_Source) Enum() *PolicyWrapper_Source
- func (PolicyWrapper_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x PolicyWrapper_Source) Number() protoreflect.EnumNumber
- func (x PolicyWrapper_Source) String() string
- func (PolicyWrapper_Source) Type() protoreflect.EnumType
- type PolicyWrappers
- func (*PolicyWrappers) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyWrappers) GetPolicyWrappers() map[string]*PolicyWrapper
- func (msg *PolicyWrappers) MarshalJSON() ([]byte, error)
- func (m *PolicyWrappers) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PolicyWrappers) MarshalToVT(dAtA []byte) (int, error)
- func (m *PolicyWrappers) MarshalVT() (dAtA []byte, err error)
- func (*PolicyWrappers) ProtoMessage()
- func (x *PolicyWrappers) ProtoReflect() protoreflect.Message
- func (x *PolicyWrappers) Reset()
- func (m *PolicyWrappers) SizeVT() (n int)
- func (x *PolicyWrappers) String() string
- func (msg *PolicyWrappers) UnmarshalJSON(b []byte) error
- func (m *PolicyWrappers) UnmarshalVT(dAtA []byte) error
- func (m *PolicyWrappers) Validate() error
- func (m *PolicyWrappers) ValidateAll() error
- type PolicyWrappersMultiError
- type PolicyWrappersValidationError
- func (e PolicyWrappersValidationError) Cause() error
- func (e PolicyWrappersValidationError) Error() string
- func (e PolicyWrappersValidationError) ErrorName() string
- func (e PolicyWrappersValidationError) Field() string
- func (e PolicyWrappersValidationError) Key() bool
- func (e PolicyWrappersValidationError) Reason() string
- type QuotaSchedulerWrapper
- func (*QuotaSchedulerWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaSchedulerWrapper) GetCommonAttributes() *CommonAttributes
- func (x *QuotaSchedulerWrapper) GetQuotaScheduler() *v1.QuotaScheduler
- func (msg *QuotaSchedulerWrapper) MarshalJSON() ([]byte, error)
- func (m *QuotaSchedulerWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QuotaSchedulerWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *QuotaSchedulerWrapper) MarshalVT() (dAtA []byte, err error)
- func (*QuotaSchedulerWrapper) ProtoMessage()
- func (x *QuotaSchedulerWrapper) ProtoReflect() protoreflect.Message
- func (x *QuotaSchedulerWrapper) Reset()
- func (m *QuotaSchedulerWrapper) SizeVT() (n int)
- func (x *QuotaSchedulerWrapper) String() string
- func (msg *QuotaSchedulerWrapper) UnmarshalJSON(b []byte) error
- func (m *QuotaSchedulerWrapper) UnmarshalVT(dAtA []byte) error
- func (m *QuotaSchedulerWrapper) Validate() error
- func (m *QuotaSchedulerWrapper) ValidateAll() error
- type QuotaSchedulerWrapperMultiError
- type QuotaSchedulerWrapperValidationError
- func (e QuotaSchedulerWrapperValidationError) Cause() error
- func (e QuotaSchedulerWrapperValidationError) Error() string
- func (e QuotaSchedulerWrapperValidationError) ErrorName() string
- func (e QuotaSchedulerWrapperValidationError) Field() string
- func (e QuotaSchedulerWrapperValidationError) Key() bool
- func (e QuotaSchedulerWrapperValidationError) Reason() string
- type RateLimiterDecision
- func (*RateLimiterDecision) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimiterDecision) GetBucketCapacity() float64
- func (x *RateLimiterDecision) GetFillAmount() float64
- func (x *RateLimiterDecision) GetPassThrough() bool
- func (msg *RateLimiterDecision) MarshalJSON() ([]byte, error)
- func (m *RateLimiterDecision) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RateLimiterDecision) MarshalToVT(dAtA []byte) (int, error)
- func (m *RateLimiterDecision) MarshalVT() (dAtA []byte, err error)
- func (*RateLimiterDecision) ProtoMessage()
- func (x *RateLimiterDecision) ProtoReflect() protoreflect.Message
- func (x *RateLimiterDecision) Reset()
- func (m *RateLimiterDecision) SizeVT() (n int)
- func (x *RateLimiterDecision) String() string
- func (msg *RateLimiterDecision) UnmarshalJSON(b []byte) error
- func (m *RateLimiterDecision) UnmarshalVT(dAtA []byte) error
- func (m *RateLimiterDecision) Validate() error
- func (m *RateLimiterDecision) ValidateAll() error
- type RateLimiterDecisionMultiError
- type RateLimiterDecisionValidationError
- func (e RateLimiterDecisionValidationError) Cause() error
- func (e RateLimiterDecisionValidationError) Error() string
- func (e RateLimiterDecisionValidationError) ErrorName() string
- func (e RateLimiterDecisionValidationError) Field() string
- func (e RateLimiterDecisionValidationError) Key() bool
- func (e RateLimiterDecisionValidationError) Reason() string
- type RateLimiterDecisionWrapper
- func (*RateLimiterDecisionWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimiterDecisionWrapper) GetCommonAttributes() *CommonAttributes
- func (x *RateLimiterDecisionWrapper) GetRateLimiterDecision() *RateLimiterDecision
- func (msg *RateLimiterDecisionWrapper) MarshalJSON() ([]byte, error)
- func (m *RateLimiterDecisionWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RateLimiterDecisionWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *RateLimiterDecisionWrapper) MarshalVT() (dAtA []byte, err error)
- func (*RateLimiterDecisionWrapper) ProtoMessage()
- func (x *RateLimiterDecisionWrapper) ProtoReflect() protoreflect.Message
- func (x *RateLimiterDecisionWrapper) Reset()
- func (m *RateLimiterDecisionWrapper) SizeVT() (n int)
- func (x *RateLimiterDecisionWrapper) String() string
- func (msg *RateLimiterDecisionWrapper) UnmarshalJSON(b []byte) error
- func (m *RateLimiterDecisionWrapper) UnmarshalVT(dAtA []byte) error
- func (m *RateLimiterDecisionWrapper) Validate() error
- func (m *RateLimiterDecisionWrapper) ValidateAll() error
- type RateLimiterDecisionWrapperMultiError
- type RateLimiterDecisionWrapperValidationError
- func (e RateLimiterDecisionWrapperValidationError) Cause() error
- func (e RateLimiterDecisionWrapperValidationError) Error() string
- func (e RateLimiterDecisionWrapperValidationError) ErrorName() string
- func (e RateLimiterDecisionWrapperValidationError) Field() string
- func (e RateLimiterDecisionWrapperValidationError) Key() bool
- func (e RateLimiterDecisionWrapperValidationError) Reason() string
- type RateLimiterWrapper
- func (*RateLimiterWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimiterWrapper) GetCommonAttributes() *CommonAttributes
- func (x *RateLimiterWrapper) GetRateLimiter() *v1.RateLimiter
- func (msg *RateLimiterWrapper) MarshalJSON() ([]byte, error)
- func (m *RateLimiterWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RateLimiterWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *RateLimiterWrapper) MarshalVT() (dAtA []byte, err error)
- func (*RateLimiterWrapper) ProtoMessage()
- func (x *RateLimiterWrapper) ProtoReflect() protoreflect.Message
- func (x *RateLimiterWrapper) Reset()
- func (m *RateLimiterWrapper) SizeVT() (n int)
- func (x *RateLimiterWrapper) String() string
- func (msg *RateLimiterWrapper) UnmarshalJSON(b []byte) error
- func (m *RateLimiterWrapper) UnmarshalVT(dAtA []byte) error
- func (m *RateLimiterWrapper) Validate() error
- func (m *RateLimiterWrapper) ValidateAll() error
- type RateLimiterWrapperMultiError
- type RateLimiterWrapperValidationError
- func (e RateLimiterWrapperValidationError) Cause() error
- func (e RateLimiterWrapperValidationError) Error() string
- func (e RateLimiterWrapperValidationError) ErrorName() string
- func (e RateLimiterWrapperValidationError) Field() string
- func (e RateLimiterWrapperValidationError) Key() bool
- func (e RateLimiterWrapperValidationError) Reason() string
- type SamplerDecision
- func (*SamplerDecision) Descriptor() ([]byte, []int)deprecated
- func (x *SamplerDecision) GetAcceptPercentage() float64
- func (x *SamplerDecision) GetPassThroughLabelValues() []string
- func (msg *SamplerDecision) MarshalJSON() ([]byte, error)
- func (m *SamplerDecision) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SamplerDecision) MarshalToVT(dAtA []byte) (int, error)
- func (m *SamplerDecision) MarshalVT() (dAtA []byte, err error)
- func (*SamplerDecision) ProtoMessage()
- func (x *SamplerDecision) ProtoReflect() protoreflect.Message
- func (x *SamplerDecision) Reset()
- func (m *SamplerDecision) SizeVT() (n int)
- func (x *SamplerDecision) String() string
- func (msg *SamplerDecision) UnmarshalJSON(b []byte) error
- func (m *SamplerDecision) UnmarshalVT(dAtA []byte) error
- func (m *SamplerDecision) Validate() error
- func (m *SamplerDecision) ValidateAll() error
- type SamplerDecisionMultiError
- type SamplerDecisionValidationError
- func (e SamplerDecisionValidationError) Cause() error
- func (e SamplerDecisionValidationError) Error() string
- func (e SamplerDecisionValidationError) ErrorName() string
- func (e SamplerDecisionValidationError) Field() string
- func (e SamplerDecisionValidationError) Key() bool
- func (e SamplerDecisionValidationError) Reason() string
- type SamplerDecisionWrapper
- func (*SamplerDecisionWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *SamplerDecisionWrapper) GetCommonAttributes() *CommonAttributes
- func (x *SamplerDecisionWrapper) GetSamplerDecision() *SamplerDecision
- func (msg *SamplerDecisionWrapper) MarshalJSON() ([]byte, error)
- func (m *SamplerDecisionWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SamplerDecisionWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *SamplerDecisionWrapper) MarshalVT() (dAtA []byte, err error)
- func (*SamplerDecisionWrapper) ProtoMessage()
- func (x *SamplerDecisionWrapper) ProtoReflect() protoreflect.Message
- func (x *SamplerDecisionWrapper) Reset()
- func (m *SamplerDecisionWrapper) SizeVT() (n int)
- func (x *SamplerDecisionWrapper) String() string
- func (msg *SamplerDecisionWrapper) UnmarshalJSON(b []byte) error
- func (m *SamplerDecisionWrapper) UnmarshalVT(dAtA []byte) error
- func (m *SamplerDecisionWrapper) Validate() error
- func (m *SamplerDecisionWrapper) ValidateAll() error
- type SamplerDecisionWrapperMultiError
- type SamplerDecisionWrapperValidationError
- func (e SamplerDecisionWrapperValidationError) Cause() error
- func (e SamplerDecisionWrapperValidationError) Error() string
- func (e SamplerDecisionWrapperValidationError) ErrorName() string
- func (e SamplerDecisionWrapperValidationError) Field() string
- func (e SamplerDecisionWrapperValidationError) Key() bool
- func (e SamplerDecisionWrapperValidationError) Reason() string
- type SamplerWrapper
- func (*SamplerWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *SamplerWrapper) GetCommonAttributes() *CommonAttributes
- func (x *SamplerWrapper) GetSampler() *v1.Sampler
- func (msg *SamplerWrapper) MarshalJSON() ([]byte, error)
- func (m *SamplerWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SamplerWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *SamplerWrapper) MarshalVT() (dAtA []byte, err error)
- func (*SamplerWrapper) ProtoMessage()
- func (x *SamplerWrapper) ProtoReflect() protoreflect.Message
- func (x *SamplerWrapper) Reset()
- func (m *SamplerWrapper) SizeVT() (n int)
- func (x *SamplerWrapper) String() string
- func (msg *SamplerWrapper) UnmarshalJSON(b []byte) error
- func (m *SamplerWrapper) UnmarshalVT(dAtA []byte) error
- func (m *SamplerWrapper) Validate() error
- func (m *SamplerWrapper) ValidateAll() error
- type SamplerWrapperMultiError
- type SamplerWrapperValidationError
- func (e SamplerWrapperValidationError) Cause() error
- func (e SamplerWrapperValidationError) Error() string
- func (e SamplerWrapperValidationError) ErrorName() string
- func (e SamplerWrapperValidationError) Field() string
- func (e SamplerWrapperValidationError) Key() bool
- func (e SamplerWrapperValidationError) Reason() string
- type ScaleDecision
- func (*ScaleDecision) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleDecision) GetDesiredReplicas() int32
- func (msg *ScaleDecision) MarshalJSON() ([]byte, error)
- func (m *ScaleDecision) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScaleDecision) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScaleDecision) MarshalVT() (dAtA []byte, err error)
- func (*ScaleDecision) ProtoMessage()
- func (x *ScaleDecision) ProtoReflect() protoreflect.Message
- func (x *ScaleDecision) Reset()
- func (m *ScaleDecision) SizeVT() (n int)
- func (x *ScaleDecision) String() string
- func (msg *ScaleDecision) UnmarshalJSON(b []byte) error
- func (m *ScaleDecision) UnmarshalVT(dAtA []byte) error
- func (m *ScaleDecision) Validate() error
- func (m *ScaleDecision) ValidateAll() error
- type ScaleDecisionMultiError
- type ScaleDecisionValidationError
- func (e ScaleDecisionValidationError) Cause() error
- func (e ScaleDecisionValidationError) Error() string
- func (e ScaleDecisionValidationError) ErrorName() string
- func (e ScaleDecisionValidationError) Field() string
- func (e ScaleDecisionValidationError) Key() bool
- func (e ScaleDecisionValidationError) Reason() string
- type ScaleDecisionWrapper
- func (*ScaleDecisionWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleDecisionWrapper) GetCommonAttributes() *CommonAttributes
- func (x *ScaleDecisionWrapper) GetScaleDecision() *ScaleDecision
- func (msg *ScaleDecisionWrapper) MarshalJSON() ([]byte, error)
- func (m *ScaleDecisionWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScaleDecisionWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScaleDecisionWrapper) MarshalVT() (dAtA []byte, err error)
- func (*ScaleDecisionWrapper) ProtoMessage()
- func (x *ScaleDecisionWrapper) ProtoReflect() protoreflect.Message
- func (x *ScaleDecisionWrapper) Reset()
- func (m *ScaleDecisionWrapper) SizeVT() (n int)
- func (x *ScaleDecisionWrapper) String() string
- func (msg *ScaleDecisionWrapper) UnmarshalJSON(b []byte) error
- func (m *ScaleDecisionWrapper) UnmarshalVT(dAtA []byte) error
- func (m *ScaleDecisionWrapper) Validate() error
- func (m *ScaleDecisionWrapper) ValidateAll() error
- type ScaleDecisionWrapperMultiError
- type ScaleDecisionWrapperValidationError
- func (e ScaleDecisionWrapperValidationError) Cause() error
- func (e ScaleDecisionWrapperValidationError) Error() string
- func (e ScaleDecisionWrapperValidationError) ErrorName() string
- func (e ScaleDecisionWrapperValidationError) Field() string
- func (e ScaleDecisionWrapperValidationError) Key() bool
- func (e ScaleDecisionWrapperValidationError) Reason() string
- type ScaleStatus
- func (*ScaleStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleStatus) GetActualReplicas() int32
- func (x *ScaleStatus) GetConfiguredReplicas() int32
- func (msg *ScaleStatus) MarshalJSON() ([]byte, error)
- func (m *ScaleStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScaleStatus) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScaleStatus) MarshalVT() (dAtA []byte, err error)
- func (*ScaleStatus) ProtoMessage()
- func (x *ScaleStatus) ProtoReflect() protoreflect.Message
- func (x *ScaleStatus) Reset()
- func (m *ScaleStatus) SizeVT() (n int)
- func (x *ScaleStatus) String() string
- func (msg *ScaleStatus) UnmarshalJSON(b []byte) error
- func (m *ScaleStatus) UnmarshalVT(dAtA []byte) error
- func (m *ScaleStatus) Validate() error
- func (m *ScaleStatus) ValidateAll() error
- type ScaleStatusMultiError
- type ScaleStatusValidationError
- func (e ScaleStatusValidationError) Cause() error
- func (e ScaleStatusValidationError) Error() string
- func (e ScaleStatusValidationError) ErrorName() string
- func (e ScaleStatusValidationError) Field() string
- func (e ScaleStatusValidationError) Key() bool
- func (e ScaleStatusValidationError) Reason() string
- type ScaleStatusWrapper
- func (*ScaleStatusWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleStatusWrapper) GetCommonAttributes() *CommonAttributes
- func (x *ScaleStatusWrapper) GetScaleStatus() *ScaleStatus
- func (msg *ScaleStatusWrapper) MarshalJSON() ([]byte, error)
- func (m *ScaleStatusWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScaleStatusWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScaleStatusWrapper) MarshalVT() (dAtA []byte, err error)
- func (*ScaleStatusWrapper) ProtoMessage()
- func (x *ScaleStatusWrapper) ProtoReflect() protoreflect.Message
- func (x *ScaleStatusWrapper) Reset()
- func (m *ScaleStatusWrapper) SizeVT() (n int)
- func (x *ScaleStatusWrapper) String() string
- func (msg *ScaleStatusWrapper) UnmarshalJSON(b []byte) error
- func (m *ScaleStatusWrapper) UnmarshalVT(dAtA []byte) error
- func (m *ScaleStatusWrapper) Validate() error
- func (m *ScaleStatusWrapper) ValidateAll() error
- type ScaleStatusWrapperMultiError
- type ScaleStatusWrapperValidationError
- func (e ScaleStatusWrapperValidationError) Cause() error
- func (e ScaleStatusWrapperValidationError) Error() string
- func (e ScaleStatusWrapperValidationError) ErrorName() string
- func (e ScaleStatusWrapperValidationError) Field() string
- func (e ScaleStatusWrapperValidationError) Key() bool
- func (e ScaleStatusWrapperValidationError) Reason() string
- type TelemetryCollectorWrapper
- func (*TelemetryCollectorWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryCollectorWrapper) GetPolicyName() string
- func (x *TelemetryCollectorWrapper) GetTelemetryCollector() *v1.TelemetryCollector
- func (x *TelemetryCollectorWrapper) GetTelemetryCollectorId() int64
- func (msg *TelemetryCollectorWrapper) MarshalJSON() ([]byte, error)
- func (m *TelemetryCollectorWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TelemetryCollectorWrapper) MarshalToVT(dAtA []byte) (int, error)
- func (m *TelemetryCollectorWrapper) MarshalVT() (dAtA []byte, err error)
- func (*TelemetryCollectorWrapper) ProtoMessage()
- func (x *TelemetryCollectorWrapper) ProtoReflect() protoreflect.Message
- func (x *TelemetryCollectorWrapper) Reset()
- func (m *TelemetryCollectorWrapper) SizeVT() (n int)
- func (x *TelemetryCollectorWrapper) String() string
- func (msg *TelemetryCollectorWrapper) UnmarshalJSON(b []byte) error
- func (m *TelemetryCollectorWrapper) UnmarshalVT(dAtA []byte) error
- func (m *TelemetryCollectorWrapper) Validate() error
- func (m *TelemetryCollectorWrapper) ValidateAll() error
- type TelemetryCollectorWrapperMultiError
- type TelemetryCollectorWrapperValidationError
- func (e TelemetryCollectorWrapperValidationError) Cause() error
- func (e TelemetryCollectorWrapperValidationError) Error() string
- func (e TelemetryCollectorWrapperValidationError) ErrorName() string
- func (e TelemetryCollectorWrapperValidationError) Field() string
- func (e TelemetryCollectorWrapperValidationError) Key() bool
- func (e TelemetryCollectorWrapperValidationError) Reason() string
- type TickInfo
- func (*TickInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TickInfo) GetInterval() *durationpb.Duration
- func (x *TickInfo) GetNextTimestamp() *timestamppb.Timestamp
- func (x *TickInfo) GetTick() int64
- func (x *TickInfo) GetTimestamp() *timestamppb.Timestamp
- func (msg *TickInfo) MarshalJSON() ([]byte, error)
- func (m *TickInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TickInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *TickInfo) MarshalVT() (dAtA []byte, err error)
- func (*TickInfo) ProtoMessage()
- func (x *TickInfo) ProtoReflect() protoreflect.Message
- func (x *TickInfo) Reset()
- func (m *TickInfo) SizeVT() (n int)
- func (x *TickInfo) String() string
- func (msg *TickInfo) UnmarshalJSON(b []byte) error
- func (m *TickInfo) UnmarshalVT(dAtA []byte) error
- func (m *TickInfo) Validate() error
- func (m *TickInfo) ValidateAll() error
- type TickInfoMultiError
- type TickInfoValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var ( PolicyWrapper_Source_name = map[int32]string{ 0: "UNKNOWN", 1: "ETCD", 2: "K8S", } PolicyWrapper_Source_value = map[string]int32{ "UNKNOWN": 0, "ETCD": 1, "K8S": 2, } )
Enum value maps for PolicyWrapper_Source.
var File_aperture_policy_sync_v1_classifier_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_common_attributes_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_flux_meter_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_infra_meter_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_load_scheduler_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_pod_scaler_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_policy_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_quota_scheduler_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_rate_limiter_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_sampler_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_telemetry_collector_proto protoreflect.FileDescriptor
var File_aperture_policy_sync_v1_tick_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClassifierAttributes ¶
type ClassifierAttributes struct { // Name of the Policy. PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // Hash of the entire Policy spec. PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"` // The id within the Classifiers list. ClassifierIndex int64 `protobuf:"varint,3,opt,name=classifier_index,json=classifierIndex,proto3" json:"classifier_index,omitempty"` // contains filtered or unexported fields }
func (*ClassifierAttributes) Descriptor
deprecated
func (*ClassifierAttributes) Descriptor() ([]byte, []int)
Deprecated: Use ClassifierAttributes.ProtoReflect.Descriptor instead.
func (*ClassifierAttributes) GetClassifierIndex ¶
func (x *ClassifierAttributes) GetClassifierIndex() int64
func (*ClassifierAttributes) GetPolicyHash ¶
func (x *ClassifierAttributes) GetPolicyHash() string
func (*ClassifierAttributes) GetPolicyName ¶
func (x *ClassifierAttributes) GetPolicyName() string
func (*ClassifierAttributes) MarshalJSON ¶
func (msg *ClassifierAttributes) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ClassifierAttributes) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *ClassifierAttributes) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ClassifierAttributes) MarshalToVT ¶ added in v2.7.0
func (m *ClassifierAttributes) MarshalToVT(dAtA []byte) (int, error)
func (*ClassifierAttributes) MarshalVT ¶ added in v2.7.0
func (m *ClassifierAttributes) MarshalVT() (dAtA []byte, err error)
func (*ClassifierAttributes) ProtoMessage ¶
func (*ClassifierAttributes) ProtoMessage()
func (*ClassifierAttributes) ProtoReflect ¶
func (x *ClassifierAttributes) ProtoReflect() protoreflect.Message
func (*ClassifierAttributes) Reset ¶
func (x *ClassifierAttributes) Reset()
func (*ClassifierAttributes) SizeVT ¶ added in v2.7.0
func (m *ClassifierAttributes) SizeVT() (n int)
func (*ClassifierAttributes) String ¶
func (x *ClassifierAttributes) String() string
func (*ClassifierAttributes) UnmarshalJSON ¶
func (msg *ClassifierAttributes) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ClassifierAttributes) UnmarshalVT ¶ added in v2.7.0
func (m *ClassifierAttributes) UnmarshalVT(dAtA []byte) error
func (*ClassifierAttributes) Validate ¶
func (m *ClassifierAttributes) Validate() error
Validate checks the field values on ClassifierAttributes 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 (*ClassifierAttributes) ValidateAll ¶
func (m *ClassifierAttributes) ValidateAll() error
ValidateAll checks the field values on ClassifierAttributes 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 ClassifierAttributesMultiError, or nil if none found.
type ClassifierAttributesMultiError ¶
type ClassifierAttributesMultiError []error
ClassifierAttributesMultiError is an error wrapping multiple validation errors returned by ClassifierAttributes.ValidateAll() if the designated constraints aren't met.
func (ClassifierAttributesMultiError) AllErrors ¶
func (m ClassifierAttributesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClassifierAttributesMultiError) Error ¶
func (m ClassifierAttributesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClassifierAttributesValidationError ¶
type ClassifierAttributesValidationError struct {
// contains filtered or unexported fields
}
ClassifierAttributesValidationError is the validation error returned by ClassifierAttributes.Validate if the designated constraints aren't met.
func (ClassifierAttributesValidationError) Cause ¶
func (e ClassifierAttributesValidationError) Cause() error
Cause function returns cause value.
func (ClassifierAttributesValidationError) Error ¶
func (e ClassifierAttributesValidationError) Error() string
Error satisfies the builtin error interface
func (ClassifierAttributesValidationError) ErrorName ¶
func (e ClassifierAttributesValidationError) ErrorName() string
ErrorName returns error name.
func (ClassifierAttributesValidationError) Field ¶
func (e ClassifierAttributesValidationError) Field() string
Field function returns field value.
func (ClassifierAttributesValidationError) Key ¶
func (e ClassifierAttributesValidationError) Key() bool
Key function returns key value.
func (ClassifierAttributesValidationError) Reason ¶
func (e ClassifierAttributesValidationError) Reason() string
Reason function returns reason value.
type ClassifierWrapper ¶
type ClassifierWrapper struct { // CommonAttributes ClassifierAttributes *ClassifierAttributes `protobuf:"bytes,1,opt,name=classifier_attributes,json=classifierAttributes,proto3" json:"classifier_attributes,omitempty"` // Classifier Classifier *v1.Classifier `protobuf:"bytes,2,opt,name=classifier,proto3" json:"classifier,omitempty"` // contains filtered or unexported fields }
func (*ClassifierWrapper) Descriptor
deprecated
func (*ClassifierWrapper) Descriptor() ([]byte, []int)
Deprecated: Use ClassifierWrapper.ProtoReflect.Descriptor instead.
func (*ClassifierWrapper) GetClassifier ¶
func (x *ClassifierWrapper) GetClassifier() *v1.Classifier
func (*ClassifierWrapper) GetClassifierAttributes ¶
func (x *ClassifierWrapper) GetClassifierAttributes() *ClassifierAttributes
func (*ClassifierWrapper) MarshalJSON ¶
func (msg *ClassifierWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ClassifierWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *ClassifierWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ClassifierWrapper) MarshalToVT ¶ added in v2.7.0
func (m *ClassifierWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*ClassifierWrapper) MarshalVT ¶ added in v2.7.0
func (m *ClassifierWrapper) MarshalVT() (dAtA []byte, err error)
func (*ClassifierWrapper) ProtoMessage ¶
func (*ClassifierWrapper) ProtoMessage()
func (*ClassifierWrapper) ProtoReflect ¶
func (x *ClassifierWrapper) ProtoReflect() protoreflect.Message
func (*ClassifierWrapper) Reset ¶
func (x *ClassifierWrapper) Reset()
func (*ClassifierWrapper) SizeVT ¶ added in v2.7.0
func (m *ClassifierWrapper) SizeVT() (n int)
func (*ClassifierWrapper) String ¶
func (x *ClassifierWrapper) String() string
func (*ClassifierWrapper) UnmarshalJSON ¶
func (msg *ClassifierWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ClassifierWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *ClassifierWrapper) UnmarshalVT(dAtA []byte) error
func (*ClassifierWrapper) Validate ¶
func (m *ClassifierWrapper) Validate() error
Validate checks the field values on ClassifierWrapper 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 (*ClassifierWrapper) ValidateAll ¶
func (m *ClassifierWrapper) ValidateAll() error
ValidateAll checks the field values on ClassifierWrapper 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 ClassifierWrapperMultiError, or nil if none found.
type ClassifierWrapperMultiError ¶
type ClassifierWrapperMultiError []error
ClassifierWrapperMultiError is an error wrapping multiple validation errors returned by ClassifierWrapper.ValidateAll() if the designated constraints aren't met.
func (ClassifierWrapperMultiError) AllErrors ¶
func (m ClassifierWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClassifierWrapperMultiError) Error ¶
func (m ClassifierWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClassifierWrapperValidationError ¶
type ClassifierWrapperValidationError struct {
// contains filtered or unexported fields
}
ClassifierWrapperValidationError is the validation error returned by ClassifierWrapper.Validate if the designated constraints aren't met.
func (ClassifierWrapperValidationError) Cause ¶
func (e ClassifierWrapperValidationError) Cause() error
Cause function returns cause value.
func (ClassifierWrapperValidationError) Error ¶
func (e ClassifierWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (ClassifierWrapperValidationError) ErrorName ¶
func (e ClassifierWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (ClassifierWrapperValidationError) Field ¶
func (e ClassifierWrapperValidationError) Field() string
Field function returns field value.
func (ClassifierWrapperValidationError) Key ¶
func (e ClassifierWrapperValidationError) Key() bool
Key function returns key value.
func (ClassifierWrapperValidationError) Reason ¶
func (e ClassifierWrapperValidationError) Reason() string
Reason function returns reason value.
type CommonAttributes ¶
type CommonAttributes struct { // Name of the Policy. PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // Hash of the entire Policy spec. PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"` // The id of Component within the circuit. ComponentId string `protobuf:"bytes,3,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"` // contains filtered or unexported fields }
func (*CommonAttributes) Descriptor
deprecated
func (*CommonAttributes) Descriptor() ([]byte, []int)
Deprecated: Use CommonAttributes.ProtoReflect.Descriptor instead.
func (*CommonAttributes) GetComponentId ¶
func (x *CommonAttributes) GetComponentId() string
func (*CommonAttributes) GetPolicyHash ¶
func (x *CommonAttributes) GetPolicyHash() string
func (*CommonAttributes) GetPolicyName ¶
func (x *CommonAttributes) GetPolicyName() string
func (*CommonAttributes) MarshalJSON ¶
func (msg *CommonAttributes) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CommonAttributes) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *CommonAttributes) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommonAttributes) MarshalToVT ¶ added in v2.7.0
func (m *CommonAttributes) MarshalToVT(dAtA []byte) (int, error)
func (*CommonAttributes) MarshalVT ¶ added in v2.7.0
func (m *CommonAttributes) MarshalVT() (dAtA []byte, err error)
func (*CommonAttributes) ProtoMessage ¶
func (*CommonAttributes) ProtoMessage()
func (*CommonAttributes) ProtoReflect ¶
func (x *CommonAttributes) ProtoReflect() protoreflect.Message
func (*CommonAttributes) Reset ¶
func (x *CommonAttributes) Reset()
func (*CommonAttributes) SizeVT ¶ added in v2.7.0
func (m *CommonAttributes) SizeVT() (n int)
func (*CommonAttributes) String ¶
func (x *CommonAttributes) String() string
func (*CommonAttributes) UnmarshalJSON ¶
func (msg *CommonAttributes) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*CommonAttributes) UnmarshalVT ¶ added in v2.7.0
func (m *CommonAttributes) UnmarshalVT(dAtA []byte) error
func (*CommonAttributes) Validate ¶
func (m *CommonAttributes) Validate() error
Validate checks the field values on CommonAttributes 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 (*CommonAttributes) ValidateAll ¶
func (m *CommonAttributes) ValidateAll() error
ValidateAll checks the field values on CommonAttributes 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 CommonAttributesMultiError, or nil if none found.
type CommonAttributesMultiError ¶
type CommonAttributesMultiError []error
CommonAttributesMultiError is an error wrapping multiple validation errors returned by CommonAttributes.ValidateAll() if the designated constraints aren't met.
func (CommonAttributesMultiError) AllErrors ¶
func (m CommonAttributesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommonAttributesMultiError) Error ¶
func (m CommonAttributesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommonAttributesValidationError ¶
type CommonAttributesValidationError struct {
// contains filtered or unexported fields
}
CommonAttributesValidationError is the validation error returned by CommonAttributes.Validate if the designated constraints aren't met.
func (CommonAttributesValidationError) Cause ¶
func (e CommonAttributesValidationError) Cause() error
Cause function returns cause value.
func (CommonAttributesValidationError) Error ¶
func (e CommonAttributesValidationError) Error() string
Error satisfies the builtin error interface
func (CommonAttributesValidationError) ErrorName ¶
func (e CommonAttributesValidationError) ErrorName() string
ErrorName returns error name.
func (CommonAttributesValidationError) Field ¶
func (e CommonAttributesValidationError) Field() string
Field function returns field value.
func (CommonAttributesValidationError) Key ¶
func (e CommonAttributesValidationError) Key() bool
Key function returns key value.
func (CommonAttributesValidationError) Reason ¶
func (e CommonAttributesValidationError) Reason() string
Reason function returns reason value.
type FluxMeterWrapper ¶
type FluxMeterWrapper struct { // Flux Meter FluxMeter *v1.FluxMeter `protobuf:"bytes,1,opt,name=flux_meter,json=fluxMeter,proto3" json:"flux_meter,omitempty"` // Name of Flux Meter metric. FluxMeterName string `protobuf:"bytes,4,opt,name=flux_meter_name,json=fluxMeterName,proto3" json:"flux_meter_name,omitempty"` // Name of the Policy. PolicyName string `protobuf:"bytes,5,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // contains filtered or unexported fields }
func (*FluxMeterWrapper) Descriptor
deprecated
func (*FluxMeterWrapper) Descriptor() ([]byte, []int)
Deprecated: Use FluxMeterWrapper.ProtoReflect.Descriptor instead.
func (*FluxMeterWrapper) GetFluxMeter ¶
func (x *FluxMeterWrapper) GetFluxMeter() *v1.FluxMeter
func (*FluxMeterWrapper) GetFluxMeterName ¶
func (x *FluxMeterWrapper) GetFluxMeterName() string
func (*FluxMeterWrapper) GetPolicyName ¶ added in v2.6.0
func (x *FluxMeterWrapper) GetPolicyName() string
func (*FluxMeterWrapper) MarshalJSON ¶
func (msg *FluxMeterWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*FluxMeterWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *FluxMeterWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FluxMeterWrapper) MarshalToVT ¶ added in v2.7.0
func (m *FluxMeterWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*FluxMeterWrapper) MarshalVT ¶ added in v2.7.0
func (m *FluxMeterWrapper) MarshalVT() (dAtA []byte, err error)
func (*FluxMeterWrapper) ProtoMessage ¶
func (*FluxMeterWrapper) ProtoMessage()
func (*FluxMeterWrapper) ProtoReflect ¶
func (x *FluxMeterWrapper) ProtoReflect() protoreflect.Message
func (*FluxMeterWrapper) Reset ¶
func (x *FluxMeterWrapper) Reset()
func (*FluxMeterWrapper) SizeVT ¶ added in v2.7.0
func (m *FluxMeterWrapper) SizeVT() (n int)
func (*FluxMeterWrapper) String ¶
func (x *FluxMeterWrapper) String() string
func (*FluxMeterWrapper) UnmarshalJSON ¶
func (msg *FluxMeterWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*FluxMeterWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *FluxMeterWrapper) UnmarshalVT(dAtA []byte) error
func (*FluxMeterWrapper) Validate ¶
func (m *FluxMeterWrapper) Validate() error
Validate checks the field values on FluxMeterWrapper 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 (*FluxMeterWrapper) ValidateAll ¶
func (m *FluxMeterWrapper) ValidateAll() error
ValidateAll checks the field values on FluxMeterWrapper 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 FluxMeterWrapperMultiError, or nil if none found.
type FluxMeterWrapperMultiError ¶
type FluxMeterWrapperMultiError []error
FluxMeterWrapperMultiError is an error wrapping multiple validation errors returned by FluxMeterWrapper.ValidateAll() if the designated constraints aren't met.
func (FluxMeterWrapperMultiError) AllErrors ¶
func (m FluxMeterWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FluxMeterWrapperMultiError) Error ¶
func (m FluxMeterWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FluxMeterWrapperValidationError ¶
type FluxMeterWrapperValidationError struct {
// contains filtered or unexported fields
}
FluxMeterWrapperValidationError is the validation error returned by FluxMeterWrapper.Validate if the designated constraints aren't met.
func (FluxMeterWrapperValidationError) Cause ¶
func (e FluxMeterWrapperValidationError) Cause() error
Cause function returns cause value.
func (FluxMeterWrapperValidationError) Error ¶
func (e FluxMeterWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (FluxMeterWrapperValidationError) ErrorName ¶
func (e FluxMeterWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (FluxMeterWrapperValidationError) Field ¶
func (e FluxMeterWrapperValidationError) Field() string
Field function returns field value.
func (FluxMeterWrapperValidationError) Key ¶
func (e FluxMeterWrapperValidationError) Key() bool
Key function returns key value.
func (FluxMeterWrapperValidationError) Reason ¶
func (e FluxMeterWrapperValidationError) Reason() string
Reason function returns reason value.
type InfraMeterWrapper ¶ added in v2.6.0
type InfraMeterWrapper struct { // Infra Meter InfraMeter *v1.InfraMeter `protobuf:"bytes,1,opt,name=infra_meter,json=infraMeter,proto3" json:"infra_meter,omitempty"` // Name of the Infra Meter. InfraMeterName string `protobuf:"bytes,2,opt,name=infra_meter_name,json=infraMeterName,proto3" json:"infra_meter_name,omitempty"` // Name of the Policy. PolicyName string `protobuf:"bytes,3,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // contains filtered or unexported fields }
func (*InfraMeterWrapper) Descriptor
deprecated
added in
v2.6.0
func (*InfraMeterWrapper) Descriptor() ([]byte, []int)
Deprecated: Use InfraMeterWrapper.ProtoReflect.Descriptor instead.
func (*InfraMeterWrapper) GetInfraMeter ¶ added in v2.6.0
func (x *InfraMeterWrapper) GetInfraMeter() *v1.InfraMeter
func (*InfraMeterWrapper) GetInfraMeterName ¶ added in v2.6.0
func (x *InfraMeterWrapper) GetInfraMeterName() string
func (*InfraMeterWrapper) GetPolicyName ¶ added in v2.6.0
func (x *InfraMeterWrapper) GetPolicyName() string
func (*InfraMeterWrapper) MarshalJSON ¶ added in v2.6.0
func (msg *InfraMeterWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*InfraMeterWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *InfraMeterWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InfraMeterWrapper) MarshalToVT ¶ added in v2.7.0
func (m *InfraMeterWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*InfraMeterWrapper) MarshalVT ¶ added in v2.7.0
func (m *InfraMeterWrapper) MarshalVT() (dAtA []byte, err error)
func (*InfraMeterWrapper) ProtoMessage ¶ added in v2.6.0
func (*InfraMeterWrapper) ProtoMessage()
func (*InfraMeterWrapper) ProtoReflect ¶ added in v2.6.0
func (x *InfraMeterWrapper) ProtoReflect() protoreflect.Message
func (*InfraMeterWrapper) Reset ¶ added in v2.6.0
func (x *InfraMeterWrapper) Reset()
func (*InfraMeterWrapper) SizeVT ¶ added in v2.7.0
func (m *InfraMeterWrapper) SizeVT() (n int)
func (*InfraMeterWrapper) String ¶ added in v2.6.0
func (x *InfraMeterWrapper) String() string
func (*InfraMeterWrapper) UnmarshalJSON ¶ added in v2.6.0
func (msg *InfraMeterWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*InfraMeterWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *InfraMeterWrapper) UnmarshalVT(dAtA []byte) error
func (*InfraMeterWrapper) Validate ¶ added in v2.6.0
func (m *InfraMeterWrapper) Validate() error
Validate checks the field values on InfraMeterWrapper 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 (*InfraMeterWrapper) ValidateAll ¶ added in v2.6.0
func (m *InfraMeterWrapper) ValidateAll() error
ValidateAll checks the field values on InfraMeterWrapper 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 InfraMeterWrapperMultiError, or nil if none found.
type InfraMeterWrapperMultiError ¶ added in v2.6.0
type InfraMeterWrapperMultiError []error
InfraMeterWrapperMultiError is an error wrapping multiple validation errors returned by InfraMeterWrapper.ValidateAll() if the designated constraints aren't met.
func (InfraMeterWrapperMultiError) AllErrors ¶ added in v2.6.0
func (m InfraMeterWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InfraMeterWrapperMultiError) Error ¶ added in v2.6.0
func (m InfraMeterWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InfraMeterWrapperValidationError ¶ added in v2.6.0
type InfraMeterWrapperValidationError struct {
// contains filtered or unexported fields
}
InfraMeterWrapperValidationError is the validation error returned by InfraMeterWrapper.Validate if the designated constraints aren't met.
func (InfraMeterWrapperValidationError) Cause ¶ added in v2.6.0
func (e InfraMeterWrapperValidationError) Cause() error
Cause function returns cause value.
func (InfraMeterWrapperValidationError) Error ¶ added in v2.6.0
func (e InfraMeterWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (InfraMeterWrapperValidationError) ErrorName ¶ added in v2.6.0
func (e InfraMeterWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (InfraMeterWrapperValidationError) Field ¶ added in v2.6.0
func (e InfraMeterWrapperValidationError) Field() string
Field function returns field value.
func (InfraMeterWrapperValidationError) Key ¶ added in v2.6.0
func (e InfraMeterWrapperValidationError) Key() bool
Key function returns key value.
func (InfraMeterWrapperValidationError) Reason ¶ added in v2.6.0
func (e InfraMeterWrapperValidationError) Reason() string
Reason function returns reason value.
type LoadDecision ¶
type LoadDecision struct { TickInfo *TickInfo `protobuf:"bytes,1,opt,name=tick_info,json=tickInfo,proto3" json:"tick_info,omitempty"` LoadMultiplier float64 `protobuf:"fixed64,2,opt,name=load_multiplier,json=loadMultiplier,proto3" json:"load_multiplier,omitempty"` PassThrough bool `protobuf:"varint,3,opt,name=pass_through,json=passThrough,proto3" json:"pass_through,omitempty"` TokensByWorkloadIndex map[string]float64 `` /* 218-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LoadDecision) Descriptor
deprecated
func (*LoadDecision) Descriptor() ([]byte, []int)
Deprecated: Use LoadDecision.ProtoReflect.Descriptor instead.
func (*LoadDecision) GetLoadMultiplier ¶
func (x *LoadDecision) GetLoadMultiplier() float64
func (*LoadDecision) GetPassThrough ¶
func (x *LoadDecision) GetPassThrough() bool
func (*LoadDecision) GetTickInfo ¶
func (x *LoadDecision) GetTickInfo() *TickInfo
func (*LoadDecision) GetTokensByWorkloadIndex ¶
func (x *LoadDecision) GetTokensByWorkloadIndex() map[string]float64
func (*LoadDecision) MarshalJSON ¶
func (msg *LoadDecision) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LoadDecision) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *LoadDecision) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LoadDecision) MarshalToVT ¶ added in v2.7.0
func (m *LoadDecision) MarshalToVT(dAtA []byte) (int, error)
func (*LoadDecision) MarshalVT ¶ added in v2.7.0
func (m *LoadDecision) MarshalVT() (dAtA []byte, err error)
func (*LoadDecision) ProtoMessage ¶
func (*LoadDecision) ProtoMessage()
func (*LoadDecision) ProtoReflect ¶
func (x *LoadDecision) ProtoReflect() protoreflect.Message
func (*LoadDecision) Reset ¶
func (x *LoadDecision) Reset()
func (*LoadDecision) SizeVT ¶ added in v2.7.0
func (m *LoadDecision) SizeVT() (n int)
func (*LoadDecision) String ¶
func (x *LoadDecision) String() string
func (*LoadDecision) UnmarshalJSON ¶
func (msg *LoadDecision) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LoadDecision) UnmarshalVT ¶ added in v2.7.0
func (m *LoadDecision) UnmarshalVT(dAtA []byte) error
func (*LoadDecision) Validate ¶
func (m *LoadDecision) Validate() error
Validate checks the field values on LoadDecision 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 (*LoadDecision) ValidateAll ¶
func (m *LoadDecision) ValidateAll() error
ValidateAll checks the field values on LoadDecision 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 LoadDecisionMultiError, or nil if none found.
type LoadDecisionMultiError ¶
type LoadDecisionMultiError []error
LoadDecisionMultiError is an error wrapping multiple validation errors returned by LoadDecision.ValidateAll() if the designated constraints aren't met.
func (LoadDecisionMultiError) AllErrors ¶
func (m LoadDecisionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoadDecisionMultiError) Error ¶
func (m LoadDecisionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoadDecisionValidationError ¶
type LoadDecisionValidationError struct {
// contains filtered or unexported fields
}
LoadDecisionValidationError is the validation error returned by LoadDecision.Validate if the designated constraints aren't met.
func (LoadDecisionValidationError) Cause ¶
func (e LoadDecisionValidationError) Cause() error
Cause function returns cause value.
func (LoadDecisionValidationError) Error ¶
func (e LoadDecisionValidationError) Error() string
Error satisfies the builtin error interface
func (LoadDecisionValidationError) ErrorName ¶
func (e LoadDecisionValidationError) ErrorName() string
ErrorName returns error name.
func (LoadDecisionValidationError) Field ¶
func (e LoadDecisionValidationError) Field() string
Field function returns field value.
func (LoadDecisionValidationError) Key ¶
func (e LoadDecisionValidationError) Key() bool
Key function returns key value.
func (LoadDecisionValidationError) Reason ¶
func (e LoadDecisionValidationError) Reason() string
Reason function returns reason value.
type LoadDecisionWrapper ¶
type LoadDecisionWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` // Load Decision LoadDecision *LoadDecision `protobuf:"bytes,2,opt,name=load_decision,json=loadDecision,proto3" json:"load_decision,omitempty"` // contains filtered or unexported fields }
func (*LoadDecisionWrapper) Descriptor
deprecated
func (*LoadDecisionWrapper) Descriptor() ([]byte, []int)
Deprecated: Use LoadDecisionWrapper.ProtoReflect.Descriptor instead.
func (*LoadDecisionWrapper) GetCommonAttributes ¶
func (x *LoadDecisionWrapper) GetCommonAttributes() *CommonAttributes
func (*LoadDecisionWrapper) GetLoadDecision ¶
func (x *LoadDecisionWrapper) GetLoadDecision() *LoadDecision
func (*LoadDecisionWrapper) MarshalJSON ¶
func (msg *LoadDecisionWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LoadDecisionWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *LoadDecisionWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LoadDecisionWrapper) MarshalToVT ¶ added in v2.7.0
func (m *LoadDecisionWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*LoadDecisionWrapper) MarshalVT ¶ added in v2.7.0
func (m *LoadDecisionWrapper) MarshalVT() (dAtA []byte, err error)
func (*LoadDecisionWrapper) ProtoMessage ¶
func (*LoadDecisionWrapper) ProtoMessage()
func (*LoadDecisionWrapper) ProtoReflect ¶
func (x *LoadDecisionWrapper) ProtoReflect() protoreflect.Message
func (*LoadDecisionWrapper) Reset ¶
func (x *LoadDecisionWrapper) Reset()
func (*LoadDecisionWrapper) SizeVT ¶ added in v2.7.0
func (m *LoadDecisionWrapper) SizeVT() (n int)
func (*LoadDecisionWrapper) String ¶
func (x *LoadDecisionWrapper) String() string
func (*LoadDecisionWrapper) UnmarshalJSON ¶
func (msg *LoadDecisionWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LoadDecisionWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *LoadDecisionWrapper) UnmarshalVT(dAtA []byte) error
func (*LoadDecisionWrapper) Validate ¶
func (m *LoadDecisionWrapper) Validate() error
Validate checks the field values on LoadDecisionWrapper 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 (*LoadDecisionWrapper) ValidateAll ¶
func (m *LoadDecisionWrapper) ValidateAll() error
ValidateAll checks the field values on LoadDecisionWrapper 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 LoadDecisionWrapperMultiError, or nil if none found.
type LoadDecisionWrapperMultiError ¶
type LoadDecisionWrapperMultiError []error
LoadDecisionWrapperMultiError is an error wrapping multiple validation errors returned by LoadDecisionWrapper.ValidateAll() if the designated constraints aren't met.
func (LoadDecisionWrapperMultiError) AllErrors ¶
func (m LoadDecisionWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoadDecisionWrapperMultiError) Error ¶
func (m LoadDecisionWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoadDecisionWrapperValidationError ¶
type LoadDecisionWrapperValidationError struct {
// contains filtered or unexported fields
}
LoadDecisionWrapperValidationError is the validation error returned by LoadDecisionWrapper.Validate if the designated constraints aren't met.
func (LoadDecisionWrapperValidationError) Cause ¶
func (e LoadDecisionWrapperValidationError) Cause() error
Cause function returns cause value.
func (LoadDecisionWrapperValidationError) Error ¶
func (e LoadDecisionWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (LoadDecisionWrapperValidationError) ErrorName ¶
func (e LoadDecisionWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (LoadDecisionWrapperValidationError) Field ¶
func (e LoadDecisionWrapperValidationError) Field() string
Field function returns field value.
func (LoadDecisionWrapperValidationError) Key ¶
func (e LoadDecisionWrapperValidationError) Key() bool
Key function returns key value.
func (LoadDecisionWrapperValidationError) Reason ¶
func (e LoadDecisionWrapperValidationError) Reason() string
Reason function returns reason value.
type LoadSchedulerWrapper ¶
type LoadSchedulerWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` // Load Scheduler LoadScheduler *v1.LoadScheduler `protobuf:"bytes,2,opt,name=load_scheduler,json=loadScheduler,proto3" json:"load_scheduler,omitempty"` // contains filtered or unexported fields }
func (*LoadSchedulerWrapper) Descriptor
deprecated
func (*LoadSchedulerWrapper) Descriptor() ([]byte, []int)
Deprecated: Use LoadSchedulerWrapper.ProtoReflect.Descriptor instead.
func (*LoadSchedulerWrapper) GetCommonAttributes ¶
func (x *LoadSchedulerWrapper) GetCommonAttributes() *CommonAttributes
func (*LoadSchedulerWrapper) GetLoadScheduler ¶
func (x *LoadSchedulerWrapper) GetLoadScheduler() *v1.LoadScheduler
func (*LoadSchedulerWrapper) MarshalJSON ¶
func (msg *LoadSchedulerWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LoadSchedulerWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *LoadSchedulerWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LoadSchedulerWrapper) MarshalToVT ¶ added in v2.7.0
func (m *LoadSchedulerWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*LoadSchedulerWrapper) MarshalVT ¶ added in v2.7.0
func (m *LoadSchedulerWrapper) MarshalVT() (dAtA []byte, err error)
func (*LoadSchedulerWrapper) ProtoMessage ¶
func (*LoadSchedulerWrapper) ProtoMessage()
func (*LoadSchedulerWrapper) ProtoReflect ¶
func (x *LoadSchedulerWrapper) ProtoReflect() protoreflect.Message
func (*LoadSchedulerWrapper) Reset ¶
func (x *LoadSchedulerWrapper) Reset()
func (*LoadSchedulerWrapper) SizeVT ¶ added in v2.7.0
func (m *LoadSchedulerWrapper) SizeVT() (n int)
func (*LoadSchedulerWrapper) String ¶
func (x *LoadSchedulerWrapper) String() string
func (*LoadSchedulerWrapper) UnmarshalJSON ¶
func (msg *LoadSchedulerWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LoadSchedulerWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *LoadSchedulerWrapper) UnmarshalVT(dAtA []byte) error
func (*LoadSchedulerWrapper) Validate ¶
func (m *LoadSchedulerWrapper) Validate() error
Validate checks the field values on LoadSchedulerWrapper 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 (*LoadSchedulerWrapper) ValidateAll ¶
func (m *LoadSchedulerWrapper) ValidateAll() error
ValidateAll checks the field values on LoadSchedulerWrapper 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 LoadSchedulerWrapperMultiError, or nil if none found.
type LoadSchedulerWrapperMultiError ¶
type LoadSchedulerWrapperMultiError []error
LoadSchedulerWrapperMultiError is an error wrapping multiple validation errors returned by LoadSchedulerWrapper.ValidateAll() if the designated constraints aren't met.
func (LoadSchedulerWrapperMultiError) AllErrors ¶
func (m LoadSchedulerWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoadSchedulerWrapperMultiError) Error ¶
func (m LoadSchedulerWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoadSchedulerWrapperValidationError ¶
type LoadSchedulerWrapperValidationError struct {
// contains filtered or unexported fields
}
LoadSchedulerWrapperValidationError is the validation error returned by LoadSchedulerWrapper.Validate if the designated constraints aren't met.
func (LoadSchedulerWrapperValidationError) Cause ¶
func (e LoadSchedulerWrapperValidationError) Cause() error
Cause function returns cause value.
func (LoadSchedulerWrapperValidationError) Error ¶
func (e LoadSchedulerWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (LoadSchedulerWrapperValidationError) ErrorName ¶
func (e LoadSchedulerWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (LoadSchedulerWrapperValidationError) Field ¶
func (e LoadSchedulerWrapperValidationError) Field() string
Field function returns field value.
func (LoadSchedulerWrapperValidationError) Key ¶
func (e LoadSchedulerWrapperValidationError) Key() bool
Key function returns key value.
func (LoadSchedulerWrapperValidationError) Reason ¶
func (e LoadSchedulerWrapperValidationError) Reason() string
Reason function returns reason value.
type PodScalerWrapper ¶
type PodScalerWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` PodScaler *v1.PodScaler `protobuf:"bytes,2,opt,name=pod_scaler,json=podScaler,proto3" json:"pod_scaler,omitempty"` // contains filtered or unexported fields }
func (*PodScalerWrapper) Descriptor
deprecated
func (*PodScalerWrapper) Descriptor() ([]byte, []int)
Deprecated: Use PodScalerWrapper.ProtoReflect.Descriptor instead.
func (*PodScalerWrapper) GetCommonAttributes ¶
func (x *PodScalerWrapper) GetCommonAttributes() *CommonAttributes
func (*PodScalerWrapper) GetPodScaler ¶
func (x *PodScalerWrapper) GetPodScaler() *v1.PodScaler
func (*PodScalerWrapper) MarshalJSON ¶
func (msg *PodScalerWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*PodScalerWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *PodScalerWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PodScalerWrapper) MarshalToVT ¶ added in v2.7.0
func (m *PodScalerWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*PodScalerWrapper) MarshalVT ¶ added in v2.7.0
func (m *PodScalerWrapper) MarshalVT() (dAtA []byte, err error)
func (*PodScalerWrapper) ProtoMessage ¶
func (*PodScalerWrapper) ProtoMessage()
func (*PodScalerWrapper) ProtoReflect ¶
func (x *PodScalerWrapper) ProtoReflect() protoreflect.Message
func (*PodScalerWrapper) Reset ¶
func (x *PodScalerWrapper) Reset()
func (*PodScalerWrapper) SizeVT ¶ added in v2.7.0
func (m *PodScalerWrapper) SizeVT() (n int)
func (*PodScalerWrapper) String ¶
func (x *PodScalerWrapper) String() string
func (*PodScalerWrapper) UnmarshalJSON ¶
func (msg *PodScalerWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*PodScalerWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *PodScalerWrapper) UnmarshalVT(dAtA []byte) error
func (*PodScalerWrapper) Validate ¶
func (m *PodScalerWrapper) Validate() error
Validate checks the field values on PodScalerWrapper 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 (*PodScalerWrapper) ValidateAll ¶
func (m *PodScalerWrapper) ValidateAll() error
ValidateAll checks the field values on PodScalerWrapper 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 PodScalerWrapperMultiError, or nil if none found.
type PodScalerWrapperMultiError ¶
type PodScalerWrapperMultiError []error
PodScalerWrapperMultiError is an error wrapping multiple validation errors returned by PodScalerWrapper.ValidateAll() if the designated constraints aren't met.
func (PodScalerWrapperMultiError) AllErrors ¶
func (m PodScalerWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PodScalerWrapperMultiError) Error ¶
func (m PodScalerWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PodScalerWrapperValidationError ¶
type PodScalerWrapperValidationError struct {
// contains filtered or unexported fields
}
PodScalerWrapperValidationError is the validation error returned by PodScalerWrapper.Validate if the designated constraints aren't met.
func (PodScalerWrapperValidationError) Cause ¶
func (e PodScalerWrapperValidationError) Cause() error
Cause function returns cause value.
func (PodScalerWrapperValidationError) Error ¶
func (e PodScalerWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (PodScalerWrapperValidationError) ErrorName ¶
func (e PodScalerWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (PodScalerWrapperValidationError) Field ¶
func (e PodScalerWrapperValidationError) Field() string
Field function returns field value.
func (PodScalerWrapperValidationError) Key ¶
func (e PodScalerWrapperValidationError) Key() bool
Key function returns key value.
func (PodScalerWrapperValidationError) Reason ¶
func (e PodScalerWrapperValidationError) Reason() string
Reason function returns reason value.
type PolicyWrapper ¶
type PolicyWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` // Policy Policy *v1.Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` // Where did the policy came from Source PolicyWrapper_Source `protobuf:"varint,3,opt,name=source,proto3,enum=aperture.policy.sync.v1.PolicyWrapper_Source" json:"source,omitempty"` // contains filtered or unexported fields }
func (*PolicyWrapper) Descriptor
deprecated
func (*PolicyWrapper) Descriptor() ([]byte, []int)
Deprecated: Use PolicyWrapper.ProtoReflect.Descriptor instead.
func (*PolicyWrapper) GetCommonAttributes ¶
func (x *PolicyWrapper) GetCommonAttributes() *CommonAttributes
func (*PolicyWrapper) GetPolicy ¶
func (x *PolicyWrapper) GetPolicy() *v1.Policy
func (*PolicyWrapper) GetSource ¶ added in v2.17.0
func (x *PolicyWrapper) GetSource() PolicyWrapper_Source
func (*PolicyWrapper) MarshalJSON ¶
func (msg *PolicyWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*PolicyWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *PolicyWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PolicyWrapper) MarshalToVT ¶ added in v2.7.0
func (m *PolicyWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*PolicyWrapper) MarshalVT ¶ added in v2.7.0
func (m *PolicyWrapper) MarshalVT() (dAtA []byte, err error)
func (*PolicyWrapper) ProtoMessage ¶
func (*PolicyWrapper) ProtoMessage()
func (*PolicyWrapper) ProtoReflect ¶
func (x *PolicyWrapper) ProtoReflect() protoreflect.Message
func (*PolicyWrapper) Reset ¶
func (x *PolicyWrapper) Reset()
func (*PolicyWrapper) SizeVT ¶ added in v2.7.0
func (m *PolicyWrapper) SizeVT() (n int)
func (*PolicyWrapper) String ¶
func (x *PolicyWrapper) String() string
func (*PolicyWrapper) UnmarshalJSON ¶
func (msg *PolicyWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*PolicyWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *PolicyWrapper) UnmarshalVT(dAtA []byte) error
func (*PolicyWrapper) Validate ¶
func (m *PolicyWrapper) Validate() error
Validate checks the field values on PolicyWrapper 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 (*PolicyWrapper) ValidateAll ¶
func (m *PolicyWrapper) ValidateAll() error
ValidateAll checks the field values on PolicyWrapper 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 PolicyWrapperMultiError, or nil if none found.
type PolicyWrapperMultiError ¶
type PolicyWrapperMultiError []error
PolicyWrapperMultiError is an error wrapping multiple validation errors returned by PolicyWrapper.ValidateAll() if the designated constraints aren't met.
func (PolicyWrapperMultiError) AllErrors ¶
func (m PolicyWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyWrapperMultiError) Error ¶
func (m PolicyWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyWrapperValidationError ¶
type PolicyWrapperValidationError struct {
// contains filtered or unexported fields
}
PolicyWrapperValidationError is the validation error returned by PolicyWrapper.Validate if the designated constraints aren't met.
func (PolicyWrapperValidationError) Cause ¶
func (e PolicyWrapperValidationError) Cause() error
Cause function returns cause value.
func (PolicyWrapperValidationError) Error ¶
func (e PolicyWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyWrapperValidationError) ErrorName ¶
func (e PolicyWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyWrapperValidationError) Field ¶
func (e PolicyWrapperValidationError) Field() string
Field function returns field value.
func (PolicyWrapperValidationError) Key ¶
func (e PolicyWrapperValidationError) Key() bool
Key function returns key value.
func (PolicyWrapperValidationError) Reason ¶
func (e PolicyWrapperValidationError) Reason() string
Reason function returns reason value.
type PolicyWrapper_Source ¶ added in v2.17.0
type PolicyWrapper_Source int32
const ( PolicyWrapper_UNKNOWN PolicyWrapper_Source = 0 PolicyWrapper_ETCD PolicyWrapper_Source = 1 PolicyWrapper_K8S PolicyWrapper_Source = 2 )
func (PolicyWrapper_Source) Descriptor ¶ added in v2.17.0
func (PolicyWrapper_Source) Descriptor() protoreflect.EnumDescriptor
func (PolicyWrapper_Source) Enum ¶ added in v2.17.0
func (x PolicyWrapper_Source) Enum() *PolicyWrapper_Source
func (PolicyWrapper_Source) EnumDescriptor
deprecated
added in
v2.17.0
func (PolicyWrapper_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use PolicyWrapper_Source.Descriptor instead.
func (PolicyWrapper_Source) Number ¶ added in v2.17.0
func (x PolicyWrapper_Source) Number() protoreflect.EnumNumber
func (PolicyWrapper_Source) String ¶ added in v2.17.0
func (x PolicyWrapper_Source) String() string
func (PolicyWrapper_Source) Type ¶ added in v2.17.0
func (PolicyWrapper_Source) Type() protoreflect.EnumType
type PolicyWrappers ¶
type PolicyWrappers struct { PolicyWrappers map[string]*PolicyWrapper `` /* 191-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PolicyWrappers) Descriptor
deprecated
func (*PolicyWrappers) Descriptor() ([]byte, []int)
Deprecated: Use PolicyWrappers.ProtoReflect.Descriptor instead.
func (*PolicyWrappers) GetPolicyWrappers ¶
func (x *PolicyWrappers) GetPolicyWrappers() map[string]*PolicyWrapper
func (*PolicyWrappers) MarshalJSON ¶
func (msg *PolicyWrappers) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*PolicyWrappers) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *PolicyWrappers) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PolicyWrappers) MarshalToVT ¶ added in v2.7.0
func (m *PolicyWrappers) MarshalToVT(dAtA []byte) (int, error)
func (*PolicyWrappers) MarshalVT ¶ added in v2.7.0
func (m *PolicyWrappers) MarshalVT() (dAtA []byte, err error)
func (*PolicyWrappers) ProtoMessage ¶
func (*PolicyWrappers) ProtoMessage()
func (*PolicyWrappers) ProtoReflect ¶
func (x *PolicyWrappers) ProtoReflect() protoreflect.Message
func (*PolicyWrappers) Reset ¶
func (x *PolicyWrappers) Reset()
func (*PolicyWrappers) SizeVT ¶ added in v2.7.0
func (m *PolicyWrappers) SizeVT() (n int)
func (*PolicyWrappers) String ¶
func (x *PolicyWrappers) String() string
func (*PolicyWrappers) UnmarshalJSON ¶
func (msg *PolicyWrappers) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*PolicyWrappers) UnmarshalVT ¶ added in v2.7.0
func (m *PolicyWrappers) UnmarshalVT(dAtA []byte) error
func (*PolicyWrappers) Validate ¶
func (m *PolicyWrappers) Validate() error
Validate checks the field values on PolicyWrappers 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 (*PolicyWrappers) ValidateAll ¶
func (m *PolicyWrappers) ValidateAll() error
ValidateAll checks the field values on PolicyWrappers 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 PolicyWrappersMultiError, or nil if none found.
type PolicyWrappersMultiError ¶
type PolicyWrappersMultiError []error
PolicyWrappersMultiError is an error wrapping multiple validation errors returned by PolicyWrappers.ValidateAll() if the designated constraints aren't met.
func (PolicyWrappersMultiError) AllErrors ¶
func (m PolicyWrappersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyWrappersMultiError) Error ¶
func (m PolicyWrappersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyWrappersValidationError ¶
type PolicyWrappersValidationError struct {
// contains filtered or unexported fields
}
PolicyWrappersValidationError is the validation error returned by PolicyWrappers.Validate if the designated constraints aren't met.
func (PolicyWrappersValidationError) Cause ¶
func (e PolicyWrappersValidationError) Cause() error
Cause function returns cause value.
func (PolicyWrappersValidationError) Error ¶
func (e PolicyWrappersValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyWrappersValidationError) ErrorName ¶
func (e PolicyWrappersValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyWrappersValidationError) Field ¶
func (e PolicyWrappersValidationError) Field() string
Field function returns field value.
func (PolicyWrappersValidationError) Key ¶
func (e PolicyWrappersValidationError) Key() bool
Key function returns key value.
func (PolicyWrappersValidationError) Reason ¶
func (e PolicyWrappersValidationError) Reason() string
Reason function returns reason value.
type QuotaSchedulerWrapper ¶ added in v2.2.0
type QuotaSchedulerWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` // Quota Scheduler QuotaScheduler *v1.QuotaScheduler `protobuf:"bytes,2,opt,name=quota_scheduler,json=quotaScheduler,proto3" json:"quota_scheduler,omitempty"` // contains filtered or unexported fields }
func (*QuotaSchedulerWrapper) Descriptor
deprecated
added in
v2.2.0
func (*QuotaSchedulerWrapper) Descriptor() ([]byte, []int)
Deprecated: Use QuotaSchedulerWrapper.ProtoReflect.Descriptor instead.
func (*QuotaSchedulerWrapper) GetCommonAttributes ¶ added in v2.2.0
func (x *QuotaSchedulerWrapper) GetCommonAttributes() *CommonAttributes
func (*QuotaSchedulerWrapper) GetQuotaScheduler ¶ added in v2.2.0
func (x *QuotaSchedulerWrapper) GetQuotaScheduler() *v1.QuotaScheduler
func (*QuotaSchedulerWrapper) MarshalJSON ¶ added in v2.2.0
func (msg *QuotaSchedulerWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*QuotaSchedulerWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *QuotaSchedulerWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QuotaSchedulerWrapper) MarshalToVT ¶ added in v2.7.0
func (m *QuotaSchedulerWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*QuotaSchedulerWrapper) MarshalVT ¶ added in v2.7.0
func (m *QuotaSchedulerWrapper) MarshalVT() (dAtA []byte, err error)
func (*QuotaSchedulerWrapper) ProtoMessage ¶ added in v2.2.0
func (*QuotaSchedulerWrapper) ProtoMessage()
func (*QuotaSchedulerWrapper) ProtoReflect ¶ added in v2.2.0
func (x *QuotaSchedulerWrapper) ProtoReflect() protoreflect.Message
func (*QuotaSchedulerWrapper) Reset ¶ added in v2.2.0
func (x *QuotaSchedulerWrapper) Reset()
func (*QuotaSchedulerWrapper) SizeVT ¶ added in v2.7.0
func (m *QuotaSchedulerWrapper) SizeVT() (n int)
func (*QuotaSchedulerWrapper) String ¶ added in v2.2.0
func (x *QuotaSchedulerWrapper) String() string
func (*QuotaSchedulerWrapper) UnmarshalJSON ¶ added in v2.2.0
func (msg *QuotaSchedulerWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*QuotaSchedulerWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *QuotaSchedulerWrapper) UnmarshalVT(dAtA []byte) error
func (*QuotaSchedulerWrapper) Validate ¶ added in v2.2.0
func (m *QuotaSchedulerWrapper) Validate() error
Validate checks the field values on QuotaSchedulerWrapper 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 (*QuotaSchedulerWrapper) ValidateAll ¶ added in v2.2.0
func (m *QuotaSchedulerWrapper) ValidateAll() error
ValidateAll checks the field values on QuotaSchedulerWrapper 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 QuotaSchedulerWrapperMultiError, or nil if none found.
type QuotaSchedulerWrapperMultiError ¶ added in v2.2.0
type QuotaSchedulerWrapperMultiError []error
QuotaSchedulerWrapperMultiError is an error wrapping multiple validation errors returned by QuotaSchedulerWrapper.ValidateAll() if the designated constraints aren't met.
func (QuotaSchedulerWrapperMultiError) AllErrors ¶ added in v2.2.0
func (m QuotaSchedulerWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuotaSchedulerWrapperMultiError) Error ¶ added in v2.2.0
func (m QuotaSchedulerWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuotaSchedulerWrapperValidationError ¶ added in v2.2.0
type QuotaSchedulerWrapperValidationError struct {
// contains filtered or unexported fields
}
QuotaSchedulerWrapperValidationError is the validation error returned by QuotaSchedulerWrapper.Validate if the designated constraints aren't met.
func (QuotaSchedulerWrapperValidationError) Cause ¶ added in v2.2.0
func (e QuotaSchedulerWrapperValidationError) Cause() error
Cause function returns cause value.
func (QuotaSchedulerWrapperValidationError) Error ¶ added in v2.2.0
func (e QuotaSchedulerWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (QuotaSchedulerWrapperValidationError) ErrorName ¶ added in v2.2.0
func (e QuotaSchedulerWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (QuotaSchedulerWrapperValidationError) Field ¶ added in v2.2.0
func (e QuotaSchedulerWrapperValidationError) Field() string
Field function returns field value.
func (QuotaSchedulerWrapperValidationError) Key ¶ added in v2.2.0
func (e QuotaSchedulerWrapperValidationError) Key() bool
Key function returns key value.
func (QuotaSchedulerWrapperValidationError) Reason ¶ added in v2.2.0
func (e QuotaSchedulerWrapperValidationError) Reason() string
Reason function returns reason value.
type RateLimiterDecision ¶
type RateLimiterDecision struct { BucketCapacity float64 `protobuf:"fixed64,1,opt,name=bucket_capacity,json=bucketCapacity,proto3" json:"bucket_capacity,omitempty"` FillAmount float64 `protobuf:"fixed64,2,opt,name=fill_amount,json=fillAmount,proto3" json:"fill_amount,omitempty"` PassThrough bool `protobuf:"varint,3,opt,name=pass_through,json=passThrough,proto3" json:"pass_through,omitempty"` // contains filtered or unexported fields }
func (*RateLimiterDecision) Descriptor
deprecated
func (*RateLimiterDecision) Descriptor() ([]byte, []int)
Deprecated: Use RateLimiterDecision.ProtoReflect.Descriptor instead.
func (*RateLimiterDecision) GetBucketCapacity ¶ added in v2.2.0
func (x *RateLimiterDecision) GetBucketCapacity() float64
func (*RateLimiterDecision) GetFillAmount ¶ added in v2.2.0
func (x *RateLimiterDecision) GetFillAmount() float64
func (*RateLimiterDecision) GetPassThrough ¶ added in v2.2.0
func (x *RateLimiterDecision) GetPassThrough() bool
func (*RateLimiterDecision) MarshalJSON ¶
func (msg *RateLimiterDecision) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RateLimiterDecision) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *RateLimiterDecision) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RateLimiterDecision) MarshalToVT ¶ added in v2.7.0
func (m *RateLimiterDecision) MarshalToVT(dAtA []byte) (int, error)
func (*RateLimiterDecision) MarshalVT ¶ added in v2.7.0
func (m *RateLimiterDecision) MarshalVT() (dAtA []byte, err error)
func (*RateLimiterDecision) ProtoMessage ¶
func (*RateLimiterDecision) ProtoMessage()
func (*RateLimiterDecision) ProtoReflect ¶
func (x *RateLimiterDecision) ProtoReflect() protoreflect.Message
func (*RateLimiterDecision) Reset ¶
func (x *RateLimiterDecision) Reset()
func (*RateLimiterDecision) SizeVT ¶ added in v2.7.0
func (m *RateLimiterDecision) SizeVT() (n int)
func (*RateLimiterDecision) String ¶
func (x *RateLimiterDecision) String() string
func (*RateLimiterDecision) UnmarshalJSON ¶
func (msg *RateLimiterDecision) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RateLimiterDecision) UnmarshalVT ¶ added in v2.7.0
func (m *RateLimiterDecision) UnmarshalVT(dAtA []byte) error
func (*RateLimiterDecision) Validate ¶
func (m *RateLimiterDecision) Validate() error
Validate checks the field values on RateLimiterDecision 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 (*RateLimiterDecision) ValidateAll ¶
func (m *RateLimiterDecision) ValidateAll() error
ValidateAll checks the field values on RateLimiterDecision 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 RateLimiterDecisionMultiError, or nil if none found.
type RateLimiterDecisionMultiError ¶
type RateLimiterDecisionMultiError []error
RateLimiterDecisionMultiError is an error wrapping multiple validation errors returned by RateLimiterDecision.ValidateAll() if the designated constraints aren't met.
func (RateLimiterDecisionMultiError) AllErrors ¶
func (m RateLimiterDecisionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RateLimiterDecisionMultiError) Error ¶
func (m RateLimiterDecisionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RateLimiterDecisionValidationError ¶
type RateLimiterDecisionValidationError struct {
// contains filtered or unexported fields
}
RateLimiterDecisionValidationError is the validation error returned by RateLimiterDecision.Validate if the designated constraints aren't met.
func (RateLimiterDecisionValidationError) Cause ¶
func (e RateLimiterDecisionValidationError) Cause() error
Cause function returns cause value.
func (RateLimiterDecisionValidationError) Error ¶
func (e RateLimiterDecisionValidationError) Error() string
Error satisfies the builtin error interface
func (RateLimiterDecisionValidationError) ErrorName ¶
func (e RateLimiterDecisionValidationError) ErrorName() string
ErrorName returns error name.
func (RateLimiterDecisionValidationError) Field ¶
func (e RateLimiterDecisionValidationError) Field() string
Field function returns field value.
func (RateLimiterDecisionValidationError) Key ¶
func (e RateLimiterDecisionValidationError) Key() bool
Key function returns key value.
func (RateLimiterDecisionValidationError) Reason ¶
func (e RateLimiterDecisionValidationError) Reason() string
Reason function returns reason value.
type RateLimiterDecisionWrapper ¶
type RateLimiterDecisionWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` // Rate Limiter Decision RateLimiterDecision *RateLimiterDecision `protobuf:"bytes,2,opt,name=rate_limiter_decision,json=rateLimiterDecision,proto3" json:"rate_limiter_decision,omitempty"` // contains filtered or unexported fields }
func (*RateLimiterDecisionWrapper) Descriptor
deprecated
func (*RateLimiterDecisionWrapper) Descriptor() ([]byte, []int)
Deprecated: Use RateLimiterDecisionWrapper.ProtoReflect.Descriptor instead.
func (*RateLimiterDecisionWrapper) GetCommonAttributes ¶
func (x *RateLimiterDecisionWrapper) GetCommonAttributes() *CommonAttributes
func (*RateLimiterDecisionWrapper) GetRateLimiterDecision ¶
func (x *RateLimiterDecisionWrapper) GetRateLimiterDecision() *RateLimiterDecision
func (*RateLimiterDecisionWrapper) MarshalJSON ¶
func (msg *RateLimiterDecisionWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RateLimiterDecisionWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *RateLimiterDecisionWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RateLimiterDecisionWrapper) MarshalToVT ¶ added in v2.7.0
func (m *RateLimiterDecisionWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*RateLimiterDecisionWrapper) MarshalVT ¶ added in v2.7.0
func (m *RateLimiterDecisionWrapper) MarshalVT() (dAtA []byte, err error)
func (*RateLimiterDecisionWrapper) ProtoMessage ¶
func (*RateLimiterDecisionWrapper) ProtoMessage()
func (*RateLimiterDecisionWrapper) ProtoReflect ¶
func (x *RateLimiterDecisionWrapper) ProtoReflect() protoreflect.Message
func (*RateLimiterDecisionWrapper) Reset ¶
func (x *RateLimiterDecisionWrapper) Reset()
func (*RateLimiterDecisionWrapper) SizeVT ¶ added in v2.7.0
func (m *RateLimiterDecisionWrapper) SizeVT() (n int)
func (*RateLimiterDecisionWrapper) String ¶
func (x *RateLimiterDecisionWrapper) String() string
func (*RateLimiterDecisionWrapper) UnmarshalJSON ¶
func (msg *RateLimiterDecisionWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RateLimiterDecisionWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *RateLimiterDecisionWrapper) UnmarshalVT(dAtA []byte) error
func (*RateLimiterDecisionWrapper) Validate ¶
func (m *RateLimiterDecisionWrapper) Validate() error
Validate checks the field values on RateLimiterDecisionWrapper 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 (*RateLimiterDecisionWrapper) ValidateAll ¶
func (m *RateLimiterDecisionWrapper) ValidateAll() error
ValidateAll checks the field values on RateLimiterDecisionWrapper 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 RateLimiterDecisionWrapperMultiError, or nil if none found.
type RateLimiterDecisionWrapperMultiError ¶
type RateLimiterDecisionWrapperMultiError []error
RateLimiterDecisionWrapperMultiError is an error wrapping multiple validation errors returned by RateLimiterDecisionWrapper.ValidateAll() if the designated constraints aren't met.
func (RateLimiterDecisionWrapperMultiError) AllErrors ¶
func (m RateLimiterDecisionWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RateLimiterDecisionWrapperMultiError) Error ¶
func (m RateLimiterDecisionWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RateLimiterDecisionWrapperValidationError ¶
type RateLimiterDecisionWrapperValidationError struct {
// contains filtered or unexported fields
}
RateLimiterDecisionWrapperValidationError is the validation error returned by RateLimiterDecisionWrapper.Validate if the designated constraints aren't met.
func (RateLimiterDecisionWrapperValidationError) Cause ¶
func (e RateLimiterDecisionWrapperValidationError) Cause() error
Cause function returns cause value.
func (RateLimiterDecisionWrapperValidationError) Error ¶
func (e RateLimiterDecisionWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (RateLimiterDecisionWrapperValidationError) ErrorName ¶
func (e RateLimiterDecisionWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (RateLimiterDecisionWrapperValidationError) Field ¶
func (e RateLimiterDecisionWrapperValidationError) Field() string
Field function returns field value.
func (RateLimiterDecisionWrapperValidationError) Key ¶
func (e RateLimiterDecisionWrapperValidationError) Key() bool
Key function returns key value.
func (RateLimiterDecisionWrapperValidationError) Reason ¶
func (e RateLimiterDecisionWrapperValidationError) Reason() string
Reason function returns reason value.
type RateLimiterWrapper ¶
type RateLimiterWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` // Rate Limiter RateLimiter *v1.RateLimiter `protobuf:"bytes,2,opt,name=rate_limiter,json=rateLimiter,proto3" json:"rate_limiter,omitempty"` // contains filtered or unexported fields }
func (*RateLimiterWrapper) Descriptor
deprecated
func (*RateLimiterWrapper) Descriptor() ([]byte, []int)
Deprecated: Use RateLimiterWrapper.ProtoReflect.Descriptor instead.
func (*RateLimiterWrapper) GetCommonAttributes ¶
func (x *RateLimiterWrapper) GetCommonAttributes() *CommonAttributes
func (*RateLimiterWrapper) GetRateLimiter ¶
func (x *RateLimiterWrapper) GetRateLimiter() *v1.RateLimiter
func (*RateLimiterWrapper) MarshalJSON ¶
func (msg *RateLimiterWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RateLimiterWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *RateLimiterWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RateLimiterWrapper) MarshalToVT ¶ added in v2.7.0
func (m *RateLimiterWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*RateLimiterWrapper) MarshalVT ¶ added in v2.7.0
func (m *RateLimiterWrapper) MarshalVT() (dAtA []byte, err error)
func (*RateLimiterWrapper) ProtoMessage ¶
func (*RateLimiterWrapper) ProtoMessage()
func (*RateLimiterWrapper) ProtoReflect ¶
func (x *RateLimiterWrapper) ProtoReflect() protoreflect.Message
func (*RateLimiterWrapper) Reset ¶
func (x *RateLimiterWrapper) Reset()
func (*RateLimiterWrapper) SizeVT ¶ added in v2.7.0
func (m *RateLimiterWrapper) SizeVT() (n int)
func (*RateLimiterWrapper) String ¶
func (x *RateLimiterWrapper) String() string
func (*RateLimiterWrapper) UnmarshalJSON ¶
func (msg *RateLimiterWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RateLimiterWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *RateLimiterWrapper) UnmarshalVT(dAtA []byte) error
func (*RateLimiterWrapper) Validate ¶
func (m *RateLimiterWrapper) Validate() error
Validate checks the field values on RateLimiterWrapper 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 (*RateLimiterWrapper) ValidateAll ¶
func (m *RateLimiterWrapper) ValidateAll() error
ValidateAll checks the field values on RateLimiterWrapper 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 RateLimiterWrapperMultiError, or nil if none found.
type RateLimiterWrapperMultiError ¶
type RateLimiterWrapperMultiError []error
RateLimiterWrapperMultiError is an error wrapping multiple validation errors returned by RateLimiterWrapper.ValidateAll() if the designated constraints aren't met.
func (RateLimiterWrapperMultiError) AllErrors ¶
func (m RateLimiterWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RateLimiterWrapperMultiError) Error ¶
func (m RateLimiterWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RateLimiterWrapperValidationError ¶
type RateLimiterWrapperValidationError struct {
// contains filtered or unexported fields
}
RateLimiterWrapperValidationError is the validation error returned by RateLimiterWrapper.Validate if the designated constraints aren't met.
func (RateLimiterWrapperValidationError) Cause ¶
func (e RateLimiterWrapperValidationError) Cause() error
Cause function returns cause value.
func (RateLimiterWrapperValidationError) Error ¶
func (e RateLimiterWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (RateLimiterWrapperValidationError) ErrorName ¶
func (e RateLimiterWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (RateLimiterWrapperValidationError) Field ¶
func (e RateLimiterWrapperValidationError) Field() string
Field function returns field value.
func (RateLimiterWrapperValidationError) Key ¶
func (e RateLimiterWrapperValidationError) Key() bool
Key function returns key value.
func (RateLimiterWrapperValidationError) Reason ¶
func (e RateLimiterWrapperValidationError) Reason() string
Reason function returns reason value.
type SamplerDecision ¶ added in v2.5.0
type SamplerDecision struct { AcceptPercentage float64 `protobuf:"fixed64,1,opt,name=accept_percentage,json=acceptPercentage,proto3" json:"accept_percentage,omitempty"` // PassThroughLabelValues dynamic config. PassThroughLabelValues []string `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SamplerDecision) Descriptor
deprecated
added in
v2.5.0
func (*SamplerDecision) Descriptor() ([]byte, []int)
Deprecated: Use SamplerDecision.ProtoReflect.Descriptor instead.
func (*SamplerDecision) GetAcceptPercentage ¶ added in v2.5.0
func (x *SamplerDecision) GetAcceptPercentage() float64
func (*SamplerDecision) GetPassThroughLabelValues ¶ added in v2.5.0
func (x *SamplerDecision) GetPassThroughLabelValues() []string
func (*SamplerDecision) MarshalJSON ¶ added in v2.5.0
func (msg *SamplerDecision) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SamplerDecision) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *SamplerDecision) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SamplerDecision) MarshalToVT ¶ added in v2.7.0
func (m *SamplerDecision) MarshalToVT(dAtA []byte) (int, error)
func (*SamplerDecision) MarshalVT ¶ added in v2.7.0
func (m *SamplerDecision) MarshalVT() (dAtA []byte, err error)
func (*SamplerDecision) ProtoMessage ¶ added in v2.5.0
func (*SamplerDecision) ProtoMessage()
func (*SamplerDecision) ProtoReflect ¶ added in v2.5.0
func (x *SamplerDecision) ProtoReflect() protoreflect.Message
func (*SamplerDecision) Reset ¶ added in v2.5.0
func (x *SamplerDecision) Reset()
func (*SamplerDecision) SizeVT ¶ added in v2.7.0
func (m *SamplerDecision) SizeVT() (n int)
func (*SamplerDecision) String ¶ added in v2.5.0
func (x *SamplerDecision) String() string
func (*SamplerDecision) UnmarshalJSON ¶ added in v2.5.0
func (msg *SamplerDecision) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SamplerDecision) UnmarshalVT ¶ added in v2.7.0
func (m *SamplerDecision) UnmarshalVT(dAtA []byte) error
func (*SamplerDecision) Validate ¶ added in v2.5.0
func (m *SamplerDecision) Validate() error
Validate checks the field values on SamplerDecision 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 (*SamplerDecision) ValidateAll ¶ added in v2.5.0
func (m *SamplerDecision) ValidateAll() error
ValidateAll checks the field values on SamplerDecision 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 SamplerDecisionMultiError, or nil if none found.
type SamplerDecisionMultiError ¶ added in v2.5.0
type SamplerDecisionMultiError []error
SamplerDecisionMultiError is an error wrapping multiple validation errors returned by SamplerDecision.ValidateAll() if the designated constraints aren't met.
func (SamplerDecisionMultiError) AllErrors ¶ added in v2.5.0
func (m SamplerDecisionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SamplerDecisionMultiError) Error ¶ added in v2.5.0
func (m SamplerDecisionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SamplerDecisionValidationError ¶ added in v2.5.0
type SamplerDecisionValidationError struct {
// contains filtered or unexported fields
}
SamplerDecisionValidationError is the validation error returned by SamplerDecision.Validate if the designated constraints aren't met.
func (SamplerDecisionValidationError) Cause ¶ added in v2.5.0
func (e SamplerDecisionValidationError) Cause() error
Cause function returns cause value.
func (SamplerDecisionValidationError) Error ¶ added in v2.5.0
func (e SamplerDecisionValidationError) Error() string
Error satisfies the builtin error interface
func (SamplerDecisionValidationError) ErrorName ¶ added in v2.5.0
func (e SamplerDecisionValidationError) ErrorName() string
ErrorName returns error name.
func (SamplerDecisionValidationError) Field ¶ added in v2.5.0
func (e SamplerDecisionValidationError) Field() string
Field function returns field value.
func (SamplerDecisionValidationError) Key ¶ added in v2.5.0
func (e SamplerDecisionValidationError) Key() bool
Key function returns key value.
func (SamplerDecisionValidationError) Reason ¶ added in v2.5.0
func (e SamplerDecisionValidationError) Reason() string
Reason function returns reason value.
type SamplerDecisionWrapper ¶ added in v2.5.0
type SamplerDecisionWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` // Sampler Decision SamplerDecision *SamplerDecision `protobuf:"bytes,2,opt,name=sampler_decision,json=samplerDecision,proto3" json:"sampler_decision,omitempty"` // contains filtered or unexported fields }
func (*SamplerDecisionWrapper) Descriptor
deprecated
added in
v2.5.0
func (*SamplerDecisionWrapper) Descriptor() ([]byte, []int)
Deprecated: Use SamplerDecisionWrapper.ProtoReflect.Descriptor instead.
func (*SamplerDecisionWrapper) GetCommonAttributes ¶ added in v2.5.0
func (x *SamplerDecisionWrapper) GetCommonAttributes() *CommonAttributes
func (*SamplerDecisionWrapper) GetSamplerDecision ¶ added in v2.5.0
func (x *SamplerDecisionWrapper) GetSamplerDecision() *SamplerDecision
func (*SamplerDecisionWrapper) MarshalJSON ¶ added in v2.5.0
func (msg *SamplerDecisionWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SamplerDecisionWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *SamplerDecisionWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SamplerDecisionWrapper) MarshalToVT ¶ added in v2.7.0
func (m *SamplerDecisionWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*SamplerDecisionWrapper) MarshalVT ¶ added in v2.7.0
func (m *SamplerDecisionWrapper) MarshalVT() (dAtA []byte, err error)
func (*SamplerDecisionWrapper) ProtoMessage ¶ added in v2.5.0
func (*SamplerDecisionWrapper) ProtoMessage()
func (*SamplerDecisionWrapper) ProtoReflect ¶ added in v2.5.0
func (x *SamplerDecisionWrapper) ProtoReflect() protoreflect.Message
func (*SamplerDecisionWrapper) Reset ¶ added in v2.5.0
func (x *SamplerDecisionWrapper) Reset()
func (*SamplerDecisionWrapper) SizeVT ¶ added in v2.7.0
func (m *SamplerDecisionWrapper) SizeVT() (n int)
func (*SamplerDecisionWrapper) String ¶ added in v2.5.0
func (x *SamplerDecisionWrapper) String() string
func (*SamplerDecisionWrapper) UnmarshalJSON ¶ added in v2.5.0
func (msg *SamplerDecisionWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SamplerDecisionWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *SamplerDecisionWrapper) UnmarshalVT(dAtA []byte) error
func (*SamplerDecisionWrapper) Validate ¶ added in v2.5.0
func (m *SamplerDecisionWrapper) Validate() error
Validate checks the field values on SamplerDecisionWrapper 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 (*SamplerDecisionWrapper) ValidateAll ¶ added in v2.5.0
func (m *SamplerDecisionWrapper) ValidateAll() error
ValidateAll checks the field values on SamplerDecisionWrapper 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 SamplerDecisionWrapperMultiError, or nil if none found.
type SamplerDecisionWrapperMultiError ¶ added in v2.5.0
type SamplerDecisionWrapperMultiError []error
SamplerDecisionWrapperMultiError is an error wrapping multiple validation errors returned by SamplerDecisionWrapper.ValidateAll() if the designated constraints aren't met.
func (SamplerDecisionWrapperMultiError) AllErrors ¶ added in v2.5.0
func (m SamplerDecisionWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SamplerDecisionWrapperMultiError) Error ¶ added in v2.5.0
func (m SamplerDecisionWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SamplerDecisionWrapperValidationError ¶ added in v2.5.0
type SamplerDecisionWrapperValidationError struct {
// contains filtered or unexported fields
}
SamplerDecisionWrapperValidationError is the validation error returned by SamplerDecisionWrapper.Validate if the designated constraints aren't met.
func (SamplerDecisionWrapperValidationError) Cause ¶ added in v2.5.0
func (e SamplerDecisionWrapperValidationError) Cause() error
Cause function returns cause value.
func (SamplerDecisionWrapperValidationError) Error ¶ added in v2.5.0
func (e SamplerDecisionWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (SamplerDecisionWrapperValidationError) ErrorName ¶ added in v2.5.0
func (e SamplerDecisionWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (SamplerDecisionWrapperValidationError) Field ¶ added in v2.5.0
func (e SamplerDecisionWrapperValidationError) Field() string
Field function returns field value.
func (SamplerDecisionWrapperValidationError) Key ¶ added in v2.5.0
func (e SamplerDecisionWrapperValidationError) Key() bool
Key function returns key value.
func (SamplerDecisionWrapperValidationError) Reason ¶ added in v2.5.0
func (e SamplerDecisionWrapperValidationError) Reason() string
Reason function returns reason value.
type SamplerWrapper ¶ added in v2.5.0
type SamplerWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` // Sampler Sampler *v1.Sampler `protobuf:"bytes,2,opt,name=sampler,proto3" json:"sampler,omitempty"` // contains filtered or unexported fields }
func (*SamplerWrapper) Descriptor
deprecated
added in
v2.5.0
func (*SamplerWrapper) Descriptor() ([]byte, []int)
Deprecated: Use SamplerWrapper.ProtoReflect.Descriptor instead.
func (*SamplerWrapper) GetCommonAttributes ¶ added in v2.5.0
func (x *SamplerWrapper) GetCommonAttributes() *CommonAttributes
func (*SamplerWrapper) GetSampler ¶ added in v2.5.0
func (x *SamplerWrapper) GetSampler() *v1.Sampler
func (*SamplerWrapper) MarshalJSON ¶ added in v2.5.0
func (msg *SamplerWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SamplerWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *SamplerWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SamplerWrapper) MarshalToVT ¶ added in v2.7.0
func (m *SamplerWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*SamplerWrapper) MarshalVT ¶ added in v2.7.0
func (m *SamplerWrapper) MarshalVT() (dAtA []byte, err error)
func (*SamplerWrapper) ProtoMessage ¶ added in v2.5.0
func (*SamplerWrapper) ProtoMessage()
func (*SamplerWrapper) ProtoReflect ¶ added in v2.5.0
func (x *SamplerWrapper) ProtoReflect() protoreflect.Message
func (*SamplerWrapper) Reset ¶ added in v2.5.0
func (x *SamplerWrapper) Reset()
func (*SamplerWrapper) SizeVT ¶ added in v2.7.0
func (m *SamplerWrapper) SizeVT() (n int)
func (*SamplerWrapper) String ¶ added in v2.5.0
func (x *SamplerWrapper) String() string
func (*SamplerWrapper) UnmarshalJSON ¶ added in v2.5.0
func (msg *SamplerWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SamplerWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *SamplerWrapper) UnmarshalVT(dAtA []byte) error
func (*SamplerWrapper) Validate ¶ added in v2.5.0
func (m *SamplerWrapper) Validate() error
Validate checks the field values on SamplerWrapper 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 (*SamplerWrapper) ValidateAll ¶ added in v2.5.0
func (m *SamplerWrapper) ValidateAll() error
ValidateAll checks the field values on SamplerWrapper 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 SamplerWrapperMultiError, or nil if none found.
type SamplerWrapperMultiError ¶ added in v2.5.0
type SamplerWrapperMultiError []error
SamplerWrapperMultiError is an error wrapping multiple validation errors returned by SamplerWrapper.ValidateAll() if the designated constraints aren't met.
func (SamplerWrapperMultiError) AllErrors ¶ added in v2.5.0
func (m SamplerWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SamplerWrapperMultiError) Error ¶ added in v2.5.0
func (m SamplerWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SamplerWrapperValidationError ¶ added in v2.5.0
type SamplerWrapperValidationError struct {
// contains filtered or unexported fields
}
SamplerWrapperValidationError is the validation error returned by SamplerWrapper.Validate if the designated constraints aren't met.
func (SamplerWrapperValidationError) Cause ¶ added in v2.5.0
func (e SamplerWrapperValidationError) Cause() error
Cause function returns cause value.
func (SamplerWrapperValidationError) Error ¶ added in v2.5.0
func (e SamplerWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (SamplerWrapperValidationError) ErrorName ¶ added in v2.5.0
func (e SamplerWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (SamplerWrapperValidationError) Field ¶ added in v2.5.0
func (e SamplerWrapperValidationError) Field() string
Field function returns field value.
func (SamplerWrapperValidationError) Key ¶ added in v2.5.0
func (e SamplerWrapperValidationError) Key() bool
Key function returns key value.
func (SamplerWrapperValidationError) Reason ¶ added in v2.5.0
func (e SamplerWrapperValidationError) Reason() string
Reason function returns reason value.
type ScaleDecision ¶
type ScaleDecision struct { DesiredReplicas int32 `protobuf:"varint,1,opt,name=desired_replicas,json=desiredReplicas,proto3" json:"desired_replicas,omitempty"` // contains filtered or unexported fields }
func (*ScaleDecision) Descriptor
deprecated
func (*ScaleDecision) Descriptor() ([]byte, []int)
Deprecated: Use ScaleDecision.ProtoReflect.Descriptor instead.
func (*ScaleDecision) GetDesiredReplicas ¶
func (x *ScaleDecision) GetDesiredReplicas() int32
func (*ScaleDecision) MarshalJSON ¶
func (msg *ScaleDecision) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ScaleDecision) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *ScaleDecision) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScaleDecision) MarshalToVT ¶ added in v2.7.0
func (m *ScaleDecision) MarshalToVT(dAtA []byte) (int, error)
func (*ScaleDecision) MarshalVT ¶ added in v2.7.0
func (m *ScaleDecision) MarshalVT() (dAtA []byte, err error)
func (*ScaleDecision) ProtoMessage ¶
func (*ScaleDecision) ProtoMessage()
func (*ScaleDecision) ProtoReflect ¶
func (x *ScaleDecision) ProtoReflect() protoreflect.Message
func (*ScaleDecision) Reset ¶
func (x *ScaleDecision) Reset()
func (*ScaleDecision) SizeVT ¶ added in v2.7.0
func (m *ScaleDecision) SizeVT() (n int)
func (*ScaleDecision) String ¶
func (x *ScaleDecision) String() string
func (*ScaleDecision) UnmarshalJSON ¶
func (msg *ScaleDecision) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ScaleDecision) UnmarshalVT ¶ added in v2.7.0
func (m *ScaleDecision) UnmarshalVT(dAtA []byte) error
func (*ScaleDecision) Validate ¶
func (m *ScaleDecision) Validate() error
Validate checks the field values on ScaleDecision 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 (*ScaleDecision) ValidateAll ¶
func (m *ScaleDecision) ValidateAll() error
ValidateAll checks the field values on ScaleDecision 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 ScaleDecisionMultiError, or nil if none found.
type ScaleDecisionMultiError ¶
type ScaleDecisionMultiError []error
ScaleDecisionMultiError is an error wrapping multiple validation errors returned by ScaleDecision.ValidateAll() if the designated constraints aren't met.
func (ScaleDecisionMultiError) AllErrors ¶
func (m ScaleDecisionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScaleDecisionMultiError) Error ¶
func (m ScaleDecisionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScaleDecisionValidationError ¶
type ScaleDecisionValidationError struct {
// contains filtered or unexported fields
}
ScaleDecisionValidationError is the validation error returned by ScaleDecision.Validate if the designated constraints aren't met.
func (ScaleDecisionValidationError) Cause ¶
func (e ScaleDecisionValidationError) Cause() error
Cause function returns cause value.
func (ScaleDecisionValidationError) Error ¶
func (e ScaleDecisionValidationError) Error() string
Error satisfies the builtin error interface
func (ScaleDecisionValidationError) ErrorName ¶
func (e ScaleDecisionValidationError) ErrorName() string
ErrorName returns error name.
func (ScaleDecisionValidationError) Field ¶
func (e ScaleDecisionValidationError) Field() string
Field function returns field value.
func (ScaleDecisionValidationError) Key ¶
func (e ScaleDecisionValidationError) Key() bool
Key function returns key value.
func (ScaleDecisionValidationError) Reason ¶
func (e ScaleDecisionValidationError) Reason() string
Reason function returns reason value.
type ScaleDecisionWrapper ¶
type ScaleDecisionWrapper struct { CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` ScaleDecision *ScaleDecision `protobuf:"bytes,2,opt,name=scale_decision,json=scaleDecision,proto3" json:"scale_decision,omitempty"` // contains filtered or unexported fields }
func (*ScaleDecisionWrapper) Descriptor
deprecated
func (*ScaleDecisionWrapper) Descriptor() ([]byte, []int)
Deprecated: Use ScaleDecisionWrapper.ProtoReflect.Descriptor instead.
func (*ScaleDecisionWrapper) GetCommonAttributes ¶
func (x *ScaleDecisionWrapper) GetCommonAttributes() *CommonAttributes
func (*ScaleDecisionWrapper) GetScaleDecision ¶
func (x *ScaleDecisionWrapper) GetScaleDecision() *ScaleDecision
func (*ScaleDecisionWrapper) MarshalJSON ¶
func (msg *ScaleDecisionWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ScaleDecisionWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *ScaleDecisionWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScaleDecisionWrapper) MarshalToVT ¶ added in v2.7.0
func (m *ScaleDecisionWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*ScaleDecisionWrapper) MarshalVT ¶ added in v2.7.0
func (m *ScaleDecisionWrapper) MarshalVT() (dAtA []byte, err error)
func (*ScaleDecisionWrapper) ProtoMessage ¶
func (*ScaleDecisionWrapper) ProtoMessage()
func (*ScaleDecisionWrapper) ProtoReflect ¶
func (x *ScaleDecisionWrapper) ProtoReflect() protoreflect.Message
func (*ScaleDecisionWrapper) Reset ¶
func (x *ScaleDecisionWrapper) Reset()
func (*ScaleDecisionWrapper) SizeVT ¶ added in v2.7.0
func (m *ScaleDecisionWrapper) SizeVT() (n int)
func (*ScaleDecisionWrapper) String ¶
func (x *ScaleDecisionWrapper) String() string
func (*ScaleDecisionWrapper) UnmarshalJSON ¶
func (msg *ScaleDecisionWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ScaleDecisionWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *ScaleDecisionWrapper) UnmarshalVT(dAtA []byte) error
func (*ScaleDecisionWrapper) Validate ¶
func (m *ScaleDecisionWrapper) Validate() error
Validate checks the field values on ScaleDecisionWrapper 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 (*ScaleDecisionWrapper) ValidateAll ¶
func (m *ScaleDecisionWrapper) ValidateAll() error
ValidateAll checks the field values on ScaleDecisionWrapper 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 ScaleDecisionWrapperMultiError, or nil if none found.
type ScaleDecisionWrapperMultiError ¶
type ScaleDecisionWrapperMultiError []error
ScaleDecisionWrapperMultiError is an error wrapping multiple validation errors returned by ScaleDecisionWrapper.ValidateAll() if the designated constraints aren't met.
func (ScaleDecisionWrapperMultiError) AllErrors ¶
func (m ScaleDecisionWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScaleDecisionWrapperMultiError) Error ¶
func (m ScaleDecisionWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScaleDecisionWrapperValidationError ¶
type ScaleDecisionWrapperValidationError struct {
// contains filtered or unexported fields
}
ScaleDecisionWrapperValidationError is the validation error returned by ScaleDecisionWrapper.Validate if the designated constraints aren't met.
func (ScaleDecisionWrapperValidationError) Cause ¶
func (e ScaleDecisionWrapperValidationError) Cause() error
Cause function returns cause value.
func (ScaleDecisionWrapperValidationError) Error ¶
func (e ScaleDecisionWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (ScaleDecisionWrapperValidationError) ErrorName ¶
func (e ScaleDecisionWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (ScaleDecisionWrapperValidationError) Field ¶
func (e ScaleDecisionWrapperValidationError) Field() string
Field function returns field value.
func (ScaleDecisionWrapperValidationError) Key ¶
func (e ScaleDecisionWrapperValidationError) Key() bool
Key function returns key value.
func (ScaleDecisionWrapperValidationError) Reason ¶
func (e ScaleDecisionWrapperValidationError) Reason() string
Reason function returns reason value.
type ScaleStatus ¶
type ScaleStatus struct { ConfiguredReplicas int32 `protobuf:"varint,1,opt,name=configured_replicas,json=configuredReplicas,proto3" json:"configured_replicas,omitempty"` ActualReplicas int32 `protobuf:"varint,2,opt,name=actual_replicas,json=actualReplicas,proto3" json:"actual_replicas,omitempty"` // contains filtered or unexported fields }
func (*ScaleStatus) Descriptor
deprecated
func (*ScaleStatus) Descriptor() ([]byte, []int)
Deprecated: Use ScaleStatus.ProtoReflect.Descriptor instead.
func (*ScaleStatus) GetActualReplicas ¶
func (x *ScaleStatus) GetActualReplicas() int32
func (*ScaleStatus) GetConfiguredReplicas ¶
func (x *ScaleStatus) GetConfiguredReplicas() int32
func (*ScaleStatus) MarshalJSON ¶
func (msg *ScaleStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ScaleStatus) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *ScaleStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScaleStatus) MarshalToVT ¶ added in v2.7.0
func (m *ScaleStatus) MarshalToVT(dAtA []byte) (int, error)
func (*ScaleStatus) MarshalVT ¶ added in v2.7.0
func (m *ScaleStatus) MarshalVT() (dAtA []byte, err error)
func (*ScaleStatus) ProtoMessage ¶
func (*ScaleStatus) ProtoMessage()
func (*ScaleStatus) ProtoReflect ¶
func (x *ScaleStatus) ProtoReflect() protoreflect.Message
func (*ScaleStatus) Reset ¶
func (x *ScaleStatus) Reset()
func (*ScaleStatus) SizeVT ¶ added in v2.7.0
func (m *ScaleStatus) SizeVT() (n int)
func (*ScaleStatus) String ¶
func (x *ScaleStatus) String() string
func (*ScaleStatus) UnmarshalJSON ¶
func (msg *ScaleStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ScaleStatus) UnmarshalVT ¶ added in v2.7.0
func (m *ScaleStatus) UnmarshalVT(dAtA []byte) error
func (*ScaleStatus) Validate ¶
func (m *ScaleStatus) Validate() error
Validate checks the field values on ScaleStatus 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 (*ScaleStatus) ValidateAll ¶
func (m *ScaleStatus) ValidateAll() error
ValidateAll checks the field values on ScaleStatus 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 ScaleStatusMultiError, or nil if none found.
type ScaleStatusMultiError ¶
type ScaleStatusMultiError []error
ScaleStatusMultiError is an error wrapping multiple validation errors returned by ScaleStatus.ValidateAll() if the designated constraints aren't met.
func (ScaleStatusMultiError) AllErrors ¶
func (m ScaleStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScaleStatusMultiError) Error ¶
func (m ScaleStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScaleStatusValidationError ¶
type ScaleStatusValidationError struct {
// contains filtered or unexported fields
}
ScaleStatusValidationError is the validation error returned by ScaleStatus.Validate if the designated constraints aren't met.
func (ScaleStatusValidationError) Cause ¶
func (e ScaleStatusValidationError) Cause() error
Cause function returns cause value.
func (ScaleStatusValidationError) Error ¶
func (e ScaleStatusValidationError) Error() string
Error satisfies the builtin error interface
func (ScaleStatusValidationError) ErrorName ¶
func (e ScaleStatusValidationError) ErrorName() string
ErrorName returns error name.
func (ScaleStatusValidationError) Field ¶
func (e ScaleStatusValidationError) Field() string
Field function returns field value.
func (ScaleStatusValidationError) Key ¶
func (e ScaleStatusValidationError) Key() bool
Key function returns key value.
func (ScaleStatusValidationError) Reason ¶
func (e ScaleStatusValidationError) Reason() string
Reason function returns reason value.
type ScaleStatusWrapper ¶
type ScaleStatusWrapper struct { // CommonAttributes CommonAttributes *CommonAttributes `protobuf:"bytes,1,opt,name=common_attributes,json=commonAttributes,proto3" json:"common_attributes,omitempty"` ScaleStatus *ScaleStatus `protobuf:"bytes,2,opt,name=scale_status,json=scaleStatus,proto3" json:"scale_status,omitempty"` // contains filtered or unexported fields }
func (*ScaleStatusWrapper) Descriptor
deprecated
func (*ScaleStatusWrapper) Descriptor() ([]byte, []int)
Deprecated: Use ScaleStatusWrapper.ProtoReflect.Descriptor instead.
func (*ScaleStatusWrapper) GetCommonAttributes ¶
func (x *ScaleStatusWrapper) GetCommonAttributes() *CommonAttributes
func (*ScaleStatusWrapper) GetScaleStatus ¶
func (x *ScaleStatusWrapper) GetScaleStatus() *ScaleStatus
func (*ScaleStatusWrapper) MarshalJSON ¶
func (msg *ScaleStatusWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ScaleStatusWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *ScaleStatusWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScaleStatusWrapper) MarshalToVT ¶ added in v2.7.0
func (m *ScaleStatusWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*ScaleStatusWrapper) MarshalVT ¶ added in v2.7.0
func (m *ScaleStatusWrapper) MarshalVT() (dAtA []byte, err error)
func (*ScaleStatusWrapper) ProtoMessage ¶
func (*ScaleStatusWrapper) ProtoMessage()
func (*ScaleStatusWrapper) ProtoReflect ¶
func (x *ScaleStatusWrapper) ProtoReflect() protoreflect.Message
func (*ScaleStatusWrapper) Reset ¶
func (x *ScaleStatusWrapper) Reset()
func (*ScaleStatusWrapper) SizeVT ¶ added in v2.7.0
func (m *ScaleStatusWrapper) SizeVT() (n int)
func (*ScaleStatusWrapper) String ¶
func (x *ScaleStatusWrapper) String() string
func (*ScaleStatusWrapper) UnmarshalJSON ¶
func (msg *ScaleStatusWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ScaleStatusWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *ScaleStatusWrapper) UnmarshalVT(dAtA []byte) error
func (*ScaleStatusWrapper) Validate ¶
func (m *ScaleStatusWrapper) Validate() error
Validate checks the field values on ScaleStatusWrapper 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 (*ScaleStatusWrapper) ValidateAll ¶
func (m *ScaleStatusWrapper) ValidateAll() error
ValidateAll checks the field values on ScaleStatusWrapper 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 ScaleStatusWrapperMultiError, or nil if none found.
type ScaleStatusWrapperMultiError ¶
type ScaleStatusWrapperMultiError []error
ScaleStatusWrapperMultiError is an error wrapping multiple validation errors returned by ScaleStatusWrapper.ValidateAll() if the designated constraints aren't met.
func (ScaleStatusWrapperMultiError) AllErrors ¶
func (m ScaleStatusWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScaleStatusWrapperMultiError) Error ¶
func (m ScaleStatusWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScaleStatusWrapperValidationError ¶
type ScaleStatusWrapperValidationError struct {
// contains filtered or unexported fields
}
ScaleStatusWrapperValidationError is the validation error returned by ScaleStatusWrapper.Validate if the designated constraints aren't met.
func (ScaleStatusWrapperValidationError) Cause ¶
func (e ScaleStatusWrapperValidationError) Cause() error
Cause function returns cause value.
func (ScaleStatusWrapperValidationError) Error ¶
func (e ScaleStatusWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (ScaleStatusWrapperValidationError) ErrorName ¶
func (e ScaleStatusWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (ScaleStatusWrapperValidationError) Field ¶
func (e ScaleStatusWrapperValidationError) Field() string
Field function returns field value.
func (ScaleStatusWrapperValidationError) Key ¶
func (e ScaleStatusWrapperValidationError) Key() bool
Key function returns key value.
func (ScaleStatusWrapperValidationError) Reason ¶
func (e ScaleStatusWrapperValidationError) Reason() string
Reason function returns reason value.
type TelemetryCollectorWrapper ¶ added in v2.6.0
type TelemetryCollectorWrapper struct { // Telemetry Collector. TelemetryCollector *v1.TelemetryCollector `protobuf:"bytes,1,opt,name=telemetry_collector,json=telemetryCollector,proto3" json:"telemetry_collector,omitempty"` // Name of Flux Meter metric. TelemetryCollectorId int64 `protobuf:"varint,4,opt,name=telemetry_collector_id,json=telemetryCollectorId,proto3" json:"telemetry_collector_id,omitempty"` // Name of the Policy. PolicyName string `protobuf:"bytes,5,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // contains filtered or unexported fields }
func (*TelemetryCollectorWrapper) Descriptor
deprecated
added in
v2.6.0
func (*TelemetryCollectorWrapper) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryCollectorWrapper.ProtoReflect.Descriptor instead.
func (*TelemetryCollectorWrapper) GetPolicyName ¶ added in v2.6.0
func (x *TelemetryCollectorWrapper) GetPolicyName() string
func (*TelemetryCollectorWrapper) GetTelemetryCollector ¶ added in v2.6.0
func (x *TelemetryCollectorWrapper) GetTelemetryCollector() *v1.TelemetryCollector
func (*TelemetryCollectorWrapper) GetTelemetryCollectorId ¶ added in v2.6.0
func (x *TelemetryCollectorWrapper) GetTelemetryCollectorId() int64
func (*TelemetryCollectorWrapper) MarshalJSON ¶ added in v2.6.0
func (msg *TelemetryCollectorWrapper) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*TelemetryCollectorWrapper) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *TelemetryCollectorWrapper) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TelemetryCollectorWrapper) MarshalToVT ¶ added in v2.7.0
func (m *TelemetryCollectorWrapper) MarshalToVT(dAtA []byte) (int, error)
func (*TelemetryCollectorWrapper) MarshalVT ¶ added in v2.7.0
func (m *TelemetryCollectorWrapper) MarshalVT() (dAtA []byte, err error)
func (*TelemetryCollectorWrapper) ProtoMessage ¶ added in v2.6.0
func (*TelemetryCollectorWrapper) ProtoMessage()
func (*TelemetryCollectorWrapper) ProtoReflect ¶ added in v2.6.0
func (x *TelemetryCollectorWrapper) ProtoReflect() protoreflect.Message
func (*TelemetryCollectorWrapper) Reset ¶ added in v2.6.0
func (x *TelemetryCollectorWrapper) Reset()
func (*TelemetryCollectorWrapper) SizeVT ¶ added in v2.7.0
func (m *TelemetryCollectorWrapper) SizeVT() (n int)
func (*TelemetryCollectorWrapper) String ¶ added in v2.6.0
func (x *TelemetryCollectorWrapper) String() string
func (*TelemetryCollectorWrapper) UnmarshalJSON ¶ added in v2.6.0
func (msg *TelemetryCollectorWrapper) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*TelemetryCollectorWrapper) UnmarshalVT ¶ added in v2.7.0
func (m *TelemetryCollectorWrapper) UnmarshalVT(dAtA []byte) error
func (*TelemetryCollectorWrapper) Validate ¶ added in v2.6.0
func (m *TelemetryCollectorWrapper) Validate() error
Validate checks the field values on TelemetryCollectorWrapper 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 (*TelemetryCollectorWrapper) ValidateAll ¶ added in v2.6.0
func (m *TelemetryCollectorWrapper) ValidateAll() error
ValidateAll checks the field values on TelemetryCollectorWrapper 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 TelemetryCollectorWrapperMultiError, or nil if none found.
type TelemetryCollectorWrapperMultiError ¶ added in v2.6.0
type TelemetryCollectorWrapperMultiError []error
TelemetryCollectorWrapperMultiError is an error wrapping multiple validation errors returned by TelemetryCollectorWrapper.ValidateAll() if the designated constraints aren't met.
func (TelemetryCollectorWrapperMultiError) AllErrors ¶ added in v2.6.0
func (m TelemetryCollectorWrapperMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TelemetryCollectorWrapperMultiError) Error ¶ added in v2.6.0
func (m TelemetryCollectorWrapperMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TelemetryCollectorWrapperValidationError ¶ added in v2.6.0
type TelemetryCollectorWrapperValidationError struct {
// contains filtered or unexported fields
}
TelemetryCollectorWrapperValidationError is the validation error returned by TelemetryCollectorWrapper.Validate if the designated constraints aren't met.
func (TelemetryCollectorWrapperValidationError) Cause ¶ added in v2.6.0
func (e TelemetryCollectorWrapperValidationError) Cause() error
Cause function returns cause value.
func (TelemetryCollectorWrapperValidationError) Error ¶ added in v2.6.0
func (e TelemetryCollectorWrapperValidationError) Error() string
Error satisfies the builtin error interface
func (TelemetryCollectorWrapperValidationError) ErrorName ¶ added in v2.6.0
func (e TelemetryCollectorWrapperValidationError) ErrorName() string
ErrorName returns error name.
func (TelemetryCollectorWrapperValidationError) Field ¶ added in v2.6.0
func (e TelemetryCollectorWrapperValidationError) Field() string
Field function returns field value.
func (TelemetryCollectorWrapperValidationError) Key ¶ added in v2.6.0
func (e TelemetryCollectorWrapperValidationError) Key() bool
Key function returns key value.
func (TelemetryCollectorWrapperValidationError) Reason ¶ added in v2.6.0
func (e TelemetryCollectorWrapperValidationError) Reason() string
Reason function returns reason value.
type TickInfo ¶
type TickInfo struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` NextTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=next_timestamp,json=nextTimestamp,proto3" json:"next_timestamp,omitempty"` Tick int64 `protobuf:"varint,3,opt,name=tick,proto3" json:"tick,omitempty"` Interval *durationpb.Duration `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
func (*TickInfo) Descriptor
deprecated
func (*TickInfo) GetInterval ¶
func (x *TickInfo) GetInterval() *durationpb.Duration
func (*TickInfo) GetNextTimestamp ¶
func (x *TickInfo) GetNextTimestamp() *timestamppb.Timestamp
func (*TickInfo) GetTimestamp ¶
func (x *TickInfo) GetTimestamp() *timestamppb.Timestamp
func (*TickInfo) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*TickInfo) MarshalToSizedBufferVT ¶ added in v2.7.0
func (*TickInfo) MarshalToVT ¶ added in v2.7.0
func (*TickInfo) ProtoMessage ¶
func (*TickInfo) ProtoMessage()
func (*TickInfo) ProtoReflect ¶
func (x *TickInfo) ProtoReflect() protoreflect.Message
func (*TickInfo) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*TickInfo) UnmarshalVT ¶ added in v2.7.0
func (*TickInfo) Validate ¶
Validate checks the field values on TickInfo 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 (*TickInfo) ValidateAll ¶
ValidateAll checks the field values on TickInfo 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 TickInfoMultiError, or nil if none found.
type TickInfoMultiError ¶
type TickInfoMultiError []error
TickInfoMultiError is an error wrapping multiple validation errors returned by TickInfo.ValidateAll() if the designated constraints aren't met.
func (TickInfoMultiError) AllErrors ¶
func (m TickInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TickInfoMultiError) Error ¶
func (m TickInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TickInfoValidationError ¶
type TickInfoValidationError struct {
// contains filtered or unexported fields
}
TickInfoValidationError is the validation error returned by TickInfo.Validate if the designated constraints aren't met.
func (TickInfoValidationError) Cause ¶
func (e TickInfoValidationError) Cause() error
Cause function returns cause value.
func (TickInfoValidationError) Error ¶
func (e TickInfoValidationError) Error() string
Error satisfies the builtin error interface
func (TickInfoValidationError) ErrorName ¶
func (e TickInfoValidationError) ErrorName() string
ErrorName returns error name.
func (TickInfoValidationError) Field ¶
func (e TickInfoValidationError) Field() string
Field function returns field value.
func (TickInfoValidationError) Key ¶
func (e TickInfoValidationError) Key() bool
Key function returns key value.
func (TickInfoValidationError) Reason ¶
func (e TickInfoValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- classifier.pb.go
- classifier.pb.json.go
- classifier.pb.validate.go
- classifier_vtproto.pb.go
- common_attributes.pb.go
- common_attributes.pb.json.go
- common_attributes.pb.validate.go
- common_attributes_vtproto.pb.go
- flux_meter.pb.go
- flux_meter.pb.json.go
- flux_meter.pb.validate.go
- flux_meter_vtproto.pb.go
- infra_meter.pb.go
- infra_meter.pb.json.go
- infra_meter.pb.validate.go
- infra_meter_vtproto.pb.go
- load_scheduler.pb.go
- load_scheduler.pb.json.go
- load_scheduler.pb.validate.go
- load_scheduler_vtproto.pb.go
- pod_scaler.pb.go
- pod_scaler.pb.json.go
- pod_scaler.pb.validate.go
- pod_scaler_vtproto.pb.go
- policy.pb.go
- policy.pb.json.go
- policy.pb.validate.go
- policy_vtproto.pb.go
- quota_scheduler.pb.go
- quota_scheduler.pb.json.go
- quota_scheduler.pb.validate.go
- quota_scheduler_vtproto.pb.go
- rate_limiter.pb.go
- rate_limiter.pb.json.go
- rate_limiter.pb.validate.go
- rate_limiter_vtproto.pb.go
- sampler.pb.go
- sampler.pb.json.go
- sampler.pb.validate.go
- sampler_vtproto.pb.go
- telemetry_collector.pb.go
- telemetry_collector.pb.json.go
- telemetry_collector.pb.validate.go
- telemetry_collector_vtproto.pb.go
- tick.pb.go
- tick.pb.json.go
- tick.pb.validate.go
- tick_vtproto.pb.go