Documentation ¶
Index ¶
- Variables
- type CodecClientType
- func (CodecClientType) Descriptor() protoreflect.EnumDescriptor
- func (x CodecClientType) Enum() *CodecClientType
- func (CodecClientType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CodecClientType) Number() protoreflect.EnumNumber
- func (x CodecClientType) String() string
- func (CodecClientType) Type() protoreflect.EnumType
- type DoubleRange
- func (m *DoubleRange) Clone() proto.Message
- func (*DoubleRange) Descriptor() ([]byte, []int)deprecated
- func (m *DoubleRange) Equal(that interface{}) bool
- func (x *DoubleRange) GetEnd() float64
- func (x *DoubleRange) GetStart() float64
- func (m *DoubleRange) Hash(hasher hash.Hash64) (uint64, error)
- func (*DoubleRange) ProtoMessage()
- func (x *DoubleRange) ProtoReflect() protoreflect.Message
- func (x *DoubleRange) Reset()
- func (x *DoubleRange) String() string
- type FractionalPercent
- func (m *FractionalPercent) Clone() proto.Message
- func (*FractionalPercent) Descriptor() ([]byte, []int)deprecated
- func (m *FractionalPercent) Equal(that interface{}) bool
- func (x *FractionalPercent) GetDenominator() FractionalPercent_DenominatorType
- func (x *FractionalPercent) GetNumerator() uint32
- func (m *FractionalPercent) Hash(hasher hash.Hash64) (uint64, error)
- func (*FractionalPercent) ProtoMessage()
- func (x *FractionalPercent) ProtoReflect() protoreflect.Message
- func (x *FractionalPercent) Reset()
- func (x *FractionalPercent) String() string
- type FractionalPercent_DenominatorType
- func (FractionalPercent_DenominatorType) Descriptor() protoreflect.EnumDescriptor
- func (x FractionalPercent_DenominatorType) Enum() *FractionalPercent_DenominatorType
- func (FractionalPercent_DenominatorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FractionalPercent_DenominatorType) Number() protoreflect.EnumNumber
- func (x FractionalPercent_DenominatorType) String() string
- func (FractionalPercent_DenominatorType) Type() protoreflect.EnumType
- type Int32Range
- func (m *Int32Range) Clone() proto.Message
- func (*Int32Range) Descriptor() ([]byte, []int)deprecated
- func (m *Int32Range) Equal(that interface{}) bool
- func (x *Int32Range) GetEnd() int32
- func (x *Int32Range) GetStart() int32
- func (m *Int32Range) Hash(hasher hash.Hash64) (uint64, error)
- func (*Int32Range) ProtoMessage()
- func (x *Int32Range) ProtoReflect() protoreflect.Message
- func (x *Int32Range) Reset()
- func (x *Int32Range) String() string
- type Int64Range
- func (m *Int64Range) Clone() proto.Message
- func (*Int64Range) Descriptor() ([]byte, []int)deprecated
- func (m *Int64Range) Equal(that interface{}) bool
- func (x *Int64Range) GetEnd() int64
- func (x *Int64Range) GetStart() int64
- func (m *Int64Range) Hash(hasher hash.Hash64) (uint64, error)
- func (*Int64Range) ProtoMessage()
- func (x *Int64Range) ProtoReflect() protoreflect.Message
- func (x *Int64Range) Reset()
- func (x *Int64Range) String() string
- type Percent
- func (m *Percent) Clone() proto.Message
- func (*Percent) Descriptor() ([]byte, []int)deprecated
- func (m *Percent) Equal(that interface{}) bool
- func (x *Percent) GetValue() float64
- func (m *Percent) Hash(hasher hash.Hash64) (uint64, error)
- func (*Percent) ProtoMessage()
- func (x *Percent) ProtoReflect() protoreflect.Message
- func (x *Percent) Reset()
- func (x *Percent) String() string
- type SemanticVersion
- func (m *SemanticVersion) Clone() proto.Message
- func (*SemanticVersion) Descriptor() ([]byte, []int)deprecated
- func (m *SemanticVersion) Equal(that interface{}) bool
- func (x *SemanticVersion) GetMajorNumber() uint32
- func (x *SemanticVersion) GetMinorNumber() uint32
- func (x *SemanticVersion) GetPatch() uint32
- func (m *SemanticVersion) Hash(hasher hash.Hash64) (uint64, error)
- func (*SemanticVersion) ProtoMessage()
- func (x *SemanticVersion) ProtoReflect() protoreflect.Message
- func (x *SemanticVersion) Reset()
- func (x *SemanticVersion) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CodecClientType_name = map[int32]string{ 0: "HTTP1", 1: "HTTP2", 2: "HTTP3", } CodecClientType_value = map[string]int32{ "HTTP1": 0, "HTTP2": 1, "HTTP3": 2, } )
Enum value maps for CodecClientType.
var ( FractionalPercent_DenominatorType_name = map[int32]string{ 0: "HUNDRED", 1: "TEN_THOUSAND", 2: "MILLION", } FractionalPercent_DenominatorType_value = map[string]int32{ "HUNDRED": 0, "TEN_THOUSAND": 1, "MILLION": 2, } )
Enum value maps for FractionalPercent_DenominatorType.
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_type_v3_http_proto protoreflect.FileDescriptor
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_type_v3_percent_proto protoreflect.FileDescriptor
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_type_v3_range_proto protoreflect.FileDescriptor
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_type_v3_semantic_version_proto protoreflect.FileDescriptor
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) Descriptor ¶ added in v1.6.0
func (CodecClientType) Descriptor() protoreflect.EnumDescriptor
func (CodecClientType) Enum ¶ added in v1.6.0
func (x CodecClientType) Enum() *CodecClientType
func (CodecClientType) EnumDescriptor
deprecated
added in
v1.4.10
func (CodecClientType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CodecClientType.Descriptor instead.
func (CodecClientType) Number ¶ added in v1.6.0
func (x CodecClientType) Number() protoreflect.EnumNumber
func (CodecClientType) String ¶ added in v1.4.10
func (x CodecClientType) String() string
func (CodecClientType) Type ¶ added in v1.6.0
func (CodecClientType) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
Specifies the double start and end of the range using half-open interval semantics [start, end).
func (*DoubleRange) Clone ¶ added in v1.8.24
func (m *DoubleRange) Clone() proto.Message
Clone function
func (*DoubleRange) Descriptor
deprecated
func (*DoubleRange) Descriptor() ([]byte, []int)
Deprecated: Use DoubleRange.ProtoReflect.Descriptor instead.
func (*DoubleRange) GetEnd ¶
func (x *DoubleRange) GetEnd() float64
func (*DoubleRange) GetStart ¶
func (x *DoubleRange) GetStart() float64
func (*DoubleRange) Hash ¶ added in v1.6.0
func (m *DoubleRange) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*DoubleRange) ProtoMessage ¶
func (*DoubleRange) ProtoMessage()
func (*DoubleRange) ProtoReflect ¶ added in v1.6.0
func (x *DoubleRange) ProtoReflect() protoreflect.Message
func (*DoubleRange) Reset ¶
func (x *DoubleRange) Reset()
func (*DoubleRange) String ¶
func (x *DoubleRange) String() string
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 `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
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) Clone ¶ added in v1.8.24
func (m *FractionalPercent) Clone() proto.Message
Clone function
func (*FractionalPercent) Descriptor
deprecated
func (*FractionalPercent) Descriptor() ([]byte, []int)
Deprecated: Use FractionalPercent.ProtoReflect.Descriptor instead.
func (*FractionalPercent) Equal ¶
func (m *FractionalPercent) Equal(that interface{}) bool
Equal function
func (*FractionalPercent) GetDenominator ¶
func (x *FractionalPercent) GetDenominator() FractionalPercent_DenominatorType
func (*FractionalPercent) GetNumerator ¶
func (x *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) ProtoReflect ¶ added in v1.6.0
func (x *FractionalPercent) ProtoReflect() protoreflect.Message
func (*FractionalPercent) Reset ¶
func (x *FractionalPercent) Reset()
func (*FractionalPercent) String ¶
func (x *FractionalPercent) String() string
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) Descriptor ¶ added in v1.6.0
func (FractionalPercent_DenominatorType) Descriptor() protoreflect.EnumDescriptor
func (FractionalPercent_DenominatorType) Enum ¶ added in v1.6.0
func (x FractionalPercent_DenominatorType) Enum() *FractionalPercent_DenominatorType
func (FractionalPercent_DenominatorType) EnumDescriptor
deprecated
func (FractionalPercent_DenominatorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FractionalPercent_DenominatorType.Descriptor instead.
func (FractionalPercent_DenominatorType) Number ¶ added in v1.6.0
func (x FractionalPercent_DenominatorType) Number() protoreflect.EnumNumber
func (FractionalPercent_DenominatorType) String ¶
func (x FractionalPercent_DenominatorType) String() string
func (FractionalPercent_DenominatorType) Type ¶ added in v1.6.0
func (FractionalPercent_DenominatorType) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
Specifies the int32 start and end of the range using half-open interval semantics [start, end).
func (*Int32Range) Clone ¶ added in v1.8.24
func (m *Int32Range) Clone() proto.Message
Clone function
func (*Int32Range) Descriptor
deprecated
func (*Int32Range) Descriptor() ([]byte, []int)
Deprecated: Use Int32Range.ProtoReflect.Descriptor instead.
func (*Int32Range) GetEnd ¶
func (x *Int32Range) GetEnd() int32
func (*Int32Range) GetStart ¶
func (x *Int32Range) GetStart() int32
func (*Int32Range) Hash ¶ added in v1.6.0
func (m *Int32Range) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*Int32Range) ProtoMessage ¶
func (*Int32Range) ProtoMessage()
func (*Int32Range) ProtoReflect ¶ added in v1.6.0
func (x *Int32Range) ProtoReflect() protoreflect.Message
func (*Int32Range) Reset ¶
func (x *Int32Range) Reset()
func (*Int32Range) String ¶
func (x *Int32Range) String() string
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"` // contains filtered or unexported fields }
Specifies the int64 start and end of the range using half-open interval semantics [start, end).
func (*Int64Range) Clone ¶ added in v1.8.24
func (m *Int64Range) Clone() proto.Message
Clone function
func (*Int64Range) Descriptor
deprecated
func (*Int64Range) Descriptor() ([]byte, []int)
Deprecated: Use Int64Range.ProtoReflect.Descriptor instead.
func (*Int64Range) GetEnd ¶
func (x *Int64Range) GetEnd() int64
func (*Int64Range) GetStart ¶
func (x *Int64Range) GetStart() int64
func (*Int64Range) Hash ¶ added in v1.6.0
func (m *Int64Range) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*Int64Range) ProtoMessage ¶
func (*Int64Range) ProtoMessage()
func (*Int64Range) ProtoReflect ¶ added in v1.6.0
func (x *Int64Range) ProtoReflect() protoreflect.Message
func (*Int64Range) Reset ¶
func (x *Int64Range) Reset()
func (*Int64Range) String ¶
func (x *Int64Range) String() string
type Percent ¶
type Percent struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Identifies a percentage, in the range [0.0, 100.0].
func (*Percent) Descriptor
deprecated
func (*Percent) ProtoMessage ¶
func (*Percent) ProtoMessage()
func (*Percent) ProtoReflect ¶ added in v1.6.0
func (x *Percent) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
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) Clone ¶ added in v1.8.24
func (m *SemanticVersion) Clone() proto.Message
Clone function
func (*SemanticVersion) Descriptor
deprecated
func (*SemanticVersion) Descriptor() ([]byte, []int)
Deprecated: Use SemanticVersion.ProtoReflect.Descriptor instead.
func (*SemanticVersion) Equal ¶
func (m *SemanticVersion) Equal(that interface{}) bool
Equal function
func (*SemanticVersion) GetMajorNumber ¶
func (x *SemanticVersion) GetMajorNumber() uint32
func (*SemanticVersion) GetMinorNumber ¶
func (x *SemanticVersion) GetMinorNumber() uint32
func (*SemanticVersion) GetPatch ¶
func (x *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) ProtoReflect ¶ added in v1.6.0
func (x *SemanticVersion) ProtoReflect() protoreflect.Message
func (*SemanticVersion) Reset ¶
func (x *SemanticVersion) Reset()
func (*SemanticVersion) String ¶
func (x *SemanticVersion) String() string
Source Files ¶
- http.pb.clone.go
- http.pb.equal.go
- http.pb.go
- http.pb.hash.go
- percent.pb.clone.go
- percent.pb.equal.go
- percent.pb.go
- percent.pb.hash.go
- range.pb.clone.go
- range.pb.equal.go
- range.pb.go
- range.pb.hash.go
- semantic_version.pb.clone.go
- semantic_version.pb.equal.go
- semantic_version.pb.go
- semantic_version.pb.hash.go