Documentation ¶
Index ¶
- Variables
- type InternalUpstreamTransport
- func (*InternalUpstreamTransport) Descriptor() ([]byte, []int)deprecated
- func (x *InternalUpstreamTransport) GetPassthroughMetadata() []*InternalUpstreamTransport_MetadataValueSource
- func (x *InternalUpstreamTransport) GetTransportSocket() *v3.TransportSocket
- func (*InternalUpstreamTransport) ProtoMessage()
- func (x *InternalUpstreamTransport) ProtoReflect() protoreflect.Message
- func (x *InternalUpstreamTransport) Reset()
- func (x *InternalUpstreamTransport) String() string
- func (m *InternalUpstreamTransport) Validate() error
- func (m *InternalUpstreamTransport) ValidateAll() error
- type InternalUpstreamTransportMultiError
- type InternalUpstreamTransportValidationError
- func (e InternalUpstreamTransportValidationError) Cause() error
- func (e InternalUpstreamTransportValidationError) Error() string
- func (e InternalUpstreamTransportValidationError) ErrorName() string
- func (e InternalUpstreamTransportValidationError) Field() string
- func (e InternalUpstreamTransportValidationError) Key() bool
- func (e InternalUpstreamTransportValidationError) Reason() string
- type InternalUpstreamTransport_MetadataValueSource
- func (*InternalUpstreamTransport_MetadataValueSource) Descriptor() ([]byte, []int)deprecated
- func (x *InternalUpstreamTransport_MetadataValueSource) GetKind() *v31.MetadataKind
- func (x *InternalUpstreamTransport_MetadataValueSource) GetName() string
- func (*InternalUpstreamTransport_MetadataValueSource) ProtoMessage()
- func (x *InternalUpstreamTransport_MetadataValueSource) ProtoReflect() protoreflect.Message
- func (x *InternalUpstreamTransport_MetadataValueSource) Reset()
- func (x *InternalUpstreamTransport_MetadataValueSource) String() string
- func (m *InternalUpstreamTransport_MetadataValueSource) Validate() error
- func (m *InternalUpstreamTransport_MetadataValueSource) ValidateAll() error
- type InternalUpstreamTransport_MetadataValueSourceMultiError
- type InternalUpstreamTransport_MetadataValueSourceValidationError
- func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Cause() error
- func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Error() string
- func (e InternalUpstreamTransport_MetadataValueSourceValidationError) ErrorName() string
- func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Field() string
- func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Key() bool
- func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_transport_sockets_internal_upstream_v3_internal_upstream_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type InternalUpstreamTransport ¶
type InternalUpstreamTransport struct { // Specifies the metadata namespaces and values to insert into the downstream // internal connection dynamic metadata when an internal address is used as a // host. If the destination name is repeated across two metadata source // locations, and both locations contain the metadata with the given name, // then the latter in the list overrides the former. PassthroughMetadata []*InternalUpstreamTransport_MetadataValueSource `protobuf:"bytes,1,rep,name=passthrough_metadata,json=passthroughMetadata,proto3" json:"passthrough_metadata,omitempty"` // The underlying transport socket being wrapped. TransportSocket *v3.TransportSocket `protobuf:"bytes,3,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"` // contains filtered or unexported fields }
Configuration for the internal upstream address. An internal address defines a loopback user space socket residing in the same proxy instance. This extension allows passing additional structured state across the user space socket in addition to the regular byte stream. The purpose is to facilitate communication between filters on the downstream and the upstream internal connections. All filter state objects that are shared with the upstream connection are also shared with the downstream internal connection using this transport socket.
func (*InternalUpstreamTransport) Descriptor
deprecated
func (*InternalUpstreamTransport) Descriptor() ([]byte, []int)
Deprecated: Use InternalUpstreamTransport.ProtoReflect.Descriptor instead.
func (*InternalUpstreamTransport) GetPassthroughMetadata ¶
func (x *InternalUpstreamTransport) GetPassthroughMetadata() []*InternalUpstreamTransport_MetadataValueSource
func (*InternalUpstreamTransport) GetTransportSocket ¶
func (x *InternalUpstreamTransport) GetTransportSocket() *v3.TransportSocket
func (*InternalUpstreamTransport) ProtoMessage ¶
func (*InternalUpstreamTransport) ProtoMessage()
func (*InternalUpstreamTransport) ProtoReflect ¶
func (x *InternalUpstreamTransport) ProtoReflect() protoreflect.Message
func (*InternalUpstreamTransport) Reset ¶
func (x *InternalUpstreamTransport) Reset()
func (*InternalUpstreamTransport) String ¶
func (x *InternalUpstreamTransport) String() string
func (*InternalUpstreamTransport) Validate ¶
func (m *InternalUpstreamTransport) Validate() error
Validate checks the field values on InternalUpstreamTransport 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 (*InternalUpstreamTransport) ValidateAll ¶
func (m *InternalUpstreamTransport) ValidateAll() error
ValidateAll checks the field values on InternalUpstreamTransport 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 InternalUpstreamTransportMultiError, or nil if none found.
type InternalUpstreamTransportMultiError ¶
type InternalUpstreamTransportMultiError []error
InternalUpstreamTransportMultiError is an error wrapping multiple validation errors returned by InternalUpstreamTransport.ValidateAll() if the designated constraints aren't met.
func (InternalUpstreamTransportMultiError) AllErrors ¶
func (m InternalUpstreamTransportMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InternalUpstreamTransportMultiError) Error ¶
func (m InternalUpstreamTransportMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InternalUpstreamTransportValidationError ¶
type InternalUpstreamTransportValidationError struct {
// contains filtered or unexported fields
}
InternalUpstreamTransportValidationError is the validation error returned by InternalUpstreamTransport.Validate if the designated constraints aren't met.
func (InternalUpstreamTransportValidationError) Cause ¶
func (e InternalUpstreamTransportValidationError) Cause() error
Cause function returns cause value.
func (InternalUpstreamTransportValidationError) Error ¶
func (e InternalUpstreamTransportValidationError) Error() string
Error satisfies the builtin error interface
func (InternalUpstreamTransportValidationError) ErrorName ¶
func (e InternalUpstreamTransportValidationError) ErrorName() string
ErrorName returns error name.
func (InternalUpstreamTransportValidationError) Field ¶
func (e InternalUpstreamTransportValidationError) Field() string
Field function returns field value.
func (InternalUpstreamTransportValidationError) Key ¶
func (e InternalUpstreamTransportValidationError) Key() bool
Key function returns key value.
func (InternalUpstreamTransportValidationError) Reason ¶
func (e InternalUpstreamTransportValidationError) Reason() string
Reason function returns reason value.
type InternalUpstreamTransport_MetadataValueSource ¶
type InternalUpstreamTransport_MetadataValueSource struct { // Specifies what kind of metadata. Kind *v31.MetadataKind `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // Name is the filter namespace used in the dynamic metadata. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Describes the location of the imported metadata value. If the metadata with the given name is not present at the source location, then no metadata is passed through for this particular instance.
func (*InternalUpstreamTransport_MetadataValueSource) Descriptor
deprecated
func (*InternalUpstreamTransport_MetadataValueSource) Descriptor() ([]byte, []int)
Deprecated: Use InternalUpstreamTransport_MetadataValueSource.ProtoReflect.Descriptor instead.
func (*InternalUpstreamTransport_MetadataValueSource) GetKind ¶
func (x *InternalUpstreamTransport_MetadataValueSource) GetKind() *v31.MetadataKind
func (*InternalUpstreamTransport_MetadataValueSource) GetName ¶
func (x *InternalUpstreamTransport_MetadataValueSource) GetName() string
func (*InternalUpstreamTransport_MetadataValueSource) ProtoMessage ¶
func (*InternalUpstreamTransport_MetadataValueSource) ProtoMessage()
func (*InternalUpstreamTransport_MetadataValueSource) ProtoReflect ¶
func (x *InternalUpstreamTransport_MetadataValueSource) ProtoReflect() protoreflect.Message
func (*InternalUpstreamTransport_MetadataValueSource) Reset ¶
func (x *InternalUpstreamTransport_MetadataValueSource) Reset()
func (*InternalUpstreamTransport_MetadataValueSource) String ¶
func (x *InternalUpstreamTransport_MetadataValueSource) String() string
func (*InternalUpstreamTransport_MetadataValueSource) Validate ¶
func (m *InternalUpstreamTransport_MetadataValueSource) Validate() error
Validate checks the field values on InternalUpstreamTransport_MetadataValueSource 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 (*InternalUpstreamTransport_MetadataValueSource) ValidateAll ¶
func (m *InternalUpstreamTransport_MetadataValueSource) ValidateAll() error
ValidateAll checks the field values on InternalUpstreamTransport_MetadataValueSource 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 InternalUpstreamTransport_MetadataValueSourceMultiError, or nil if none found.
type InternalUpstreamTransport_MetadataValueSourceMultiError ¶
type InternalUpstreamTransport_MetadataValueSourceMultiError []error
InternalUpstreamTransport_MetadataValueSourceMultiError is an error wrapping multiple validation errors returned by InternalUpstreamTransport_MetadataValueSource.ValidateAll() if the designated constraints aren't met.
func (InternalUpstreamTransport_MetadataValueSourceMultiError) AllErrors ¶
func (m InternalUpstreamTransport_MetadataValueSourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InternalUpstreamTransport_MetadataValueSourceMultiError) Error ¶
func (m InternalUpstreamTransport_MetadataValueSourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InternalUpstreamTransport_MetadataValueSourceValidationError ¶
type InternalUpstreamTransport_MetadataValueSourceValidationError struct {
// contains filtered or unexported fields
}
InternalUpstreamTransport_MetadataValueSourceValidationError is the validation error returned by InternalUpstreamTransport_MetadataValueSource.Validate if the designated constraints aren't met.
func (InternalUpstreamTransport_MetadataValueSourceValidationError) Cause ¶
func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Cause() error
Cause function returns cause value.
func (InternalUpstreamTransport_MetadataValueSourceValidationError) Error ¶
func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Error() string
Error satisfies the builtin error interface
func (InternalUpstreamTransport_MetadataValueSourceValidationError) ErrorName ¶
func (e InternalUpstreamTransport_MetadataValueSourceValidationError) ErrorName() string
ErrorName returns error name.
func (InternalUpstreamTransport_MetadataValueSourceValidationError) Field ¶
func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Field() string
Field function returns field value.
func (InternalUpstreamTransport_MetadataValueSourceValidationError) Key ¶
func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Key() bool
Key function returns key value.
func (InternalUpstreamTransport_MetadataValueSourceValidationError) Reason ¶
func (e InternalUpstreamTransport_MetadataValueSourceValidationError) Reason() string
Reason function returns reason value.