Documentation ¶
Index ¶
- Variables
- type CustomTag
- func (*CustomTag) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTag) GetEnvironment() *CustomTag_Environment
- func (x *CustomTag) GetLiteral() *CustomTag_Literal
- func (x *CustomTag) GetMetadata() *CustomTag_Metadata
- func (x *CustomTag) GetRequestHeader() *CustomTag_Header
- func (x *CustomTag) GetTag() string
- func (m *CustomTag) GetType() isCustomTag_Type
- func (*CustomTag) ProtoMessage()
- func (x *CustomTag) ProtoReflect() protoreflect.Message
- func (x *CustomTag) Reset()
- func (x *CustomTag) String() string
- func (m *CustomTag) Validate() error
- func (m *CustomTag) ValidateAll() error
- type CustomTagMultiError
- type CustomTagValidationError
- type CustomTag_Environment
- func (*CustomTag_Environment) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTag_Environment) GetDefaultValue() string
- func (x *CustomTag_Environment) GetName() string
- func (*CustomTag_Environment) ProtoMessage()
- func (x *CustomTag_Environment) ProtoReflect() protoreflect.Message
- func (x *CustomTag_Environment) Reset()
- func (x *CustomTag_Environment) String() string
- func (m *CustomTag_Environment) Validate() error
- func (m *CustomTag_Environment) ValidateAll() error
- type CustomTag_EnvironmentMultiError
- type CustomTag_EnvironmentValidationError
- func (e CustomTag_EnvironmentValidationError) Cause() error
- func (e CustomTag_EnvironmentValidationError) Error() string
- func (e CustomTag_EnvironmentValidationError) ErrorName() string
- func (e CustomTag_EnvironmentValidationError) Field() string
- func (e CustomTag_EnvironmentValidationError) Key() bool
- func (e CustomTag_EnvironmentValidationError) Reason() string
- type CustomTag_Environment_
- type CustomTag_Header
- func (*CustomTag_Header) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTag_Header) GetDefaultValue() string
- func (x *CustomTag_Header) GetName() string
- func (*CustomTag_Header) ProtoMessage()
- func (x *CustomTag_Header) ProtoReflect() protoreflect.Message
- func (x *CustomTag_Header) Reset()
- func (x *CustomTag_Header) String() string
- func (m *CustomTag_Header) Validate() error
- func (m *CustomTag_Header) ValidateAll() error
- type CustomTag_HeaderMultiError
- type CustomTag_HeaderValidationError
- func (e CustomTag_HeaderValidationError) Cause() error
- func (e CustomTag_HeaderValidationError) Error() string
- func (e CustomTag_HeaderValidationError) ErrorName() string
- func (e CustomTag_HeaderValidationError) Field() string
- func (e CustomTag_HeaderValidationError) Key() bool
- func (e CustomTag_HeaderValidationError) Reason() string
- type CustomTag_Literal
- func (*CustomTag_Literal) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTag_Literal) GetValue() string
- func (*CustomTag_Literal) ProtoMessage()
- func (x *CustomTag_Literal) ProtoReflect() protoreflect.Message
- func (x *CustomTag_Literal) Reset()
- func (x *CustomTag_Literal) String() string
- func (m *CustomTag_Literal) Validate() error
- func (m *CustomTag_Literal) ValidateAll() error
- type CustomTag_LiteralMultiError
- type CustomTag_LiteralValidationError
- func (e CustomTag_LiteralValidationError) Cause() error
- func (e CustomTag_LiteralValidationError) Error() string
- func (e CustomTag_LiteralValidationError) ErrorName() string
- func (e CustomTag_LiteralValidationError) Field() string
- func (e CustomTag_LiteralValidationError) Key() bool
- func (e CustomTag_LiteralValidationError) Reason() string
- type CustomTag_Literal_
- type CustomTag_Metadata
- func (*CustomTag_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *CustomTag_Metadata) GetDefaultValue() string
- func (x *CustomTag_Metadata) GetKind() *v3.MetadataKind
- func (x *CustomTag_Metadata) GetMetadataKey() *v3.MetadataKey
- func (*CustomTag_Metadata) ProtoMessage()
- func (x *CustomTag_Metadata) ProtoReflect() protoreflect.Message
- func (x *CustomTag_Metadata) Reset()
- func (x *CustomTag_Metadata) String() string
- func (m *CustomTag_Metadata) Validate() error
- func (m *CustomTag_Metadata) ValidateAll() error
- type CustomTag_MetadataMultiError
- type CustomTag_MetadataValidationError
- func (e CustomTag_MetadataValidationError) Cause() error
- func (e CustomTag_MetadataValidationError) Error() string
- func (e CustomTag_MetadataValidationError) ErrorName() string
- func (e CustomTag_MetadataValidationError) Field() string
- func (e CustomTag_MetadataValidationError) Key() bool
- func (e CustomTag_MetadataValidationError) Reason() string
- type CustomTag_Metadata_
- type CustomTag_RequestHeader
Constants ¶
This section is empty.
Variables ¶
var File_envoy_type_tracing_v3_custom_tag_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CustomTag ¶
type CustomTag struct { // Used to populate the tag name. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // Used to specify what kind of custom tag. // // Types that are assignable to Type: // // *CustomTag_Literal_ // *CustomTag_Environment_ // *CustomTag_RequestHeader // *CustomTag_Metadata_ Type isCustomTag_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Describes custom tags for the active span. [#next-free-field: 6]
func (*CustomTag) Descriptor
deprecated
func (*CustomTag) GetEnvironment ¶
func (x *CustomTag) GetEnvironment() *CustomTag_Environment
func (*CustomTag) GetLiteral ¶
func (x *CustomTag) GetLiteral() *CustomTag_Literal
func (*CustomTag) GetMetadata ¶
func (x *CustomTag) GetMetadata() *CustomTag_Metadata
func (*CustomTag) GetRequestHeader ¶
func (x *CustomTag) GetRequestHeader() *CustomTag_Header
func (*CustomTag) ProtoMessage ¶
func (*CustomTag) ProtoMessage()
func (*CustomTag) ProtoReflect ¶
func (x *CustomTag) ProtoReflect() protoreflect.Message
func (*CustomTag) Validate ¶
Validate checks the field values on CustomTag 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 (*CustomTag) ValidateAll ¶
ValidateAll checks the field values on CustomTag 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 CustomTagMultiError, or nil if none found.
type CustomTagMultiError ¶
type CustomTagMultiError []error
CustomTagMultiError is an error wrapping multiple validation errors returned by CustomTag.ValidateAll() if the designated constraints aren't met.
func (CustomTagMultiError) AllErrors ¶
func (m CustomTagMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomTagMultiError) Error ¶
func (m CustomTagMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomTagValidationError ¶
type CustomTagValidationError struct {
// contains filtered or unexported fields
}
CustomTagValidationError is the validation error returned by CustomTag.Validate if the designated constraints aren't met.
func (CustomTagValidationError) Cause ¶
func (e CustomTagValidationError) Cause() error
Cause function returns cause value.
func (CustomTagValidationError) Error ¶
func (e CustomTagValidationError) Error() string
Error satisfies the builtin error interface
func (CustomTagValidationError) ErrorName ¶
func (e CustomTagValidationError) ErrorName() string
ErrorName returns error name.
func (CustomTagValidationError) Field ¶
func (e CustomTagValidationError) Field() string
Field function returns field value.
func (CustomTagValidationError) Key ¶
func (e CustomTagValidationError) Key() bool
Key function returns key value.
func (CustomTagValidationError) Reason ¶
func (e CustomTagValidationError) Reason() string
Reason function returns reason value.
type CustomTag_Environment ¶
type CustomTag_Environment struct { // Environment variable name to obtain the value to populate the tag value. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the environment variable is not found, // the tag value will be populated with this default value if specified, // otherwise no tag will be populated. DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // contains filtered or unexported fields }
Environment type custom tag with environment name and default value.
func (*CustomTag_Environment) Descriptor
deprecated
func (*CustomTag_Environment) Descriptor() ([]byte, []int)
Deprecated: Use CustomTag_Environment.ProtoReflect.Descriptor instead.
func (*CustomTag_Environment) GetDefaultValue ¶
func (x *CustomTag_Environment) GetDefaultValue() string
func (*CustomTag_Environment) GetName ¶
func (x *CustomTag_Environment) GetName() string
func (*CustomTag_Environment) ProtoMessage ¶
func (*CustomTag_Environment) ProtoMessage()
func (*CustomTag_Environment) ProtoReflect ¶
func (x *CustomTag_Environment) ProtoReflect() protoreflect.Message
func (*CustomTag_Environment) Reset ¶
func (x *CustomTag_Environment) Reset()
func (*CustomTag_Environment) String ¶
func (x *CustomTag_Environment) String() string
func (*CustomTag_Environment) Validate ¶
func (m *CustomTag_Environment) Validate() error
Validate checks the field values on CustomTag_Environment 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 (*CustomTag_Environment) ValidateAll ¶
func (m *CustomTag_Environment) ValidateAll() error
ValidateAll checks the field values on CustomTag_Environment 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 CustomTag_EnvironmentMultiError, or nil if none found.
type CustomTag_EnvironmentMultiError ¶
type CustomTag_EnvironmentMultiError []error
CustomTag_EnvironmentMultiError is an error wrapping multiple validation errors returned by CustomTag_Environment.ValidateAll() if the designated constraints aren't met.
func (CustomTag_EnvironmentMultiError) AllErrors ¶
func (m CustomTag_EnvironmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomTag_EnvironmentMultiError) Error ¶
func (m CustomTag_EnvironmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomTag_EnvironmentValidationError ¶
type CustomTag_EnvironmentValidationError struct {
// contains filtered or unexported fields
}
CustomTag_EnvironmentValidationError is the validation error returned by CustomTag_Environment.Validate if the designated constraints aren't met.
func (CustomTag_EnvironmentValidationError) Cause ¶
func (e CustomTag_EnvironmentValidationError) Cause() error
Cause function returns cause value.
func (CustomTag_EnvironmentValidationError) Error ¶
func (e CustomTag_EnvironmentValidationError) Error() string
Error satisfies the builtin error interface
func (CustomTag_EnvironmentValidationError) ErrorName ¶
func (e CustomTag_EnvironmentValidationError) ErrorName() string
ErrorName returns error name.
func (CustomTag_EnvironmentValidationError) Field ¶
func (e CustomTag_EnvironmentValidationError) Field() string
Field function returns field value.
func (CustomTag_EnvironmentValidationError) Key ¶
func (e CustomTag_EnvironmentValidationError) Key() bool
Key function returns key value.
func (CustomTag_EnvironmentValidationError) Reason ¶
func (e CustomTag_EnvironmentValidationError) Reason() string
Reason function returns reason value.
type CustomTag_Environment_ ¶
type CustomTag_Environment_ struct { // An environment custom tag. Environment *CustomTag_Environment `protobuf:"bytes,3,opt,name=environment,proto3,oneof"` }
type CustomTag_Header ¶
type CustomTag_Header struct { // Header name to obtain the value to populate the tag value. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the header does not exist, // the tag value will be populated with this default value if specified, // otherwise no tag will be populated. DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // contains filtered or unexported fields }
Header type custom tag with header name and default value.
func (*CustomTag_Header) Descriptor
deprecated
func (*CustomTag_Header) Descriptor() ([]byte, []int)
Deprecated: Use CustomTag_Header.ProtoReflect.Descriptor instead.
func (*CustomTag_Header) GetDefaultValue ¶
func (x *CustomTag_Header) GetDefaultValue() string
func (*CustomTag_Header) GetName ¶
func (x *CustomTag_Header) GetName() string
func (*CustomTag_Header) ProtoMessage ¶
func (*CustomTag_Header) ProtoMessage()
func (*CustomTag_Header) ProtoReflect ¶
func (x *CustomTag_Header) ProtoReflect() protoreflect.Message
func (*CustomTag_Header) Reset ¶
func (x *CustomTag_Header) Reset()
func (*CustomTag_Header) String ¶
func (x *CustomTag_Header) String() string
func (*CustomTag_Header) Validate ¶
func (m *CustomTag_Header) Validate() error
Validate checks the field values on CustomTag_Header 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 (*CustomTag_Header) ValidateAll ¶
func (m *CustomTag_Header) ValidateAll() error
ValidateAll checks the field values on CustomTag_Header 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 CustomTag_HeaderMultiError, or nil if none found.
type CustomTag_HeaderMultiError ¶
type CustomTag_HeaderMultiError []error
CustomTag_HeaderMultiError is an error wrapping multiple validation errors returned by CustomTag_Header.ValidateAll() if the designated constraints aren't met.
func (CustomTag_HeaderMultiError) AllErrors ¶
func (m CustomTag_HeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomTag_HeaderMultiError) Error ¶
func (m CustomTag_HeaderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomTag_HeaderValidationError ¶
type CustomTag_HeaderValidationError struct {
// contains filtered or unexported fields
}
CustomTag_HeaderValidationError is the validation error returned by CustomTag_Header.Validate if the designated constraints aren't met.
func (CustomTag_HeaderValidationError) Cause ¶
func (e CustomTag_HeaderValidationError) Cause() error
Cause function returns cause value.
func (CustomTag_HeaderValidationError) Error ¶
func (e CustomTag_HeaderValidationError) Error() string
Error satisfies the builtin error interface
func (CustomTag_HeaderValidationError) ErrorName ¶
func (e CustomTag_HeaderValidationError) ErrorName() string
ErrorName returns error name.
func (CustomTag_HeaderValidationError) Field ¶
func (e CustomTag_HeaderValidationError) Field() string
Field function returns field value.
func (CustomTag_HeaderValidationError) Key ¶
func (e CustomTag_HeaderValidationError) Key() bool
Key function returns key value.
func (CustomTag_HeaderValidationError) Reason ¶
func (e CustomTag_HeaderValidationError) Reason() string
Reason function returns reason value.
type CustomTag_Literal ¶
type CustomTag_Literal struct { // Static literal value to populate the tag value. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Literal type custom tag with static value for the tag value.
func (*CustomTag_Literal) Descriptor
deprecated
func (*CustomTag_Literal) Descriptor() ([]byte, []int)
Deprecated: Use CustomTag_Literal.ProtoReflect.Descriptor instead.
func (*CustomTag_Literal) GetValue ¶
func (x *CustomTag_Literal) GetValue() string
func (*CustomTag_Literal) ProtoMessage ¶
func (*CustomTag_Literal) ProtoMessage()
func (*CustomTag_Literal) ProtoReflect ¶
func (x *CustomTag_Literal) ProtoReflect() protoreflect.Message
func (*CustomTag_Literal) Reset ¶
func (x *CustomTag_Literal) Reset()
func (*CustomTag_Literal) String ¶
func (x *CustomTag_Literal) String() string
func (*CustomTag_Literal) Validate ¶
func (m *CustomTag_Literal) Validate() error
Validate checks the field values on CustomTag_Literal 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 (*CustomTag_Literal) ValidateAll ¶
func (m *CustomTag_Literal) ValidateAll() error
ValidateAll checks the field values on CustomTag_Literal 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 CustomTag_LiteralMultiError, or nil if none found.
type CustomTag_LiteralMultiError ¶
type CustomTag_LiteralMultiError []error
CustomTag_LiteralMultiError is an error wrapping multiple validation errors returned by CustomTag_Literal.ValidateAll() if the designated constraints aren't met.
func (CustomTag_LiteralMultiError) AllErrors ¶
func (m CustomTag_LiteralMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomTag_LiteralMultiError) Error ¶
func (m CustomTag_LiteralMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomTag_LiteralValidationError ¶
type CustomTag_LiteralValidationError struct {
// contains filtered or unexported fields
}
CustomTag_LiteralValidationError is the validation error returned by CustomTag_Literal.Validate if the designated constraints aren't met.
func (CustomTag_LiteralValidationError) Cause ¶
func (e CustomTag_LiteralValidationError) Cause() error
Cause function returns cause value.
func (CustomTag_LiteralValidationError) Error ¶
func (e CustomTag_LiteralValidationError) Error() string
Error satisfies the builtin error interface
func (CustomTag_LiteralValidationError) ErrorName ¶
func (e CustomTag_LiteralValidationError) ErrorName() string
ErrorName returns error name.
func (CustomTag_LiteralValidationError) Field ¶
func (e CustomTag_LiteralValidationError) Field() string
Field function returns field value.
func (CustomTag_LiteralValidationError) Key ¶
func (e CustomTag_LiteralValidationError) Key() bool
Key function returns key value.
func (CustomTag_LiteralValidationError) Reason ¶
func (e CustomTag_LiteralValidationError) Reason() string
Reason function returns reason value.
type CustomTag_Literal_ ¶
type CustomTag_Literal_ struct { // A literal custom tag. Literal *CustomTag_Literal `protobuf:"bytes,2,opt,name=literal,proto3,oneof"` }
type CustomTag_Metadata ¶
type CustomTag_Metadata struct { // Specify what kind of metadata to obtain tag value from. Kind *v3.MetadataKind `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata key to define the path to retrieve the tag value. MetadataKey *v3.MetadataKey `protobuf:"bytes,2,opt,name=metadata_key,json=metadataKey,proto3" json:"metadata_key,omitempty"` // When no valid metadata is found, // the tag value would be populated with this default value if specified, // otherwise no tag would be populated. DefaultValue string `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // contains filtered or unexported fields }
Metadata type custom tag using :ref:`MetadataKey <envoy_v3_api_msg_type.metadata.v3.MetadataKey>` to retrieve the protobuf value from :ref:`Metadata <envoy_v3_api_msg_config.core.v3.Metadata>`, and populate the tag value with `the canonical JSON <https://developers.google.com/protocol-buffers/docs/proto3#json>`_ representation of it.
func (*CustomTag_Metadata) Descriptor
deprecated
func (*CustomTag_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use CustomTag_Metadata.ProtoReflect.Descriptor instead.
func (*CustomTag_Metadata) GetDefaultValue ¶
func (x *CustomTag_Metadata) GetDefaultValue() string
func (*CustomTag_Metadata) GetKind ¶
func (x *CustomTag_Metadata) GetKind() *v3.MetadataKind
func (*CustomTag_Metadata) GetMetadataKey ¶
func (x *CustomTag_Metadata) GetMetadataKey() *v3.MetadataKey
func (*CustomTag_Metadata) ProtoMessage ¶
func (*CustomTag_Metadata) ProtoMessage()
func (*CustomTag_Metadata) ProtoReflect ¶
func (x *CustomTag_Metadata) ProtoReflect() protoreflect.Message
func (*CustomTag_Metadata) Reset ¶
func (x *CustomTag_Metadata) Reset()
func (*CustomTag_Metadata) String ¶
func (x *CustomTag_Metadata) String() string
func (*CustomTag_Metadata) Validate ¶
func (m *CustomTag_Metadata) Validate() error
Validate checks the field values on CustomTag_Metadata 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 (*CustomTag_Metadata) ValidateAll ¶
func (m *CustomTag_Metadata) ValidateAll() error
ValidateAll checks the field values on CustomTag_Metadata 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 CustomTag_MetadataMultiError, or nil if none found.
type CustomTag_MetadataMultiError ¶
type CustomTag_MetadataMultiError []error
CustomTag_MetadataMultiError is an error wrapping multiple validation errors returned by CustomTag_Metadata.ValidateAll() if the designated constraints aren't met.
func (CustomTag_MetadataMultiError) AllErrors ¶
func (m CustomTag_MetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomTag_MetadataMultiError) Error ¶
func (m CustomTag_MetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomTag_MetadataValidationError ¶
type CustomTag_MetadataValidationError struct {
// contains filtered or unexported fields
}
CustomTag_MetadataValidationError is the validation error returned by CustomTag_Metadata.Validate if the designated constraints aren't met.
func (CustomTag_MetadataValidationError) Cause ¶
func (e CustomTag_MetadataValidationError) Cause() error
Cause function returns cause value.
func (CustomTag_MetadataValidationError) Error ¶
func (e CustomTag_MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (CustomTag_MetadataValidationError) ErrorName ¶
func (e CustomTag_MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (CustomTag_MetadataValidationError) Field ¶
func (e CustomTag_MetadataValidationError) Field() string
Field function returns field value.
func (CustomTag_MetadataValidationError) Key ¶
func (e CustomTag_MetadataValidationError) Key() bool
Key function returns key value.
func (CustomTag_MetadataValidationError) Reason ¶
func (e CustomTag_MetadataValidationError) Reason() string
Reason function returns reason value.
type CustomTag_Metadata_ ¶
type CustomTag_Metadata_ struct { // A custom tag to obtain tag value from the metadata. Metadata *CustomTag_Metadata `protobuf:"bytes,5,opt,name=metadata,proto3,oneof"` }
type CustomTag_RequestHeader ¶
type CustomTag_RequestHeader struct { // A request header custom tag. RequestHeader *CustomTag_Header `protobuf:"bytes,4,opt,name=request_header,json=requestHeader,proto3,oneof"` }