Navigation :
Installation
Tutorials
Reference
-
Command-Line Reference
-
Operator API Reference
-- core.solo.iogithub.com/solo-io/solo-kit/api/v1/metadata.proto
-- core.solo.iogithub.com/solo-io/solo-kit/api/v1/ref.proto
-- core.solo.iogithub.com/solo-io/solo-kit/api/v1/solo-kit.proto
-- core.solo.iogithub.com/solo-io/solo-kit/api/v1/status.proto
-- envoy.api.v2.coreenvoy/api/v2/core/base.proto
-- envoy.api.v2.coreenvoy/api/v2/core/http_uri.proto
-- envoy.api.v2github.com/solo-io/solo-kit/api/external/envoy/api/v2/discovery.proto
-- envoy.typeenvoy/type/percent.proto
-- extprotoextproto/ext.proto
-- gogoprotogithub.com/gogo/protobuf/gogoproto/gogo.proto
-- google.apigithub.com/solo-io/solo-kit/api/external/google/api/annotations.proto
-- google.apigithub.com/solo-io/solo-kit/api/external/google/api/http.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/any.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/descriptor.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/duration.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/empty.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/struct.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/timestamp.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/wrappers.proto
-- io.prometheus.clientgithub.com/solo-io/solo-kit/api/external/metrics.proto
-- opencensus.proto.tracegithub.com/solo-io/solo-kit/api/external/trace.proto
-- validategithub.com/envoyproxy/protoc-gen-validate/validate/validate.proto
-- wasme.iogithub.com/solo-io/wasm/tools/wasme/cli/operator/api/wasme/v1/filter_deployment.proto
-
Wasme Image Config Reference
envoy.typeenvoy/type/percent.proto
Package : envoy.type
Top
envoy/type/percent.proto
Table of Contents
FractionalPercent
A fractional percentage is used in cases in which for performance reasons performing floating
point to integer conversions during randomness calculations is undesirable. The message includes
both a numerator and denominator that together determine the final fractional value.
Example : 1/100 = 1%.
Example : 3/10000 = 0.03%.
Field
Type
Label
Description
numerator
uint32
Specifies the numerator. Defaults to 0.
denominator
FractionalPercent.DenominatorType
Specifies the denominator. If the denominator specified is less than the numerator, the final
fractional percentage is capped at 1 (100%).
Percent
Identifies a percentage, in the range [0.0, 100.0].
Field
Type
Label
Description
value
double
FractionalPercent.DenominatorType
Fraction percentages support several fixed denominator values.
Name
Number
Description
HUNDRED
0
100.
Example : 1/100 = 1%. |
| TEN_THOUSAND | 1 | 10,000.
Example : 1/10000 = 0.01%. |
| MILLION | 2 | 1,000,000.
Example : 1/1000000 = 0.0001%. |