package envoy_extensions_transport_sockets_proxy_protocol_v3
import "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/proxy_protocol/v3"
Index ¶
- Variables
- type ProxyProtocolUpstreamTransport
- func (*ProxyProtocolUpstreamTransport) Descriptor() ([]byte, []int)
- func (x *ProxyProtocolUpstreamTransport) GetConfig() *v3.ProxyProtocolConfig
- func (x *ProxyProtocolUpstreamTransport) GetTransportSocket() *v3.TransportSocket
- func (*ProxyProtocolUpstreamTransport) ProtoMessage()
- func (x *ProxyProtocolUpstreamTransport) ProtoReflect() protoreflect.Message
- func (x *ProxyProtocolUpstreamTransport) Reset()
- func (x *ProxyProtocolUpstreamTransport) String() string
- func (m *ProxyProtocolUpstreamTransport) Validate() error
- type ProxyProtocolUpstreamTransportValidationError
- func (e ProxyProtocolUpstreamTransportValidationError) Cause() error
- func (e ProxyProtocolUpstreamTransportValidationError) Error() string
- func (e ProxyProtocolUpstreamTransportValidationError) ErrorName() string
- func (e ProxyProtocolUpstreamTransportValidationError) Field() string
- func (e ProxyProtocolUpstreamTransportValidationError) Key() bool
- func (e ProxyProtocolUpstreamTransportValidationError) Reason() string
Variables ¶
var File_envoy_extensions_transport_sockets_proxy_protocol_v3_upstream_proxy_protocol_proto protoreflect.FileDescriptor
Types ¶
type ProxyProtocolUpstreamTransport ¶
type ProxyProtocolUpstreamTransport struct { Config *v3.ProxyProtocolConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // The underlying transport socket being wrapped. TransportSocket *v3.TransportSocket `protobuf:"bytes,2,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"` // contains filtered or unexported fields }
[#protodoc-title: Upstream Proxy Protocol] [#extension: envoy.transport_sockets.upstream_proxy_protocol] [#not-implemented-hide:] Configuration for PROXY protocol socket
func (*ProxyProtocolUpstreamTransport) Descriptor ¶
func (*ProxyProtocolUpstreamTransport) Descriptor() ([]byte, []int)
Deprecated: Use ProxyProtocolUpstreamTransport.ProtoReflect.Descriptor instead.
func (*ProxyProtocolUpstreamTransport) GetConfig ¶
func (x *ProxyProtocolUpstreamTransport) GetConfig() *v3.ProxyProtocolConfig
func (*ProxyProtocolUpstreamTransport) GetTransportSocket ¶
func (x *ProxyProtocolUpstreamTransport) GetTransportSocket() *v3.TransportSocket
func (*ProxyProtocolUpstreamTransport) ProtoMessage ¶
func (*ProxyProtocolUpstreamTransport) ProtoMessage()
func (*ProxyProtocolUpstreamTransport) ProtoReflect ¶
func (x *ProxyProtocolUpstreamTransport) ProtoReflect() protoreflect.Message
func (*ProxyProtocolUpstreamTransport) Reset ¶
func (x *ProxyProtocolUpstreamTransport) Reset()
func (*ProxyProtocolUpstreamTransport) String ¶
func (x *ProxyProtocolUpstreamTransport) String() string
func (*ProxyProtocolUpstreamTransport) Validate ¶
func (m *ProxyProtocolUpstreamTransport) Validate() error
Validate checks the field values on ProxyProtocolUpstreamTransport with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ProxyProtocolUpstreamTransportValidationError ¶
type ProxyProtocolUpstreamTransportValidationError struct {
// contains filtered or unexported fields
}
ProxyProtocolUpstreamTransportValidationError is the validation error returned by ProxyProtocolUpstreamTransport.Validate if the designated constraints aren't met.
func (ProxyProtocolUpstreamTransportValidationError) Cause ¶
func (e ProxyProtocolUpstreamTransportValidationError) Cause() error
Cause function returns cause value.
func (ProxyProtocolUpstreamTransportValidationError) Error ¶
func (e ProxyProtocolUpstreamTransportValidationError) Error() string
Error satisfies the builtin error interface
func (ProxyProtocolUpstreamTransportValidationError) ErrorName ¶
func (e ProxyProtocolUpstreamTransportValidationError) ErrorName() string
ErrorName returns error name.
func (ProxyProtocolUpstreamTransportValidationError) Field ¶
func (e ProxyProtocolUpstreamTransportValidationError) Field() string
Field function returns field value.
func (ProxyProtocolUpstreamTransportValidationError) Key ¶
func (e ProxyProtocolUpstreamTransportValidationError) Key() bool
Key function returns key value.
func (ProxyProtocolUpstreamTransportValidationError) Reason ¶
func (e ProxyProtocolUpstreamTransportValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
upstream_proxy_protocol.pb.go upstream_proxy_protocol.pb.validate.go
- Version
- v0.9.7
- Published
- Oct 1, 2020
- Platform
- js/wasm
- Imports
- 19 packages
- Last checked
- 1 hour ago –
Tools for package owners.