internal_upstreamv3

package
v3.5.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 (*InternalUpstreamTransport) GetTransportSocket

func (x *InternalUpstreamTransport) GetTransportSocket() *v3.TransportSocket

func (*InternalUpstreamTransport) ProtoMessage

func (*InternalUpstreamTransport) ProtoMessage()

func (*InternalUpstreamTransport) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (InternalUpstreamTransportMultiError) Error

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

Cause function returns cause value.

func (InternalUpstreamTransportValidationError) Error

Error satisfies the builtin error interface

func (InternalUpstreamTransportValidationError) ErrorName

ErrorName returns error name.

func (InternalUpstreamTransportValidationError) Field

Field function returns field value.

func (InternalUpstreamTransportValidationError) Key

Key function returns key value.

func (InternalUpstreamTransportValidationError) Reason

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

Deprecated: Use InternalUpstreamTransport_MetadataValueSource.ProtoReflect.Descriptor instead.

func (*InternalUpstreamTransport_MetadataValueSource) GetKind

func (*InternalUpstreamTransport_MetadataValueSource) GetName

func (*InternalUpstreamTransport_MetadataValueSource) ProtoMessage

func (*InternalUpstreamTransport_MetadataValueSource) ProtoReflect

func (*InternalUpstreamTransport_MetadataValueSource) Reset

func (*InternalUpstreamTransport_MetadataValueSource) String

func (*InternalUpstreamTransport_MetadataValueSource) Validate

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

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

AllErrors returns a list of validation violation errors.

func (InternalUpstreamTransport_MetadataValueSourceMultiError) Error

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

Cause function returns cause value.

func (InternalUpstreamTransport_MetadataValueSourceValidationError) Error

Error satisfies the builtin error interface

func (InternalUpstreamTransport_MetadataValueSourceValidationError) ErrorName

ErrorName returns error name.

func (InternalUpstreamTransport_MetadataValueSourceValidationError) Field

Field function returns field value.

func (InternalUpstreamTransport_MetadataValueSourceValidationError) Key

Key function returns key value.

func (InternalUpstreamTransport_MetadataValueSourceValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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