Documentation ¶
Index ¶
- Variables
- type CodecClientType
- type DoubleRange
- func (*DoubleRange) Descriptor() ([]byte, []int)
- func (this *DoubleRange) Equal(that interface{}) bool
- func (m *DoubleRange) GetEnd() float64
- func (m *DoubleRange) GetStart() float64
- func (*DoubleRange) ProtoMessage()
- func (m *DoubleRange) Reset()
- func (m *DoubleRange) String() string
- func (m *DoubleRange) XXX_DiscardUnknown()
- func (m *DoubleRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DoubleRange) XXX_Merge(src proto.Message)
- func (m *DoubleRange) XXX_Size() int
- func (m *DoubleRange) XXX_Unmarshal(b []byte) error
- type FractionalPercent
- func (*FractionalPercent) Descriptor() ([]byte, []int)
- func (this *FractionalPercent) Equal(that interface{}) bool
- func (m *FractionalPercent) GetDenominator() FractionalPercent_DenominatorType
- func (m *FractionalPercent) GetNumerator() uint32
- func (m *FractionalPercent) Hash(hasher hash.Hash64) (uint64, error)
- func (*FractionalPercent) ProtoMessage()
- func (m *FractionalPercent) Reset()
- func (m *FractionalPercent) String() string
- func (m *FractionalPercent) XXX_DiscardUnknown()
- func (m *FractionalPercent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FractionalPercent) XXX_Merge(src proto.Message)
- func (m *FractionalPercent) XXX_Size() int
- func (m *FractionalPercent) XXX_Unmarshal(b []byte) error
- type FractionalPercent_DenominatorType
- type Int32Range
- func (*Int32Range) Descriptor() ([]byte, []int)
- func (this *Int32Range) Equal(that interface{}) bool
- func (m *Int32Range) GetEnd() int32
- func (m *Int32Range) GetStart() int32
- func (*Int32Range) ProtoMessage()
- func (m *Int32Range) Reset()
- func (m *Int32Range) String() string
- func (m *Int32Range) XXX_DiscardUnknown()
- func (m *Int32Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int32Range) XXX_Merge(src proto.Message)
- func (m *Int32Range) XXX_Size() int
- func (m *Int32Range) XXX_Unmarshal(b []byte) error
- type Int64Range
- func (*Int64Range) Descriptor() ([]byte, []int)
- func (this *Int64Range) Equal(that interface{}) bool
- func (m *Int64Range) GetEnd() int64
- func (m *Int64Range) GetStart() int64
- func (*Int64Range) ProtoMessage()
- func (m *Int64Range) Reset()
- func (m *Int64Range) String() string
- func (m *Int64Range) XXX_DiscardUnknown()
- func (m *Int64Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int64Range) XXX_Merge(src proto.Message)
- func (m *Int64Range) XXX_Size() int
- func (m *Int64Range) XXX_Unmarshal(b []byte) error
- type Percent
- func (*Percent) Descriptor() ([]byte, []int)
- func (this *Percent) Equal(that interface{}) bool
- func (m *Percent) GetValue() float64
- func (m *Percent) Hash(hasher hash.Hash64) (uint64, error)
- func (*Percent) ProtoMessage()
- func (m *Percent) Reset()
- func (m *Percent) String() string
- func (m *Percent) XXX_DiscardUnknown()
- func (m *Percent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Percent) XXX_Merge(src proto.Message)
- func (m *Percent) XXX_Size() int
- func (m *Percent) XXX_Unmarshal(b []byte) error
- type SemanticVersion
- func (*SemanticVersion) Descriptor() ([]byte, []int)
- func (this *SemanticVersion) Equal(that interface{}) bool
- func (m *SemanticVersion) GetMajorNumber() uint32
- func (m *SemanticVersion) GetMinorNumber() uint32
- func (m *SemanticVersion) GetPatch() uint32
- func (m *SemanticVersion) Hash(hasher hash.Hash64) (uint64, error)
- func (*SemanticVersion) ProtoMessage()
- func (m *SemanticVersion) Reset()
- func (m *SemanticVersion) String() string
- func (m *SemanticVersion) XXX_DiscardUnknown()
- func (m *SemanticVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SemanticVersion) XXX_Merge(src proto.Message)
- func (m *SemanticVersion) XXX_Size() int
- func (m *SemanticVersion) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var CodecClientType_name = map[int32]string{
0: "HTTP1",
1: "HTTP2",
2: "HTTP3",
}
var CodecClientType_value = map[string]int32{
"HTTP1": 0,
"HTTP2": 1,
"HTTP3": 2,
}
var FractionalPercent_DenominatorType_name = map[int32]string{
0: "HUNDRED",
1: "TEN_THOUSAND",
2: "MILLION",
}
var FractionalPercent_DenominatorType_value = map[string]int32{
"HUNDRED": 0,
"TEN_THOUSAND": 1,
"MILLION": 2,
}
Functions ¶
This section is empty.
Types ¶
type CodecClientType ¶ added in v1.4.10
type CodecClientType int32
const ( CodecClientType_HTTP1 CodecClientType = 0 CodecClientType_HTTP2 CodecClientType = 1 // [#not-implemented-hide:] QUIC implementation is not production ready yet. Use this enum with // caution to prevent accidental execution of QUIC code. I.e. `!= HTTP2` is no longer sufficient // to distinguish HTTP1 and HTTP2 traffic. CodecClientType_HTTP3 CodecClientType = 2 )
func (CodecClientType) EnumDescriptor ¶ added in v1.4.10
func (CodecClientType) EnumDescriptor() ([]byte, []int)
func (CodecClientType) String ¶ added in v1.4.10
func (x CodecClientType) String() string
type DoubleRange ¶
type DoubleRange struct { // start of the range (inclusive) Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"` // end of the range (exclusive) End float64 `protobuf:"fixed64,2,opt,name=end,proto3" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies the double start and end of the range using half-open interval semantics [start, end).
func (*DoubleRange) Descriptor ¶
func (*DoubleRange) Descriptor() ([]byte, []int)
func (*DoubleRange) Equal ¶
func (this *DoubleRange) Equal(that interface{}) bool
func (*DoubleRange) GetEnd ¶
func (m *DoubleRange) GetEnd() float64
func (*DoubleRange) GetStart ¶
func (m *DoubleRange) GetStart() float64
func (*DoubleRange) ProtoMessage ¶
func (*DoubleRange) ProtoMessage()
func (*DoubleRange) Reset ¶
func (m *DoubleRange) Reset()
func (*DoubleRange) String ¶
func (m *DoubleRange) String() string
func (*DoubleRange) XXX_DiscardUnknown ¶
func (m *DoubleRange) XXX_DiscardUnknown()
func (*DoubleRange) XXX_Marshal ¶
func (m *DoubleRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DoubleRange) XXX_Merge ¶
func (m *DoubleRange) XXX_Merge(src proto.Message)
func (*DoubleRange) XXX_Size ¶
func (m *DoubleRange) XXX_Size() int
func (*DoubleRange) XXX_Unmarshal ¶
func (m *DoubleRange) XXX_Unmarshal(b []byte) error
type FractionalPercent ¶
type FractionalPercent struct { // Specifies the numerator. Defaults to 0. Numerator uint32 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"` // Specifies the denominator. If the denominator specified is less than the numerator, the final // fractional percentage is capped at 1 (100%). Denominator FractionalPercent_DenominatorType `` /* 129-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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%.
func (*FractionalPercent) Descriptor ¶
func (*FractionalPercent) Descriptor() ([]byte, []int)
func (*FractionalPercent) Equal ¶
func (this *FractionalPercent) Equal(that interface{}) bool
func (*FractionalPercent) GetDenominator ¶
func (m *FractionalPercent) GetDenominator() FractionalPercent_DenominatorType
func (*FractionalPercent) GetNumerator ¶
func (m *FractionalPercent) GetNumerator() uint32
func (*FractionalPercent) Hash ¶ added in v1.5.0
func (m *FractionalPercent) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*FractionalPercent) ProtoMessage ¶
func (*FractionalPercent) ProtoMessage()
func (*FractionalPercent) Reset ¶
func (m *FractionalPercent) Reset()
func (*FractionalPercent) String ¶
func (m *FractionalPercent) String() string
func (*FractionalPercent) XXX_DiscardUnknown ¶
func (m *FractionalPercent) XXX_DiscardUnknown()
func (*FractionalPercent) XXX_Marshal ¶
func (m *FractionalPercent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FractionalPercent) XXX_Merge ¶
func (m *FractionalPercent) XXX_Merge(src proto.Message)
func (*FractionalPercent) XXX_Size ¶
func (m *FractionalPercent) XXX_Size() int
func (*FractionalPercent) XXX_Unmarshal ¶
func (m *FractionalPercent) XXX_Unmarshal(b []byte) error
type FractionalPercent_DenominatorType ¶
type FractionalPercent_DenominatorType int32
Fraction percentages support several fixed denominator values.
const ( // 100. // // **Example**: 1/100 = 1%. FractionalPercent_HUNDRED FractionalPercent_DenominatorType = 0 // 10,000. // // **Example**: 1/10000 = 0.01%. FractionalPercent_TEN_THOUSAND FractionalPercent_DenominatorType = 1 // 1,000,000. // // **Example**: 1/1000000 = 0.0001%. FractionalPercent_MILLION FractionalPercent_DenominatorType = 2 )
func (FractionalPercent_DenominatorType) EnumDescriptor ¶
func (FractionalPercent_DenominatorType) EnumDescriptor() ([]byte, []int)
func (FractionalPercent_DenominatorType) String ¶
func (x FractionalPercent_DenominatorType) String() string
type Int32Range ¶
type Int32Range struct { // start of the range (inclusive) Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // end of the range (exclusive) End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies the int32 start and end of the range using half-open interval semantics [start, end).
func (*Int32Range) Descriptor ¶
func (*Int32Range) Descriptor() ([]byte, []int)
func (*Int32Range) Equal ¶
func (this *Int32Range) Equal(that interface{}) bool
func (*Int32Range) GetEnd ¶
func (m *Int32Range) GetEnd() int32
func (*Int32Range) GetStart ¶
func (m *Int32Range) GetStart() int32
func (*Int32Range) ProtoMessage ¶
func (*Int32Range) ProtoMessage()
func (*Int32Range) Reset ¶
func (m *Int32Range) Reset()
func (*Int32Range) String ¶
func (m *Int32Range) String() string
func (*Int32Range) XXX_DiscardUnknown ¶
func (m *Int32Range) XXX_DiscardUnknown()
func (*Int32Range) XXX_Marshal ¶
func (m *Int32Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int32Range) XXX_Merge ¶
func (m *Int32Range) XXX_Merge(src proto.Message)
func (*Int32Range) XXX_Size ¶
func (m *Int32Range) XXX_Size() int
func (*Int32Range) XXX_Unmarshal ¶
func (m *Int32Range) XXX_Unmarshal(b []byte) error
type Int64Range ¶
type Int64Range struct { // start of the range (inclusive) Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // end of the range (exclusive) End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies the int64 start and end of the range using half-open interval semantics [start, end).
func (*Int64Range) Descriptor ¶
func (*Int64Range) Descriptor() ([]byte, []int)
func (*Int64Range) Equal ¶
func (this *Int64Range) Equal(that interface{}) bool
func (*Int64Range) GetEnd ¶
func (m *Int64Range) GetEnd() int64
func (*Int64Range) GetStart ¶
func (m *Int64Range) GetStart() int64
func (*Int64Range) ProtoMessage ¶
func (*Int64Range) ProtoMessage()
func (*Int64Range) Reset ¶
func (m *Int64Range) Reset()
func (*Int64Range) String ¶
func (m *Int64Range) String() string
func (*Int64Range) XXX_DiscardUnknown ¶
func (m *Int64Range) XXX_DiscardUnknown()
func (*Int64Range) XXX_Marshal ¶
func (m *Int64Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int64Range) XXX_Merge ¶
func (m *Int64Range) XXX_Merge(src proto.Message)
func (*Int64Range) XXX_Size ¶
func (m *Int64Range) XXX_Size() int
func (*Int64Range) XXX_Unmarshal ¶
func (m *Int64Range) XXX_Unmarshal(b []byte) error
type Percent ¶
type Percent struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifies a percentage, in the range [0.0, 100.0].
func (*Percent) Descriptor ¶
func (*Percent) ProtoMessage ¶
func (*Percent) ProtoMessage()
func (*Percent) XXX_DiscardUnknown ¶
func (m *Percent) XXX_DiscardUnknown()
func (*Percent) XXX_Marshal ¶
func (*Percent) XXX_Unmarshal ¶
type SemanticVersion ¶
type SemanticVersion struct { MajorNumber uint32 `protobuf:"varint,1,opt,name=major_number,json=majorNumber,proto3" json:"major_number,omitempty"` MinorNumber uint32 `protobuf:"varint,2,opt,name=minor_number,json=minorNumber,proto3" json:"minor_number,omitempty"` Patch uint32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Envoy uses SemVer (https://semver.org/). Major/minor versions indicate expected behaviors and APIs, the patch version field is used only for security fixes and can be generally ignored.
func (*SemanticVersion) Descriptor ¶
func (*SemanticVersion) Descriptor() ([]byte, []int)
func (*SemanticVersion) Equal ¶
func (this *SemanticVersion) Equal(that interface{}) bool
func (*SemanticVersion) GetMajorNumber ¶
func (m *SemanticVersion) GetMajorNumber() uint32
func (*SemanticVersion) GetMinorNumber ¶
func (m *SemanticVersion) GetMinorNumber() uint32
func (*SemanticVersion) GetPatch ¶
func (m *SemanticVersion) GetPatch() uint32
func (*SemanticVersion) Hash ¶ added in v1.5.0
func (m *SemanticVersion) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*SemanticVersion) ProtoMessage ¶
func (*SemanticVersion) ProtoMessage()
func (*SemanticVersion) Reset ¶
func (m *SemanticVersion) Reset()
func (*SemanticVersion) String ¶
func (m *SemanticVersion) String() string
func (*SemanticVersion) XXX_DiscardUnknown ¶
func (m *SemanticVersion) XXX_DiscardUnknown()
func (*SemanticVersion) XXX_Marshal ¶
func (m *SemanticVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SemanticVersion) XXX_Merge ¶
func (m *SemanticVersion) XXX_Merge(src proto.Message)
func (*SemanticVersion) XXX_Size ¶
func (m *SemanticVersion) XXX_Size() int
func (*SemanticVersion) XXX_Unmarshal ¶
func (m *SemanticVersion) XXX_Unmarshal(b []byte) error