envoy_type

package
v1.6.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHashPolicy        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHashPolicy          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHashPolicy = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthHttpStatus        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHttpStatus          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHttpStatus = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPercent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPercent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPercent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRange        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRange          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRange = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSemanticVersion        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSemanticVersion          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSemanticVersion = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTokenBucket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTokenBucket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTokenBucket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CodecClientType_name = map[int32]string{
	0: "HTTP1",
	1: "HTTP2",
	2: "HTTP3",
}
View Source
var CodecClientType_value = map[string]int32{
	"HTTP1": 0,
	"HTTP2": 1,
	"HTTP3": 2,
}
View Source
var FractionalPercent_DenominatorType_name = map[int32]string{
	0: "HUNDRED",
	1: "TEN_THOUSAND",
	2: "MILLION",
}
View Source
var FractionalPercent_DenominatorType_value = map[string]int32{
	"HUNDRED":      0,
	"TEN_THOUSAND": 1,
	"MILLION":      2,
}
View Source
var StatusCode_name = map[int32]string{
	0:   "Empty",
	100: "Continue",
	200: "OK",
	201: "Created",
	202: "Accepted",
	203: "NonAuthoritativeInformation",
	204: "NoContent",
	205: "ResetContent",
	206: "PartialContent",
	207: "MultiStatus",
	208: "AlreadyReported",
	226: "IMUsed",
	300: "MultipleChoices",
	301: "MovedPermanently",
	302: "Found",
	303: "SeeOther",
	304: "NotModified",
	305: "UseProxy",
	307: "TemporaryRedirect",
	308: "PermanentRedirect",
	400: "BadRequest",
	401: "Unauthorized",
	402: "PaymentRequired",
	403: "Forbidden",
	404: "NotFound",
	405: "MethodNotAllowed",
	406: "NotAcceptable",
	407: "ProxyAuthenticationRequired",
	408: "RequestTimeout",
	409: "Conflict",
	410: "Gone",
	411: "LengthRequired",
	412: "PreconditionFailed",
	413: "PayloadTooLarge",
	414: "URITooLong",
	415: "UnsupportedMediaType",
	416: "RangeNotSatisfiable",
	417: "ExpectationFailed",
	421: "MisdirectedRequest",
	422: "UnprocessableEntity",
	423: "Locked",
	424: "FailedDependency",
	426: "UpgradeRequired",
	428: "PreconditionRequired",
	429: "TooManyRequests",
	431: "RequestHeaderFieldsTooLarge",
	500: "InternalServerError",
	501: "NotImplemented",
	502: "BadGateway",
	503: "ServiceUnavailable",
	504: "GatewayTimeout",
	505: "HTTPVersionNotSupported",
	506: "VariantAlsoNegotiates",
	507: "InsufficientStorage",
	508: "LoopDetected",
	510: "NotExtended",
	511: "NetworkAuthenticationRequired",
}
View Source
var StatusCode_value = map[string]int32{
	"Empty":                         0,
	"Continue":                      100,
	"OK":                            200,
	"Created":                       201,
	"Accepted":                      202,
	"NonAuthoritativeInformation":   203,
	"NoContent":                     204,
	"ResetContent":                  205,
	"PartialContent":                206,
	"MultiStatus":                   207,
	"AlreadyReported":               208,
	"IMUsed":                        226,
	"MultipleChoices":               300,
	"MovedPermanently":              301,
	"Found":                         302,
	"SeeOther":                      303,
	"NotModified":                   304,
	"UseProxy":                      305,
	"TemporaryRedirect":             307,
	"PermanentRedirect":             308,
	"BadRequest":                    400,
	"Unauthorized":                  401,
	"PaymentRequired":               402,
	"Forbidden":                     403,
	"NotFound":                      404,
	"MethodNotAllowed":              405,
	"NotAcceptable":                 406,
	"ProxyAuthenticationRequired":   407,
	"RequestTimeout":                408,
	"Conflict":                      409,
	"Gone":                          410,
	"LengthRequired":                411,
	"PreconditionFailed":            412,
	"PayloadTooLarge":               413,
	"URITooLong":                    414,
	"UnsupportedMediaType":          415,
	"RangeNotSatisfiable":           416,
	"ExpectationFailed":             417,
	"MisdirectedRequest":            421,
	"UnprocessableEntity":           422,
	"Locked":                        423,
	"FailedDependency":              424,
	"UpgradeRequired":               426,
	"PreconditionRequired":          428,
	"TooManyRequests":               429,
	"RequestHeaderFieldsTooLarge":   431,
	"InternalServerError":           500,
	"NotImplemented":                501,
	"BadGateway":                    502,
	"ServiceUnavailable":            503,
	"GatewayTimeout":                504,
	"HTTPVersionNotSupported":       505,
	"VariantAlsoNegotiates":         506,
	"InsufficientStorage":           507,
	"LoopDetected":                  508,
	"NotExtended":                   510,
	"NetworkAuthenticationRequired": 511,
}

Functions

This section is empty.

Types

type CodecClientType added in v0.86.0

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 v0.86.0

func (CodecClientType) EnumDescriptor() ([]byte, []int)

func (CodecClientType) String added in v0.86.0

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) GetEnd

func (m *DoubleRange) GetEnd() float64

func (*DoubleRange) GetStart

func (m *DoubleRange) GetStart() float64

func (*DoubleRange) Marshal

func (m *DoubleRange) Marshal() (dAtA []byte, err error)

func (*DoubleRange) MarshalTo

func (m *DoubleRange) MarshalTo(dAtA []byte) (int, error)

func (*DoubleRange) MarshalToSizedBuffer

func (m *DoubleRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DoubleRange) ProtoMessage

func (*DoubleRange) ProtoMessage()

func (*DoubleRange) Reset

func (m *DoubleRange) Reset()

func (*DoubleRange) Size

func (m *DoubleRange) Size() (n int)

func (*DoubleRange) String

func (m *DoubleRange) String() string

func (*DoubleRange) Unmarshal

func (m *DoubleRange) Unmarshal(dAtA []byte) error

func (*DoubleRange) Validate

func (m *DoubleRange) Validate() error

Validate checks the field values on DoubleRange with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 DoubleRangeValidationError

type DoubleRangeValidationError struct {
	// contains filtered or unexported fields
}

DoubleRangeValidationError is the validation error returned by DoubleRange.Validate if the designated constraints aren't met.

func (DoubleRangeValidationError) Cause

Cause function returns cause value.

func (DoubleRangeValidationError) Error

Error satisfies the builtin error interface

func (DoubleRangeValidationError) ErrorName

func (e DoubleRangeValidationError) ErrorName() string

ErrorName returns error name.

func (DoubleRangeValidationError) Field

Field function returns field value.

func (DoubleRangeValidationError) Key

Key function returns key value.

func (DoubleRangeValidationError) Reason

Reason function returns reason value.

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 `` /* 126-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) GetDenominator

func (*FractionalPercent) GetNumerator

func (m *FractionalPercent) GetNumerator() uint32

func (*FractionalPercent) Marshal

func (m *FractionalPercent) Marshal() (dAtA []byte, err error)

func (*FractionalPercent) MarshalTo

func (m *FractionalPercent) MarshalTo(dAtA []byte) (int, error)

func (*FractionalPercent) MarshalToSizedBuffer

func (m *FractionalPercent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FractionalPercent) ProtoMessage

func (*FractionalPercent) ProtoMessage()

func (*FractionalPercent) Reset

func (m *FractionalPercent) Reset()

func (*FractionalPercent) Size

func (m *FractionalPercent) Size() (n int)

func (*FractionalPercent) String

func (m *FractionalPercent) String() string

func (*FractionalPercent) Unmarshal

func (m *FractionalPercent) Unmarshal(dAtA []byte) error

func (*FractionalPercent) Validate

func (m *FractionalPercent) Validate() error

Validate checks the field values on FractionalPercent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 FractionalPercentValidationError

type FractionalPercentValidationError struct {
	// contains filtered or unexported fields
}

FractionalPercentValidationError is the validation error returned by FractionalPercent.Validate if the designated constraints aren't met.

func (FractionalPercentValidationError) Cause

Cause function returns cause value.

func (FractionalPercentValidationError) Error

Error satisfies the builtin error interface

func (FractionalPercentValidationError) ErrorName

ErrorName returns error name.

func (FractionalPercentValidationError) Field

Field function returns field value.

func (FractionalPercentValidationError) Key

Key function returns key value.

func (FractionalPercentValidationError) Reason

Reason function returns reason value.

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

type HashPolicy added in v1.5.0

type HashPolicy struct {
	// Types that are valid to be assigned to PolicySpecifier:
	//	*HashPolicy_SourceIp_
	PolicySpecifier      isHashPolicy_PolicySpecifier `protobuf_oneof:"policy_specifier"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Specifies the hash policy

func (*HashPolicy) Descriptor added in v1.5.0

func (*HashPolicy) Descriptor() ([]byte, []int)

func (*HashPolicy) GetPolicySpecifier added in v1.5.0

func (m *HashPolicy) GetPolicySpecifier() isHashPolicy_PolicySpecifier

func (*HashPolicy) GetSourceIp added in v1.5.0

func (m *HashPolicy) GetSourceIp() *HashPolicy_SourceIp

func (*HashPolicy) Marshal added in v1.5.0

func (m *HashPolicy) Marshal() (dAtA []byte, err error)

func (*HashPolicy) MarshalTo added in v1.5.0

func (m *HashPolicy) MarshalTo(dAtA []byte) (int, error)

func (*HashPolicy) MarshalToSizedBuffer added in v1.5.0

func (m *HashPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HashPolicy) ProtoMessage added in v1.5.0

func (*HashPolicy) ProtoMessage()

func (*HashPolicy) Reset added in v1.5.0

func (m *HashPolicy) Reset()

func (*HashPolicy) Size added in v1.5.0

func (m *HashPolicy) Size() (n int)

func (*HashPolicy) String added in v1.5.0

func (m *HashPolicy) String() string

func (*HashPolicy) Unmarshal added in v1.5.0

func (m *HashPolicy) Unmarshal(dAtA []byte) error

func (*HashPolicy) Validate added in v1.5.0

func (m *HashPolicy) Validate() error

Validate checks the field values on HashPolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HashPolicy) XXX_DiscardUnknown added in v1.5.0

func (m *HashPolicy) XXX_DiscardUnknown()

func (*HashPolicy) XXX_Marshal added in v1.5.0

func (m *HashPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HashPolicy) XXX_Merge added in v1.5.0

func (m *HashPolicy) XXX_Merge(src proto.Message)

func (*HashPolicy) XXX_OneofWrappers added in v1.5.0

func (*HashPolicy) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*HashPolicy) XXX_Size added in v1.5.0

func (m *HashPolicy) XXX_Size() int

func (*HashPolicy) XXX_Unmarshal added in v1.5.0

func (m *HashPolicy) XXX_Unmarshal(b []byte) error

type HashPolicyValidationError added in v1.5.0

type HashPolicyValidationError struct {
	// contains filtered or unexported fields
}

HashPolicyValidationError is the validation error returned by HashPolicy.Validate if the designated constraints aren't met.

func (HashPolicyValidationError) Cause added in v1.5.0

func (e HashPolicyValidationError) Cause() error

Cause function returns cause value.

func (HashPolicyValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (HashPolicyValidationError) ErrorName added in v1.5.0

func (e HashPolicyValidationError) ErrorName() string

ErrorName returns error name.

func (HashPolicyValidationError) Field added in v1.5.0

Field function returns field value.

func (HashPolicyValidationError) Key added in v1.5.0

Key function returns key value.

func (HashPolicyValidationError) Reason added in v1.5.0

func (e HashPolicyValidationError) Reason() string

Reason function returns reason value.

type HashPolicy_SourceIp added in v1.5.0

type HashPolicy_SourceIp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The source IP will be used to compute the hash used by hash-based load balancing algorithms.

func (*HashPolicy_SourceIp) Descriptor added in v1.5.0

func (*HashPolicy_SourceIp) Descriptor() ([]byte, []int)

func (*HashPolicy_SourceIp) Marshal added in v1.5.0

func (m *HashPolicy_SourceIp) Marshal() (dAtA []byte, err error)

func (*HashPolicy_SourceIp) MarshalTo added in v1.5.0

func (m *HashPolicy_SourceIp) MarshalTo(dAtA []byte) (int, error)

func (*HashPolicy_SourceIp) MarshalToSizedBuffer added in v1.5.0

func (m *HashPolicy_SourceIp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HashPolicy_SourceIp) ProtoMessage added in v1.5.0

func (*HashPolicy_SourceIp) ProtoMessage()

func (*HashPolicy_SourceIp) Reset added in v1.5.0

func (m *HashPolicy_SourceIp) Reset()

func (*HashPolicy_SourceIp) Size added in v1.5.0

func (m *HashPolicy_SourceIp) Size() (n int)

func (*HashPolicy_SourceIp) String added in v1.5.0

func (m *HashPolicy_SourceIp) String() string

func (*HashPolicy_SourceIp) Unmarshal added in v1.5.0

func (m *HashPolicy_SourceIp) Unmarshal(dAtA []byte) error

func (*HashPolicy_SourceIp) Validate added in v1.5.0

func (m *HashPolicy_SourceIp) Validate() error

Validate checks the field values on HashPolicy_SourceIp with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HashPolicy_SourceIp) XXX_DiscardUnknown added in v1.5.0

func (m *HashPolicy_SourceIp) XXX_DiscardUnknown()

func (*HashPolicy_SourceIp) XXX_Marshal added in v1.5.0

func (m *HashPolicy_SourceIp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HashPolicy_SourceIp) XXX_Merge added in v1.5.0

func (m *HashPolicy_SourceIp) XXX_Merge(src proto.Message)

func (*HashPolicy_SourceIp) XXX_Size added in v1.5.0

func (m *HashPolicy_SourceIp) XXX_Size() int

func (*HashPolicy_SourceIp) XXX_Unmarshal added in v1.5.0

func (m *HashPolicy_SourceIp) XXX_Unmarshal(b []byte) error

type HashPolicy_SourceIpValidationError added in v1.5.0

type HashPolicy_SourceIpValidationError struct {
	// contains filtered or unexported fields
}

HashPolicy_SourceIpValidationError is the validation error returned by HashPolicy_SourceIp.Validate if the designated constraints aren't met.

func (HashPolicy_SourceIpValidationError) Cause added in v1.5.0

Cause function returns cause value.

func (HashPolicy_SourceIpValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (HashPolicy_SourceIpValidationError) ErrorName added in v1.5.0

ErrorName returns error name.

func (HashPolicy_SourceIpValidationError) Field added in v1.5.0

Field function returns field value.

func (HashPolicy_SourceIpValidationError) Key added in v1.5.0

Key function returns key value.

func (HashPolicy_SourceIpValidationError) Reason added in v1.5.0

Reason function returns reason value.

type HashPolicy_SourceIp_ added in v1.5.0

type HashPolicy_SourceIp_ struct {
	SourceIp *HashPolicy_SourceIp `protobuf:"bytes,1,opt,name=source_ip,json=sourceIp,proto3,oneof" json:"source_ip,omitempty"`
}

func (*HashPolicy_SourceIp_) MarshalTo added in v1.5.0

func (m *HashPolicy_SourceIp_) MarshalTo(dAtA []byte) (int, error)

func (*HashPolicy_SourceIp_) MarshalToSizedBuffer added in v1.5.0

func (m *HashPolicy_SourceIp_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HashPolicy_SourceIp_) Size added in v1.5.0

func (m *HashPolicy_SourceIp_) Size() (n int)

type HttpStatus

type HttpStatus struct {
	// Supplies HTTP response code.
	Code                 StatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=envoy.type.StatusCode" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

HTTP status.

func (*HttpStatus) Descriptor

func (*HttpStatus) Descriptor() ([]byte, []int)

func (*HttpStatus) GetCode

func (m *HttpStatus) GetCode() StatusCode

func (*HttpStatus) Marshal

func (m *HttpStatus) Marshal() (dAtA []byte, err error)

func (*HttpStatus) MarshalTo

func (m *HttpStatus) MarshalTo(dAtA []byte) (int, error)

func (*HttpStatus) MarshalToSizedBuffer

func (m *HttpStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HttpStatus) ProtoMessage

func (*HttpStatus) ProtoMessage()

func (*HttpStatus) Reset

func (m *HttpStatus) Reset()

func (*HttpStatus) Size

func (m *HttpStatus) Size() (n int)

func (*HttpStatus) String

func (m *HttpStatus) String() string

func (*HttpStatus) Unmarshal

func (m *HttpStatus) Unmarshal(dAtA []byte) error

func (*HttpStatus) Validate

func (m *HttpStatus) Validate() error

Validate checks the field values on HttpStatus with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HttpStatus) XXX_DiscardUnknown

func (m *HttpStatus) XXX_DiscardUnknown()

func (*HttpStatus) XXX_Marshal

func (m *HttpStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpStatus) XXX_Merge

func (m *HttpStatus) XXX_Merge(src proto.Message)

func (*HttpStatus) XXX_Size

func (m *HttpStatus) XXX_Size() int

func (*HttpStatus) XXX_Unmarshal

func (m *HttpStatus) XXX_Unmarshal(b []byte) error

type HttpStatusValidationError

type HttpStatusValidationError struct {
	// contains filtered or unexported fields
}

HttpStatusValidationError is the validation error returned by HttpStatus.Validate if the designated constraints aren't met.

func (HttpStatusValidationError) Cause

func (e HttpStatusValidationError) Cause() error

Cause function returns cause value.

func (HttpStatusValidationError) Error

Error satisfies the builtin error interface

func (HttpStatusValidationError) ErrorName

func (e HttpStatusValidationError) ErrorName() string

ErrorName returns error name.

func (HttpStatusValidationError) Field

Field function returns field value.

func (HttpStatusValidationError) Key

Key function returns key value.

func (HttpStatusValidationError) Reason

func (e HttpStatusValidationError) Reason() string

Reason function returns reason value.

type Int32Range added in v1.5.0

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 added in v1.5.0

func (*Int32Range) Descriptor() ([]byte, []int)

func (*Int32Range) GetEnd added in v1.5.0

func (m *Int32Range) GetEnd() int32

func (*Int32Range) GetStart added in v1.5.0

func (m *Int32Range) GetStart() int32

func (*Int32Range) Marshal added in v1.5.0

func (m *Int32Range) Marshal() (dAtA []byte, err error)

func (*Int32Range) MarshalTo added in v1.5.0

func (m *Int32Range) MarshalTo(dAtA []byte) (int, error)

func (*Int32Range) MarshalToSizedBuffer added in v1.5.0

func (m *Int32Range) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Int32Range) ProtoMessage added in v1.5.0

func (*Int32Range) ProtoMessage()

func (*Int32Range) Reset added in v1.5.0

func (m *Int32Range) Reset()

func (*Int32Range) Size added in v1.5.0

func (m *Int32Range) Size() (n int)

func (*Int32Range) String added in v1.5.0

func (m *Int32Range) String() string

func (*Int32Range) Unmarshal added in v1.5.0

func (m *Int32Range) Unmarshal(dAtA []byte) error

func (*Int32Range) Validate added in v1.5.0

func (m *Int32Range) Validate() error

Validate checks the field values on Int32Range with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Int32Range) XXX_DiscardUnknown added in v1.5.0

func (m *Int32Range) XXX_DiscardUnknown()

func (*Int32Range) XXX_Marshal added in v1.5.0

func (m *Int32Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Int32Range) XXX_Merge added in v1.5.0

func (m *Int32Range) XXX_Merge(src proto.Message)

func (*Int32Range) XXX_Size added in v1.5.0

func (m *Int32Range) XXX_Size() int

func (*Int32Range) XXX_Unmarshal added in v1.5.0

func (m *Int32Range) XXX_Unmarshal(b []byte) error

type Int32RangeValidationError added in v1.5.0

type Int32RangeValidationError struct {
	// contains filtered or unexported fields
}

Int32RangeValidationError is the validation error returned by Int32Range.Validate if the designated constraints aren't met.

func (Int32RangeValidationError) Cause added in v1.5.0

func (e Int32RangeValidationError) Cause() error

Cause function returns cause value.

func (Int32RangeValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (Int32RangeValidationError) ErrorName added in v1.5.0

func (e Int32RangeValidationError) ErrorName() string

ErrorName returns error name.

func (Int32RangeValidationError) Field added in v1.5.0

Field function returns field value.

func (Int32RangeValidationError) Key added in v1.5.0

Key function returns key value.

func (Int32RangeValidationError) Reason added in v1.5.0

func (e Int32RangeValidationError) Reason() string

Reason function returns reason value.

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) GetEnd

func (m *Int64Range) GetEnd() int64

func (*Int64Range) GetStart

func (m *Int64Range) GetStart() int64

func (*Int64Range) Marshal

func (m *Int64Range) Marshal() (dAtA []byte, err error)

func (*Int64Range) MarshalTo

func (m *Int64Range) MarshalTo(dAtA []byte) (int, error)

func (*Int64Range) MarshalToSizedBuffer

func (m *Int64Range) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Int64Range) ProtoMessage

func (*Int64Range) ProtoMessage()

func (*Int64Range) Reset

func (m *Int64Range) Reset()

func (*Int64Range) Size

func (m *Int64Range) Size() (n int)

func (*Int64Range) String

func (m *Int64Range) String() string

func (*Int64Range) Unmarshal

func (m *Int64Range) Unmarshal(dAtA []byte) error

func (*Int64Range) Validate

func (m *Int64Range) Validate() error

Validate checks the field values on Int64Range with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 Int64RangeValidationError

type Int64RangeValidationError struct {
	// contains filtered or unexported fields
}

Int64RangeValidationError is the validation error returned by Int64Range.Validate if the designated constraints aren't met.

func (Int64RangeValidationError) Cause

func (e Int64RangeValidationError) Cause() error

Cause function returns cause value.

func (Int64RangeValidationError) Error

Error satisfies the builtin error interface

func (Int64RangeValidationError) ErrorName

func (e Int64RangeValidationError) ErrorName() string

ErrorName returns error name.

func (Int64RangeValidationError) Field

Field function returns field value.

func (Int64RangeValidationError) Key

Key function returns key value.

func (Int64RangeValidationError) Reason

func (e Int64RangeValidationError) Reason() string

Reason function returns reason value.

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) Descriptor() ([]byte, []int)

func (*Percent) GetValue

func (m *Percent) GetValue() float64

func (*Percent) Marshal

func (m *Percent) Marshal() (dAtA []byte, err error)

func (*Percent) MarshalTo

func (m *Percent) MarshalTo(dAtA []byte) (int, error)

func (*Percent) MarshalToSizedBuffer

func (m *Percent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Percent) ProtoMessage

func (*Percent) ProtoMessage()

func (*Percent) Reset

func (m *Percent) Reset()

func (*Percent) Size

func (m *Percent) Size() (n int)

func (*Percent) String

func (m *Percent) String() string

func (*Percent) Unmarshal

func (m *Percent) Unmarshal(dAtA []byte) error

func (*Percent) Validate

func (m *Percent) Validate() error

Validate checks the field values on Percent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Percent) XXX_DiscardUnknown

func (m *Percent) XXX_DiscardUnknown()

func (*Percent) XXX_Marshal

func (m *Percent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Percent) XXX_Merge

func (m *Percent) XXX_Merge(src proto.Message)

func (*Percent) XXX_Size

func (m *Percent) XXX_Size() int

func (*Percent) XXX_Unmarshal

func (m *Percent) XXX_Unmarshal(b []byte) error

type PercentValidationError

type PercentValidationError struct {
	// contains filtered or unexported fields
}

PercentValidationError is the validation error returned by Percent.Validate if the designated constraints aren't met.

func (PercentValidationError) Cause

func (e PercentValidationError) Cause() error

Cause function returns cause value.

func (PercentValidationError) Error

func (e PercentValidationError) Error() string

Error satisfies the builtin error interface

func (PercentValidationError) ErrorName

func (e PercentValidationError) ErrorName() string

ErrorName returns error name.

func (PercentValidationError) Field

func (e PercentValidationError) Field() string

Field function returns field value.

func (PercentValidationError) Key

func (e PercentValidationError) Key() bool

Key function returns key value.

func (PercentValidationError) Reason

func (e PercentValidationError) Reason() string

Reason function returns reason value.

type SemanticVersion added in v1.5.0

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 added in v1.5.0

func (*SemanticVersion) Descriptor() ([]byte, []int)

func (*SemanticVersion) GetMajorNumber added in v1.5.0

func (m *SemanticVersion) GetMajorNumber() uint32

func (*SemanticVersion) GetMinorNumber added in v1.5.0

func (m *SemanticVersion) GetMinorNumber() uint32

func (*SemanticVersion) GetPatch added in v1.5.0

func (m *SemanticVersion) GetPatch() uint32

func (*SemanticVersion) Marshal added in v1.5.0

func (m *SemanticVersion) Marshal() (dAtA []byte, err error)

func (*SemanticVersion) MarshalTo added in v1.5.0

func (m *SemanticVersion) MarshalTo(dAtA []byte) (int, error)

func (*SemanticVersion) MarshalToSizedBuffer added in v1.5.0

func (m *SemanticVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SemanticVersion) ProtoMessage added in v1.5.0

func (*SemanticVersion) ProtoMessage()

func (*SemanticVersion) Reset added in v1.5.0

func (m *SemanticVersion) Reset()

func (*SemanticVersion) Size added in v1.5.0

func (m *SemanticVersion) Size() (n int)

func (*SemanticVersion) String added in v1.5.0

func (m *SemanticVersion) String() string

func (*SemanticVersion) Unmarshal added in v1.5.0

func (m *SemanticVersion) Unmarshal(dAtA []byte) error

func (*SemanticVersion) Validate added in v1.5.0

func (m *SemanticVersion) Validate() error

Validate checks the field values on SemanticVersion with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SemanticVersion) XXX_DiscardUnknown added in v1.5.0

func (m *SemanticVersion) XXX_DiscardUnknown()

func (*SemanticVersion) XXX_Marshal added in v1.5.0

func (m *SemanticVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SemanticVersion) XXX_Merge added in v1.5.0

func (m *SemanticVersion) XXX_Merge(src proto.Message)

func (*SemanticVersion) XXX_Size added in v1.5.0

func (m *SemanticVersion) XXX_Size() int

func (*SemanticVersion) XXX_Unmarshal added in v1.5.0

func (m *SemanticVersion) XXX_Unmarshal(b []byte) error

type SemanticVersionValidationError added in v1.5.0

type SemanticVersionValidationError struct {
	// contains filtered or unexported fields
}

SemanticVersionValidationError is the validation error returned by SemanticVersion.Validate if the designated constraints aren't met.

func (SemanticVersionValidationError) Cause added in v1.5.0

Cause function returns cause value.

func (SemanticVersionValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (SemanticVersionValidationError) ErrorName added in v1.5.0

func (e SemanticVersionValidationError) ErrorName() string

ErrorName returns error name.

func (SemanticVersionValidationError) Field added in v1.5.0

Field function returns field value.

func (SemanticVersionValidationError) Key added in v1.5.0

Key function returns key value.

func (SemanticVersionValidationError) Reason added in v1.5.0

Reason function returns reason value.

type StatusCode

type StatusCode int32

HTTP response codes supported in Envoy. For more details: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

const (
	// Empty - This code not part of the HTTP status code specification, but it is needed for proto
	// `enum` type.
	StatusCode_Empty                         StatusCode = 0
	StatusCode_Continue                      StatusCode = 100
	StatusCode_OK                            StatusCode = 200
	StatusCode_Created                       StatusCode = 201
	StatusCode_Accepted                      StatusCode = 202
	StatusCode_NonAuthoritativeInformation   StatusCode = 203
	StatusCode_NoContent                     StatusCode = 204
	StatusCode_ResetContent                  StatusCode = 205
	StatusCode_PartialContent                StatusCode = 206
	StatusCode_MultiStatus                   StatusCode = 207
	StatusCode_AlreadyReported               StatusCode = 208
	StatusCode_IMUsed                        StatusCode = 226
	StatusCode_MultipleChoices               StatusCode = 300
	StatusCode_MovedPermanently              StatusCode = 301
	StatusCode_Found                         StatusCode = 302
	StatusCode_SeeOther                      StatusCode = 303
	StatusCode_NotModified                   StatusCode = 304
	StatusCode_UseProxy                      StatusCode = 305
	StatusCode_TemporaryRedirect             StatusCode = 307
	StatusCode_PermanentRedirect             StatusCode = 308
	StatusCode_BadRequest                    StatusCode = 400
	StatusCode_Unauthorized                  StatusCode = 401
	StatusCode_PaymentRequired               StatusCode = 402
	StatusCode_Forbidden                     StatusCode = 403
	StatusCode_NotFound                      StatusCode = 404
	StatusCode_MethodNotAllowed              StatusCode = 405
	StatusCode_NotAcceptable                 StatusCode = 406
	StatusCode_ProxyAuthenticationRequired   StatusCode = 407
	StatusCode_RequestTimeout                StatusCode = 408
	StatusCode_Conflict                      StatusCode = 409
	StatusCode_Gone                          StatusCode = 410
	StatusCode_LengthRequired                StatusCode = 411
	StatusCode_PreconditionFailed            StatusCode = 412
	StatusCode_PayloadTooLarge               StatusCode = 413
	StatusCode_URITooLong                    StatusCode = 414
	StatusCode_UnsupportedMediaType          StatusCode = 415
	StatusCode_RangeNotSatisfiable           StatusCode = 416
	StatusCode_ExpectationFailed             StatusCode = 417
	StatusCode_MisdirectedRequest            StatusCode = 421
	StatusCode_UnprocessableEntity           StatusCode = 422
	StatusCode_Locked                        StatusCode = 423
	StatusCode_FailedDependency              StatusCode = 424
	StatusCode_UpgradeRequired               StatusCode = 426
	StatusCode_PreconditionRequired          StatusCode = 428
	StatusCode_TooManyRequests               StatusCode = 429
	StatusCode_RequestHeaderFieldsTooLarge   StatusCode = 431
	StatusCode_InternalServerError           StatusCode = 500
	StatusCode_NotImplemented                StatusCode = 501
	StatusCode_BadGateway                    StatusCode = 502
	StatusCode_ServiceUnavailable            StatusCode = 503
	StatusCode_GatewayTimeout                StatusCode = 504
	StatusCode_HTTPVersionNotSupported       StatusCode = 505
	StatusCode_VariantAlsoNegotiates         StatusCode = 506
	StatusCode_InsufficientStorage           StatusCode = 507
	StatusCode_LoopDetected                  StatusCode = 508
	StatusCode_NotExtended                   StatusCode = 510
	StatusCode_NetworkAuthenticationRequired StatusCode = 511
)

func (StatusCode) EnumDescriptor

func (StatusCode) EnumDescriptor() ([]byte, []int)

func (StatusCode) String

func (x StatusCode) String() string

type TokenBucket added in v1.5.0

type TokenBucket struct {
	// The maximum tokens that the bucket can hold. This is also the number of tokens that the bucket
	// initially contains.
	MaxTokens uint32 `protobuf:"varint,1,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"`
	// The number of tokens added to the bucket during each fill interval. If not specified, defaults
	// to a single token.
	TokensPerFill *types.UInt32Value `protobuf:"bytes,2,opt,name=tokens_per_fill,json=tokensPerFill,proto3" json:"tokens_per_fill,omitempty"`
	// The fill interval that tokens are added to the bucket. During each fill interval
	// `tokens_per_fill` are added to the bucket. The bucket will never contain more than
	// `max_tokens` tokens.
	FillInterval         *types.Duration `protobuf:"bytes,3,opt,name=fill_interval,json=fillInterval,proto3" json:"fill_interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Configures a token bucket, typically used for rate limiting.

func (*TokenBucket) Descriptor added in v1.5.0

func (*TokenBucket) Descriptor() ([]byte, []int)

func (*TokenBucket) GetFillInterval added in v1.5.0

func (m *TokenBucket) GetFillInterval() *types.Duration

func (*TokenBucket) GetMaxTokens added in v1.5.0

func (m *TokenBucket) GetMaxTokens() uint32

func (*TokenBucket) GetTokensPerFill added in v1.5.0

func (m *TokenBucket) GetTokensPerFill() *types.UInt32Value

func (*TokenBucket) Marshal added in v1.5.0

func (m *TokenBucket) Marshal() (dAtA []byte, err error)

func (*TokenBucket) MarshalTo added in v1.5.0

func (m *TokenBucket) MarshalTo(dAtA []byte) (int, error)

func (*TokenBucket) MarshalToSizedBuffer added in v1.5.0

func (m *TokenBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenBucket) ProtoMessage added in v1.5.0

func (*TokenBucket) ProtoMessage()

func (*TokenBucket) Reset added in v1.5.0

func (m *TokenBucket) Reset()

func (*TokenBucket) Size added in v1.5.0

func (m *TokenBucket) Size() (n int)

func (*TokenBucket) String added in v1.5.0

func (m *TokenBucket) String() string

func (*TokenBucket) Unmarshal added in v1.5.0

func (m *TokenBucket) Unmarshal(dAtA []byte) error

func (*TokenBucket) Validate added in v1.5.0

func (m *TokenBucket) Validate() error

Validate checks the field values on TokenBucket with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TokenBucket) XXX_DiscardUnknown added in v1.5.0

func (m *TokenBucket) XXX_DiscardUnknown()

func (*TokenBucket) XXX_Marshal added in v1.5.0

func (m *TokenBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenBucket) XXX_Merge added in v1.5.0

func (m *TokenBucket) XXX_Merge(src proto.Message)

func (*TokenBucket) XXX_Size added in v1.5.0

func (m *TokenBucket) XXX_Size() int

func (*TokenBucket) XXX_Unmarshal added in v1.5.0

func (m *TokenBucket) XXX_Unmarshal(b []byte) error

type TokenBucketValidationError added in v1.5.0

type TokenBucketValidationError struct {
	// contains filtered or unexported fields
}

TokenBucketValidationError is the validation error returned by TokenBucket.Validate if the designated constraints aren't met.

func (TokenBucketValidationError) Cause added in v1.5.0

Cause function returns cause value.

func (TokenBucketValidationError) Error added in v1.5.0

Error satisfies the builtin error interface

func (TokenBucketValidationError) ErrorName added in v1.5.0

func (e TokenBucketValidationError) ErrorName() string

ErrorName returns error name.

func (TokenBucketValidationError) Field added in v1.5.0

Field function returns field value.

func (TokenBucketValidationError) Key added in v1.5.0

Key function returns key value.

func (TokenBucketValidationError) Reason added in v1.5.0

Reason function returns reason value.

Directories

Path Synopsis
v3
metadata
v2
v3
tracing
v2
v3

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL