internal_upstreamv3

package
v1.34.0-20240426201503... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 8 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

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

Jump to

Keyboard shortcuts

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