envoy_type_tracing_v3

package
v1.5.0-citest.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCustomTag        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCustomTag          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCustomTag = fmt.Errorf("proto: unexpected end of group")
)

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 valid to be assigned to Type:
	//	*CustomTag_Literal_
	//	*CustomTag_Environment_
	//	*CustomTag_RequestHeader
	//	*CustomTag_Metadata_
	Type                 isCustomTag_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Describes custom tags for the active span. [#next-free-field: 6]

func (*CustomTag) Descriptor

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

func (*CustomTag) GetEnvironment

func (m *CustomTag) GetEnvironment() *CustomTag_Environment

func (*CustomTag) GetLiteral

func (m *CustomTag) GetLiteral() *CustomTag_Literal

func (*CustomTag) GetMetadata

func (m *CustomTag) GetMetadata() *CustomTag_Metadata

func (*CustomTag) GetRequestHeader

func (m *CustomTag) GetRequestHeader() *CustomTag_Header

func (*CustomTag) GetTag

func (m *CustomTag) GetTag() string

func (*CustomTag) GetType

func (m *CustomTag) GetType() isCustomTag_Type

func (*CustomTag) Marshal

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

func (*CustomTag) MarshalTo

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

func (*CustomTag) MarshalToSizedBuffer

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

func (*CustomTag) ProtoMessage

func (*CustomTag) ProtoMessage()

func (*CustomTag) Reset

func (m *CustomTag) Reset()

func (*CustomTag) Size

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

func (*CustomTag) String

func (m *CustomTag) String() string

func (*CustomTag) Unmarshal

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

func (*CustomTag) Validate

func (m *CustomTag) Validate() error

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

func (*CustomTag) XXX_DiscardUnknown

func (m *CustomTag) XXX_DiscardUnknown()

func (*CustomTag) XXX_Marshal

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

func (*CustomTag) XXX_Merge

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

func (*CustomTag) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*CustomTag) XXX_Size

func (m *CustomTag) XXX_Size() int

func (*CustomTag) XXX_Unmarshal

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

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Environment type custom tag with environment name and default value.

func (*CustomTag_Environment) Descriptor

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

func (*CustomTag_Environment) GetDefaultValue

func (m *CustomTag_Environment) GetDefaultValue() string

func (*CustomTag_Environment) GetName

func (m *CustomTag_Environment) GetName() string

func (*CustomTag_Environment) Marshal

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

func (*CustomTag_Environment) MarshalTo

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

func (*CustomTag_Environment) MarshalToSizedBuffer

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

func (*CustomTag_Environment) ProtoMessage

func (*CustomTag_Environment) ProtoMessage()

func (*CustomTag_Environment) Reset

func (m *CustomTag_Environment) Reset()

func (*CustomTag_Environment) Size

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

func (*CustomTag_Environment) String

func (m *CustomTag_Environment) String() string

func (*CustomTag_Environment) Unmarshal

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

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, an error is returned.

func (*CustomTag_Environment) XXX_DiscardUnknown

func (m *CustomTag_Environment) XXX_DiscardUnknown()

func (*CustomTag_Environment) XXX_Marshal

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

func (*CustomTag_Environment) XXX_Merge

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

func (*CustomTag_Environment) XXX_Size

func (m *CustomTag_Environment) XXX_Size() int

func (*CustomTag_Environment) XXX_Unmarshal

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

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

Cause function returns cause value.

func (CustomTag_EnvironmentValidationError) Error

Error satisfies the builtin error interface

func (CustomTag_EnvironmentValidationError) ErrorName

ErrorName returns error name.

func (CustomTag_EnvironmentValidationError) Field

Field function returns field value.

func (CustomTag_EnvironmentValidationError) Key

Key function returns key value.

func (CustomTag_EnvironmentValidationError) Reason

Reason function returns reason value.

type CustomTag_Environment_

type CustomTag_Environment_ struct {
	Environment *CustomTag_Environment `protobuf:"bytes,3,opt,name=environment,proto3,oneof" json:"environment,omitempty"`
}

func (*CustomTag_Environment_) MarshalTo

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

func (*CustomTag_Environment_) MarshalToSizedBuffer

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

func (*CustomTag_Environment_) Size

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Header type custom tag with header name and default value.

func (*CustomTag_Header) Descriptor

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

func (*CustomTag_Header) GetDefaultValue

func (m *CustomTag_Header) GetDefaultValue() string

func (*CustomTag_Header) GetName

func (m *CustomTag_Header) GetName() string

func (*CustomTag_Header) Marshal

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

func (*CustomTag_Header) MarshalTo

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

func (*CustomTag_Header) MarshalToSizedBuffer

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

func (*CustomTag_Header) ProtoMessage

func (*CustomTag_Header) ProtoMessage()

func (*CustomTag_Header) Reset

func (m *CustomTag_Header) Reset()

func (*CustomTag_Header) Size

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

func (*CustomTag_Header) String

func (m *CustomTag_Header) String() string

func (*CustomTag_Header) Unmarshal

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

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, an error is returned.

func (*CustomTag_Header) XXX_DiscardUnknown

func (m *CustomTag_Header) XXX_DiscardUnknown()

func (*CustomTag_Header) XXX_Marshal

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

func (*CustomTag_Header) XXX_Merge

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

func (*CustomTag_Header) XXX_Size

func (m *CustomTag_Header) XXX_Size() int

func (*CustomTag_Header) XXX_Unmarshal

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

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

Cause function returns cause value.

func (CustomTag_HeaderValidationError) Error

Error satisfies the builtin error interface

func (CustomTag_HeaderValidationError) ErrorName

ErrorName returns error name.

func (CustomTag_HeaderValidationError) Field

Field function returns field value.

func (CustomTag_HeaderValidationError) Key

Key function returns key value.

func (CustomTag_HeaderValidationError) Reason

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Literal type custom tag with static value for the tag value.

func (*CustomTag_Literal) Descriptor

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

func (*CustomTag_Literal) GetValue

func (m *CustomTag_Literal) GetValue() string

func (*CustomTag_Literal) Marshal

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

func (*CustomTag_Literal) MarshalTo

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

func (*CustomTag_Literal) MarshalToSizedBuffer

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

func (*CustomTag_Literal) ProtoMessage

func (*CustomTag_Literal) ProtoMessage()

func (*CustomTag_Literal) Reset

func (m *CustomTag_Literal) Reset()

func (*CustomTag_Literal) Size

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

func (*CustomTag_Literal) String

func (m *CustomTag_Literal) String() string

func (*CustomTag_Literal) Unmarshal

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

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, an error is returned.

func (*CustomTag_Literal) XXX_DiscardUnknown

func (m *CustomTag_Literal) XXX_DiscardUnknown()

func (*CustomTag_Literal) XXX_Marshal

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

func (*CustomTag_Literal) XXX_Merge

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

func (*CustomTag_Literal) XXX_Size

func (m *CustomTag_Literal) XXX_Size() int

func (*CustomTag_Literal) XXX_Unmarshal

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

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

Cause function returns cause value.

func (CustomTag_LiteralValidationError) Error

Error satisfies the builtin error interface

func (CustomTag_LiteralValidationError) ErrorName

ErrorName returns error name.

func (CustomTag_LiteralValidationError) Field

Field function returns field value.

func (CustomTag_LiteralValidationError) Key

Key function returns key value.

func (CustomTag_LiteralValidationError) Reason

Reason function returns reason value.

type CustomTag_Literal_

type CustomTag_Literal_ struct {
	Literal *CustomTag_Literal `protobuf:"bytes,2,opt,name=literal,proto3,oneof" json:"literal,omitempty"`
}

func (*CustomTag_Literal_) MarshalTo

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

func (*CustomTag_Literal_) MarshalToSizedBuffer

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

func (*CustomTag_Literal_) Size

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metadata type custom tag using :ref:`MetadataKey <envoy_api_msg_type.metadata.v3.MetadataKey>` to retrieve the protobuf value from :ref:`Metadata <envoy_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

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

func (*CustomTag_Metadata) GetDefaultValue

func (m *CustomTag_Metadata) GetDefaultValue() string

func (*CustomTag_Metadata) GetKind

func (m *CustomTag_Metadata) GetKind() *v3.MetadataKind

func (*CustomTag_Metadata) GetMetadataKey

func (m *CustomTag_Metadata) GetMetadataKey() *v3.MetadataKey

func (*CustomTag_Metadata) Marshal

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

func (*CustomTag_Metadata) MarshalTo

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

func (*CustomTag_Metadata) MarshalToSizedBuffer

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

func (*CustomTag_Metadata) ProtoMessage

func (*CustomTag_Metadata) ProtoMessage()

func (*CustomTag_Metadata) Reset

func (m *CustomTag_Metadata) Reset()

func (*CustomTag_Metadata) Size

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

func (*CustomTag_Metadata) String

func (m *CustomTag_Metadata) String() string

func (*CustomTag_Metadata) Unmarshal

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

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, an error is returned.

func (*CustomTag_Metadata) XXX_DiscardUnknown

func (m *CustomTag_Metadata) XXX_DiscardUnknown()

func (*CustomTag_Metadata) XXX_Marshal

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

func (*CustomTag_Metadata) XXX_Merge

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

func (*CustomTag_Metadata) XXX_Size

func (m *CustomTag_Metadata) XXX_Size() int

func (*CustomTag_Metadata) XXX_Unmarshal

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

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

Cause function returns cause value.

func (CustomTag_MetadataValidationError) Error

Error satisfies the builtin error interface

func (CustomTag_MetadataValidationError) ErrorName

ErrorName returns error name.

func (CustomTag_MetadataValidationError) Field

Field function returns field value.

func (CustomTag_MetadataValidationError) Key

Key function returns key value.

func (CustomTag_MetadataValidationError) Reason

Reason function returns reason value.

type CustomTag_Metadata_

type CustomTag_Metadata_ struct {
	Metadata *CustomTag_Metadata `protobuf:"bytes,5,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
}

func (*CustomTag_Metadata_) MarshalTo

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

func (*CustomTag_Metadata_) MarshalToSizedBuffer

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

func (*CustomTag_Metadata_) Size

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

type CustomTag_RequestHeader

type CustomTag_RequestHeader struct {
	RequestHeader *CustomTag_Header `protobuf:"bytes,4,opt,name=request_header,json=requestHeader,proto3,oneof" json:"request_header,omitempty"`
}

func (*CustomTag_RequestHeader) MarshalTo

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

func (*CustomTag_RequestHeader) MarshalToSizedBuffer

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

func (*CustomTag_RequestHeader) Size

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

Jump to

Keyboard shortcuts

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