Documentation ¶
Index ¶
- Variables
- type HttpConnectionManager
- func (*HttpConnectionManager) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager) GetAccessLog() []*v21.AccessLog
- func (m *HttpConnectionManager) GetAddUserAgent() *types.BoolValue
- func (m *HttpConnectionManager) GetCodecType() HttpConnectionManager_CodecType
- func (m *HttpConnectionManager) GetDelayedCloseTimeout() *time.Duration
- func (m *HttpConnectionManager) GetDrainTimeout() *time.Duration
- func (m *HttpConnectionManager) GetForwardClientCertDetails() HttpConnectionManager_ForwardClientCertDetails
- func (m *HttpConnectionManager) GetGenerateRequestId() *types.BoolValue
- func (m *HttpConnectionManager) GetHttp2ProtocolOptions() *core.Http2ProtocolOptions
- func (m *HttpConnectionManager) GetHttpFilters() []*HttpFilter
- func (m *HttpConnectionManager) GetHttpProtocolOptions() *core.Http1ProtocolOptions
- func (m *HttpConnectionManager) GetIdleTimeout() *time.Duration
- func (m *HttpConnectionManager) GetInternalAddressConfig() *HttpConnectionManager_InternalAddressConfig
- func (m *HttpConnectionManager) GetMaxRequestHeadersKb() *types.UInt32Value
- func (m *HttpConnectionManager) GetNormalizePath() *types.BoolValue
- func (m *HttpConnectionManager) GetProxy_100Continue() bool
- func (m *HttpConnectionManager) GetRds() *Rds
- func (m *HttpConnectionManager) GetRepresentIpv4RemoteAddressAsIpv4MappedIpv6() bool
- func (m *HttpConnectionManager) GetRequestTimeout() *time.Duration
- func (m *HttpConnectionManager) GetRouteConfig() *v2.RouteConfiguration
- func (m *HttpConnectionManager) GetRouteSpecifier() isHttpConnectionManager_RouteSpecifier
- func (m *HttpConnectionManager) GetServerName() string
- func (m *HttpConnectionManager) GetSetCurrentClientCertDetails() *HttpConnectionManager_SetCurrentClientCertDetails
- func (m *HttpConnectionManager) GetSkipXffAppend() bool
- func (m *HttpConnectionManager) GetStatPrefix() string
- func (m *HttpConnectionManager) GetStreamIdleTimeout() *time.Duration
- func (m *HttpConnectionManager) GetTracing() *HttpConnectionManager_Tracing
- func (m *HttpConnectionManager) GetUpgradeConfigs() []*HttpConnectionManager_UpgradeConfig
- func (m *HttpConnectionManager) GetUseRemoteAddress() *types.BoolValue
- func (m *HttpConnectionManager) GetVia() string
- func (m *HttpConnectionManager) GetXffNumTrustedHops() uint32
- func (m *HttpConnectionManager) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager) ProtoMessage()
- func (m *HttpConnectionManager) Reset()
- func (m *HttpConnectionManager) Size() (n int)
- func (m *HttpConnectionManager) String() string
- func (m *HttpConnectionManager) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager) Validate() error
- func (m *HttpConnectionManager) XXX_DiscardUnknown()
- func (m *HttpConnectionManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpConnectionManager) XXX_Merge(src proto.Message)
- func (*HttpConnectionManager) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *HttpConnectionManager) XXX_Size() int
- func (m *HttpConnectionManager) XXX_Unmarshal(b []byte) error
- type HttpConnectionManagerValidationError
- func (e HttpConnectionManagerValidationError) Cause() error
- func (e HttpConnectionManagerValidationError) Error() string
- func (e HttpConnectionManagerValidationError) ErrorName() string
- func (e HttpConnectionManagerValidationError) Field() string
- func (e HttpConnectionManagerValidationError) Key() bool
- func (e HttpConnectionManagerValidationError) Reason() string
- type HttpConnectionManager_CodecType
- type HttpConnectionManager_ForwardClientCertDetails
- type HttpConnectionManager_InternalAddressConfig
- func (*HttpConnectionManager_InternalAddressConfig) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager_InternalAddressConfig) GetUnixSockets() bool
- func (m *HttpConnectionManager_InternalAddressConfig) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager_InternalAddressConfig) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager_InternalAddressConfig) ProtoMessage()
- func (m *HttpConnectionManager_InternalAddressConfig) Reset()
- func (m *HttpConnectionManager_InternalAddressConfig) Size() (n int)
- func (m *HttpConnectionManager_InternalAddressConfig) String() string
- func (m *HttpConnectionManager_InternalAddressConfig) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager_InternalAddressConfig) Validate() error
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_DiscardUnknown()
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_Merge(src proto.Message)
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_Size() int
- func (m *HttpConnectionManager_InternalAddressConfig) XXX_Unmarshal(b []byte) error
- type HttpConnectionManager_InternalAddressConfigValidationError
- func (e HttpConnectionManager_InternalAddressConfigValidationError) Cause() error
- func (e HttpConnectionManager_InternalAddressConfigValidationError) Error() string
- func (e HttpConnectionManager_InternalAddressConfigValidationError) ErrorName() string
- func (e HttpConnectionManager_InternalAddressConfigValidationError) Field() string
- func (e HttpConnectionManager_InternalAddressConfigValidationError) Key() bool
- func (e HttpConnectionManager_InternalAddressConfigValidationError) Reason() string
- type HttpConnectionManager_Rds
- type HttpConnectionManager_RouteConfig
- type HttpConnectionManager_SetCurrentClientCertDetails
- func (*HttpConnectionManager_SetCurrentClientCertDetails) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetCert() bool
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetDns() bool
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetSubject() *types.BoolValue
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetUri() bool
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoMessage()
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Reset()
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Size() (n int)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) String() string
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) Validate() error
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_DiscardUnknown()
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Merge(src proto.Message)
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Size() int
- func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Unmarshal(b []byte) error
- type HttpConnectionManager_SetCurrentClientCertDetailsValidationError
- func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Cause() error
- func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Error() string
- func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) ErrorName() string
- func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Field() string
- func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Key() bool
- func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Reason() string
- type HttpConnectionManager_Tracing
- func (*HttpConnectionManager_Tracing) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager_Tracing) GetClientSampling() *_type.Percent
- func (m *HttpConnectionManager_Tracing) GetOperationName() HttpConnectionManager_Tracing_OperationName
- func (m *HttpConnectionManager_Tracing) GetOverallSampling() *_type.Percent
- func (m *HttpConnectionManager_Tracing) GetRandomSampling() *_type.Percent
- func (m *HttpConnectionManager_Tracing) GetRequestHeadersForTags() []string
- func (m *HttpConnectionManager_Tracing) GetVerbose() bool
- func (m *HttpConnectionManager_Tracing) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager_Tracing) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager_Tracing) ProtoMessage()
- func (m *HttpConnectionManager_Tracing) Reset()
- func (m *HttpConnectionManager_Tracing) Size() (n int)
- func (m *HttpConnectionManager_Tracing) String() string
- func (m *HttpConnectionManager_Tracing) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager_Tracing) Validate() error
- func (m *HttpConnectionManager_Tracing) XXX_DiscardUnknown()
- func (m *HttpConnectionManager_Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpConnectionManager_Tracing) XXX_Merge(src proto.Message)
- func (m *HttpConnectionManager_Tracing) XXX_Size() int
- func (m *HttpConnectionManager_Tracing) XXX_Unmarshal(b []byte) error
- type HttpConnectionManager_TracingValidationError
- func (e HttpConnectionManager_TracingValidationError) Cause() error
- func (e HttpConnectionManager_TracingValidationError) Error() string
- func (e HttpConnectionManager_TracingValidationError) ErrorName() string
- func (e HttpConnectionManager_TracingValidationError) Field() string
- func (e HttpConnectionManager_TracingValidationError) Key() bool
- func (e HttpConnectionManager_TracingValidationError) Reason() string
- type HttpConnectionManager_Tracing_OperationName
- type HttpConnectionManager_UpgradeConfig
- func (*HttpConnectionManager_UpgradeConfig) Descriptor() ([]byte, []int)
- func (m *HttpConnectionManager_UpgradeConfig) GetEnabled() *types.BoolValue
- func (m *HttpConnectionManager_UpgradeConfig) GetFilters() []*HttpFilter
- func (m *HttpConnectionManager_UpgradeConfig) GetUpgradeType() string
- func (m *HttpConnectionManager_UpgradeConfig) Marshal() (dAtA []byte, err error)
- func (m *HttpConnectionManager_UpgradeConfig) MarshalTo(dAtA []byte) (int, error)
- func (*HttpConnectionManager_UpgradeConfig) ProtoMessage()
- func (m *HttpConnectionManager_UpgradeConfig) Reset()
- func (m *HttpConnectionManager_UpgradeConfig) Size() (n int)
- func (m *HttpConnectionManager_UpgradeConfig) String() string
- func (m *HttpConnectionManager_UpgradeConfig) Unmarshal(dAtA []byte) error
- func (m *HttpConnectionManager_UpgradeConfig) Validate() error
- func (m *HttpConnectionManager_UpgradeConfig) XXX_DiscardUnknown()
- func (m *HttpConnectionManager_UpgradeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpConnectionManager_UpgradeConfig) XXX_Merge(src proto.Message)
- func (m *HttpConnectionManager_UpgradeConfig) XXX_Size() int
- func (m *HttpConnectionManager_UpgradeConfig) XXX_Unmarshal(b []byte) error
- type HttpConnectionManager_UpgradeConfigValidationError
- func (e HttpConnectionManager_UpgradeConfigValidationError) Cause() error
- func (e HttpConnectionManager_UpgradeConfigValidationError) Error() string
- func (e HttpConnectionManager_UpgradeConfigValidationError) ErrorName() string
- func (e HttpConnectionManager_UpgradeConfigValidationError) Field() string
- func (e HttpConnectionManager_UpgradeConfigValidationError) Key() bool
- func (e HttpConnectionManager_UpgradeConfigValidationError) Reason() string
- type HttpFilter
- func (*HttpFilter) Descriptor() ([]byte, []int)
- func (m *HttpFilter) GetConfig() *types.Struct
- func (m *HttpFilter) GetConfigType() isHttpFilter_ConfigType
- func (m *HttpFilter) GetName() string
- func (m *HttpFilter) GetTypedConfig() *types.Any
- func (m *HttpFilter) Marshal() (dAtA []byte, err error)
- func (m *HttpFilter) MarshalTo(dAtA []byte) (int, error)
- func (*HttpFilter) ProtoMessage()
- func (m *HttpFilter) Reset()
- func (m *HttpFilter) Size() (n int)
- func (m *HttpFilter) String() string
- func (m *HttpFilter) Unmarshal(dAtA []byte) error
- func (m *HttpFilter) Validate() error
- func (m *HttpFilter) XXX_DiscardUnknown()
- func (m *HttpFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpFilter) XXX_Merge(src proto.Message)
- func (*HttpFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *HttpFilter) XXX_Size() int
- func (m *HttpFilter) XXX_Unmarshal(b []byte) error
- type HttpFilterValidationError
- type HttpFilter_Config
- type HttpFilter_TypedConfig
- type Rds
- func (*Rds) Descriptor() ([]byte, []int)
- func (m *Rds) GetConfigSource() core.ConfigSource
- func (m *Rds) GetRouteConfigName() string
- func (m *Rds) Marshal() (dAtA []byte, err error)
- func (m *Rds) MarshalTo(dAtA []byte) (int, error)
- func (*Rds) ProtoMessage()
- func (m *Rds) Reset()
- func (m *Rds) Size() (n int)
- func (m *Rds) String() string
- func (m *Rds) Unmarshal(dAtA []byte) error
- func (m *Rds) Validate() error
- func (m *Rds) XXX_DiscardUnknown()
- func (m *Rds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Rds) XXX_Merge(src proto.Message)
- func (m *Rds) XXX_Size() int
- func (m *Rds) XXX_Unmarshal(b []byte) error
- type RdsValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthHttpConnectionManager = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHttpConnectionManager = fmt.Errorf("proto: integer overflow") )
var HttpConnectionManager_CodecType_name = map[int32]string{
0: "AUTO",
1: "HTTP1",
2: "HTTP2",
}
var HttpConnectionManager_CodecType_value = map[string]int32{
"AUTO": 0,
"HTTP1": 1,
"HTTP2": 2,
}
var HttpConnectionManager_ForwardClientCertDetails_name = map[int32]string{
0: "SANITIZE",
1: "FORWARD_ONLY",
2: "APPEND_FORWARD",
3: "SANITIZE_SET",
4: "ALWAYS_FORWARD_ONLY",
}
var HttpConnectionManager_ForwardClientCertDetails_value = map[string]int32{
"SANITIZE": 0,
"FORWARD_ONLY": 1,
"APPEND_FORWARD": 2,
"SANITIZE_SET": 3,
"ALWAYS_FORWARD_ONLY": 4,
}
var HttpConnectionManager_Tracing_OperationName_name = map[int32]string{
0: "INGRESS",
1: "EGRESS",
}
var HttpConnectionManager_Tracing_OperationName_value = map[string]int32{
"INGRESS": 0,
"EGRESS": 1,
}
Functions ¶
This section is empty.
Types ¶
type HttpConnectionManager ¶
type HttpConnectionManager struct { // Supplies the type of codec that the connection manager should use. CodecType HttpConnectionManager_CodecType `` /* 181-byte string literal not displayed */ // The human readable prefix to use when emitting statistics for the // connection manager. See the :ref:`statistics documentation <config_http_conn_man_stats>` for // more information. StatPrefix string `protobuf:"bytes,2,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` // Types that are valid to be assigned to RouteSpecifier: // *HttpConnectionManager_Rds // *HttpConnectionManager_RouteConfig RouteSpecifier isHttpConnectionManager_RouteSpecifier `protobuf_oneof:"route_specifier"` // A list of individual HTTP filters that make up the filter chain for // requests made to the connection manager. Order matters as the filters are // processed sequentially as request events happen. HttpFilters []*HttpFilter `protobuf:"bytes,5,rep,name=http_filters,json=httpFilters,proto3" json:"http_filters,omitempty"` // Whether the connection manager manipulates the :ref:`config_http_conn_man_headers_user-agent` // and :ref:`config_http_conn_man_headers_downstream-service-cluster` headers. See the linked // documentation for more information. Defaults to false. AddUserAgent *types.BoolValue `protobuf:"bytes,6,opt,name=add_user_agent,json=addUserAgent,proto3" json:"add_user_agent,omitempty"` // Presence of the object defines whether the connection manager // emits :ref:`tracing <arch_overview_tracing>` data to the :ref:`configured tracing provider // <envoy_api_msg_config.trace.v2.Tracing>`. Tracing *HttpConnectionManager_Tracing `protobuf:"bytes,7,opt,name=tracing,proto3" json:"tracing,omitempty"` // Additional HTTP/1 settings that are passed to the HTTP/1 codec. HttpProtocolOptions *core.Http1ProtocolOptions `protobuf:"bytes,8,opt,name=http_protocol_options,json=httpProtocolOptions,proto3" json:"http_protocol_options,omitempty"` // Additional HTTP/2 settings that are passed directly to the HTTP/2 codec. Http2ProtocolOptions *core.Http2ProtocolOptions `protobuf:"bytes,9,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"` // An optional override that the connection manager will write to the server // header in responses. If not set, the default is *envoy*. ServerName string `protobuf:"bytes,10,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` // The maximum request headers size for incoming connections. // If unconfigured, the default max request headers allowed is 60 KiB. // Requests that exceed this limit will receive a 431 response. // The max configurable limit is 96 KiB, based on current implementation // constraints. MaxRequestHeadersKb *types.UInt32Value `protobuf:"bytes,29,opt,name=max_request_headers_kb,json=maxRequestHeadersKb,proto3" json:"max_request_headers_kb,omitempty"` // The idle timeout for connections managed by the connection manager. The // idle timeout is defined as the period in which there are no active // requests. If not set, there is no idle timeout. When the idle timeout is // reached the connection will be closed. If the connection is an HTTP/2 // connection a drain sequence will occur prior to closing the connection. See // :ref:`drain_timeout // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. IdleTimeout *time.Duration `protobuf:"bytes,11,opt,name=idle_timeout,json=idleTimeout,proto3,stdduration" json:"idle_timeout,omitempty"` // The stream idle timeout for connections managed by the connection manager. // If not specified, this defaults to 5 minutes. The default value was selected // so as not to interfere with any smaller configured timeouts that may have // existed in configurations prior to the introduction of this feature, while // introducing robustness to TCP connections that terminate without a FIN. // // This idle timeout applies to new streams and is overridable by the // :ref:`route-level idle_timeout // <envoy_api_field_route.RouteAction.idle_timeout>`. Even on a stream in // which the override applies, prior to receipt of the initial request // headers, the :ref:`stream_idle_timeout // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.stream_idle_timeout>` // applies. Each time an encode/decode event for headers or data is processed // for the stream, the timer will be reset. If the timeout fires, the stream // is terminated with a 408 Request Timeout error code if no upstream response // header has been received, otherwise a stream reset occurs. // // Note that it is possible to idle timeout even if the wire traffic for a stream is non-idle, due // to the granularity of events presented to the connection manager. For example, while receiving // very large request headers, it may be the case that there is traffic regularly arriving on the // wire while the connection manage is only able to observe the end-of-headers event, hence the // stream may still idle timeout. // // A value of 0 will completely disable the connection manager stream idle // timeout, although per-route idle timeout overrides will continue to apply. StreamIdleTimeout *time.Duration `` /* 127-byte string literal not displayed */ // A timeout for idle requests managed by the connection manager. // The timer is activated when the request is initiated, and is disarmed when the last byte of the // request is sent upstream (i.e. all decoding filters have processed the request), OR when the // response is initiated. If not specified or set to 0, this timeout is disabled. RequestTimeout *time.Duration `protobuf:"bytes,28,opt,name=request_timeout,json=requestTimeout,proto3,stdduration" json:"request_timeout,omitempty"` // The time that Envoy will wait between sending an HTTP/2 “shutdown // notification” (GOAWAY frame with max stream ID) and a final GOAWAY frame. // This is used so that Envoy provides a grace period for new streams that // race with the final GOAWAY frame. During this grace period, Envoy will // continue to accept new streams. After the grace period, a final GOAWAY // frame is sent and Envoy will start refusing new streams. Draining occurs // both when a connection hits the idle timeout or during general server // draining. The default grace period is 5000 milliseconds (5 seconds) if this // option is not specified. DrainTimeout *time.Duration `protobuf:"bytes,12,opt,name=drain_timeout,json=drainTimeout,proto3,stdduration" json:"drain_timeout,omitempty"` // The delayed close timeout is for downstream connections managed by the HTTP connection manager. // It is defined as a grace period after connection close processing has been locally initiated // during which Envoy will wait for the peer to close (i.e., a TCP FIN/RST is received by Envoy // from the downstream connection) prior to Envoy closing the socket associated with that // connection. // NOTE: This timeout is enforced even when the socket associated with the downstream connection // is pending a flush of the write buffer. However, any progress made writing data to the socket // will restart the timer associated with this timeout. This means that the total grace period for // a socket in this state will be // <total_time_waiting_for_write_buffer_flushes>+<delayed_close_timeout>. // // Delaying Envoy's connection close and giving the peer the opportunity to initiate the close // sequence mitigates a race condition that exists when downstream clients do not drain/process // data in a connection's receive buffer after a remote close has been detected via a socket // write(). This race leads to such clients failing to process the response code sent by Envoy, // which could result in erroneous downstream processing. // // If the timeout triggers, Envoy will close the connection's socket. // // The default timeout is 1000 ms if this option is not specified. // // .. NOTE:: // To be useful in avoiding the race condition described above, this timeout must be set // to *at least* <max round trip time expected between clients and Envoy>+<100ms to account for // a reasonsable "worst" case processing time for a full iteration of Envoy's event loop>. // // .. WARNING:: // A value of 0 will completely disable delayed close processing. When disabled, the downstream // connection's socket will be closed immediately after the write flush is completed or will // never close if the write flush does not complete. DelayedCloseTimeout *time.Duration `` /* 133-byte string literal not displayed */ // Configuration for :ref:`HTTP access logs <arch_overview_access_logs>` // emitted by the connection manager. AccessLog []*v21.AccessLog `protobuf:"bytes,13,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"` // If set to true, the connection manager will use the real remote address // of the client connection when determining internal versus external origin and manipulating // various headers. If set to false or absent, the connection manager will use the // :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header. See the documentation for // :ref:`config_http_conn_man_headers_x-forwarded-for`, // :ref:`config_http_conn_man_headers_x-envoy-internal`, and // :ref:`config_http_conn_man_headers_x-envoy-external-address` for more information. UseRemoteAddress *types.BoolValue `protobuf:"bytes,14,opt,name=use_remote_address,json=useRemoteAddress,proto3" json:"use_remote_address,omitempty"` // The number of additional ingress proxy hops from the right side of the // :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header to trust when // determining the origin client's IP address. The default is zero if this option // is not specified. See the documentation for // :ref:`config_http_conn_man_headers_x-forwarded-for` for more information. XffNumTrustedHops uint32 `protobuf:"varint,19,opt,name=xff_num_trusted_hops,json=xffNumTrustedHops,proto3" json:"xff_num_trusted_hops,omitempty"` // Configures what network addresses are considered internal for stats and header sanitation // purposes. If unspecified, only RFC1918 IP addresses will be considered internal. // See the documentation for :ref:`config_http_conn_man_headers_x-envoy-internal` for more // information about internal/external addresses. InternalAddressConfig *HttpConnectionManager_InternalAddressConfig `` /* 127-byte string literal not displayed */ // If set, Envoy will not append the remote address to the // :ref:`config_http_conn_man_headers_x-forwarded-for` HTTP header. This may be used in // conjunction with HTTP filters that explicitly manipulate XFF after the HTTP connection manager // has mutated the request headers. While :ref:`use_remote_address // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.use_remote_address>` // will also suppress XFF addition, it has consequences for logging and other // Envoy uses of the remote address, so *skip_xff_append* should be used // when only an elision of XFF addition is intended. SkipXffAppend bool `protobuf:"varint,21,opt,name=skip_xff_append,json=skipXffAppend,proto3" json:"skip_xff_append,omitempty"` // Via header value to append to request and response headers. If this is // empty, no via header will be appended. Via string `protobuf:"bytes,22,opt,name=via,proto3" json:"via,omitempty"` // Whether the connection manager will generate the :ref:`x-request-id // <config_http_conn_man_headers_x-request-id>` header if it does not exist. This defaults to // true. Generating a random UUID4 is expensive so in high throughput scenarios where this feature // is not desired it can be disabled. GenerateRequestId *types.BoolValue `protobuf:"bytes,15,opt,name=generate_request_id,json=generateRequestId,proto3" json:"generate_request_id,omitempty"` // How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP // header. ForwardClientCertDetails HttpConnectionManager_ForwardClientCertDetails `` /* 246-byte string literal not displayed */ // This field is valid only when :ref:`forward_client_cert_details // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.forward_client_cert_details>` // is APPEND_FORWARD or SANITIZE_SET and the client connection is mTLS. It specifies the fields in // the client certificate to be forwarded. Note that in the // :ref:`config_http_conn_man_headers_x-forwarded-client-cert` header, *Hash* is always set, and // *By* is always set when the client certificate presents the URI type Subject Alternative Name // value. SetCurrentClientCertDetails *HttpConnectionManager_SetCurrentClientCertDetails `` /* 149-byte string literal not displayed */ // If proxy_100_continue is true, Envoy will proxy incoming "Expect: // 100-continue" headers upstream, and forward "100 Continue" responses // downstream. If this is false or not set, Envoy will instead strip the // "Expect: 100-continue" header, and send a "100 Continue" response itself. Proxy_100Continue bool `protobuf:"varint,18,opt,name=proxy_100_continue,json=proxy100Continue,proto3" json:"proxy_100_continue,omitempty"` // If // :ref:`use_remote_address // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.use_remote_address>` // is true and represent_ipv4_remote_address_as_ipv4_mapped_ipv6 is true and the remote address is // an IPv4 address, the address will be mapped to IPv6 before it is appended to *x-forwarded-for*. // This is useful for testing compatibility of upstream services that parse the header value. For // example, 50.0.0.1 is represented as ::FFFF:50.0.0.1. See `IPv4-Mapped IPv6 Addresses // <https://tools.ietf.org/html/rfc4291#section-2.5.5.2>`_ for details. This will also affect the // :ref:`config_http_conn_man_headers_x-envoy-external-address` header. See // :ref:`http_connection_manager.represent_ipv4_remote_address_as_ipv4_mapped_ipv6 // <config_http_conn_man_runtime_represent_ipv4_remote_address_as_ipv4_mapped_ipv6>` for runtime // control. // [#not-implemented-hide:] RepresentIpv4RemoteAddressAsIpv4MappedIpv6 bool `` /* 201-byte string literal not displayed */ UpgradeConfigs []*HttpConnectionManager_UpgradeConfig `protobuf:"bytes,23,rep,name=upgrade_configs,json=upgradeConfigs,proto3" json:"upgrade_configs,omitempty"` // Should paths be normalized according to RFC 3986 before any processing of // requests by HTTP filters or routing? This affects the upstream *:path* header // as well. For paths that fail this check, Envoy will respond with 400 to // paths that are malformed. This defaults to false currently but will default // true in the future. When not specified, this value may be overridden by the // runtime variable // :ref:`http_connection_manager.normalize_path<config_http_conn_man_runtime_normalize_path>`. // See `Normalization and Comparison <https://tools.ietf.org/html/rfc3986#section-6>` // for details of normalization. // Note that Envoy does not perform // `case normalization <https://tools.ietf.org/html/rfc3986#section-6.2.2.1>` NormalizePath *types.BoolValue `protobuf:"bytes,30,opt,name=normalize_path,json=normalizePath,proto3" json:"normalize_path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#comment:next free field: 31]
func (*HttpConnectionManager) Descriptor ¶
func (*HttpConnectionManager) Descriptor() ([]byte, []int)
func (*HttpConnectionManager) GetAccessLog ¶
func (m *HttpConnectionManager) GetAccessLog() []*v21.AccessLog
func (*HttpConnectionManager) GetAddUserAgent ¶
func (m *HttpConnectionManager) GetAddUserAgent() *types.BoolValue
func (*HttpConnectionManager) GetCodecType ¶
func (m *HttpConnectionManager) GetCodecType() HttpConnectionManager_CodecType
func (*HttpConnectionManager) GetDelayedCloseTimeout ¶ added in v0.6.1
func (m *HttpConnectionManager) GetDelayedCloseTimeout() *time.Duration
func (*HttpConnectionManager) GetDrainTimeout ¶
func (m *HttpConnectionManager) GetDrainTimeout() *time.Duration
func (*HttpConnectionManager) GetForwardClientCertDetails ¶
func (m *HttpConnectionManager) GetForwardClientCertDetails() HttpConnectionManager_ForwardClientCertDetails
func (*HttpConnectionManager) GetGenerateRequestId ¶
func (m *HttpConnectionManager) GetGenerateRequestId() *types.BoolValue
func (*HttpConnectionManager) GetHttp2ProtocolOptions ¶
func (m *HttpConnectionManager) GetHttp2ProtocolOptions() *core.Http2ProtocolOptions
func (*HttpConnectionManager) GetHttpFilters ¶
func (m *HttpConnectionManager) GetHttpFilters() []*HttpFilter
func (*HttpConnectionManager) GetHttpProtocolOptions ¶
func (m *HttpConnectionManager) GetHttpProtocolOptions() *core.Http1ProtocolOptions
func (*HttpConnectionManager) GetIdleTimeout ¶
func (m *HttpConnectionManager) GetIdleTimeout() *time.Duration
func (*HttpConnectionManager) GetInternalAddressConfig ¶ added in v0.6.0
func (m *HttpConnectionManager) GetInternalAddressConfig() *HttpConnectionManager_InternalAddressConfig
func (*HttpConnectionManager) GetMaxRequestHeadersKb ¶ added in v0.6.8
func (m *HttpConnectionManager) GetMaxRequestHeadersKb() *types.UInt32Value
func (*HttpConnectionManager) GetNormalizePath ¶ added in v0.7.1
func (m *HttpConnectionManager) GetNormalizePath() *types.BoolValue
func (*HttpConnectionManager) GetProxy_100Continue ¶
func (m *HttpConnectionManager) GetProxy_100Continue() bool
func (*HttpConnectionManager) GetRds ¶
func (m *HttpConnectionManager) GetRds() *Rds
func (*HttpConnectionManager) GetRepresentIpv4RemoteAddressAsIpv4MappedIpv6 ¶
func (m *HttpConnectionManager) GetRepresentIpv4RemoteAddressAsIpv4MappedIpv6() bool
func (*HttpConnectionManager) GetRequestTimeout ¶ added in v0.6.3
func (m *HttpConnectionManager) GetRequestTimeout() *time.Duration
func (*HttpConnectionManager) GetRouteConfig ¶
func (m *HttpConnectionManager) GetRouteConfig() *v2.RouteConfiguration
func (*HttpConnectionManager) GetRouteSpecifier ¶
func (m *HttpConnectionManager) GetRouteSpecifier() isHttpConnectionManager_RouteSpecifier
func (*HttpConnectionManager) GetServerName ¶
func (m *HttpConnectionManager) GetServerName() string
func (*HttpConnectionManager) GetSetCurrentClientCertDetails ¶
func (m *HttpConnectionManager) GetSetCurrentClientCertDetails() *HttpConnectionManager_SetCurrentClientCertDetails
func (*HttpConnectionManager) GetSkipXffAppend ¶
func (m *HttpConnectionManager) GetSkipXffAppend() bool
func (*HttpConnectionManager) GetStatPrefix ¶
func (m *HttpConnectionManager) GetStatPrefix() string
func (*HttpConnectionManager) GetStreamIdleTimeout ¶
func (m *HttpConnectionManager) GetStreamIdleTimeout() *time.Duration
func (*HttpConnectionManager) GetTracing ¶
func (m *HttpConnectionManager) GetTracing() *HttpConnectionManager_Tracing
func (*HttpConnectionManager) GetUpgradeConfigs ¶
func (m *HttpConnectionManager) GetUpgradeConfigs() []*HttpConnectionManager_UpgradeConfig
func (*HttpConnectionManager) GetUseRemoteAddress ¶
func (m *HttpConnectionManager) GetUseRemoteAddress() *types.BoolValue
func (*HttpConnectionManager) GetVia ¶
func (m *HttpConnectionManager) GetVia() string
func (*HttpConnectionManager) GetXffNumTrustedHops ¶
func (m *HttpConnectionManager) GetXffNumTrustedHops() uint32
func (*HttpConnectionManager) Marshal ¶
func (m *HttpConnectionManager) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager) MarshalTo ¶
func (m *HttpConnectionManager) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager) ProtoMessage ¶
func (*HttpConnectionManager) ProtoMessage()
func (*HttpConnectionManager) Reset ¶
func (m *HttpConnectionManager) Reset()
func (*HttpConnectionManager) Size ¶
func (m *HttpConnectionManager) Size() (n int)
func (*HttpConnectionManager) String ¶
func (m *HttpConnectionManager) String() string
func (*HttpConnectionManager) Unmarshal ¶
func (m *HttpConnectionManager) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager) Validate ¶
func (m *HttpConnectionManager) Validate() error
Validate checks the field values on HttpConnectionManager with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager) XXX_DiscardUnknown ¶
func (m *HttpConnectionManager) XXX_DiscardUnknown()
func (*HttpConnectionManager) XXX_Marshal ¶
func (m *HttpConnectionManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager) XXX_Merge ¶
func (m *HttpConnectionManager) XXX_Merge(src proto.Message)
func (*HttpConnectionManager) XXX_OneofFuncs ¶
func (*HttpConnectionManager) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*HttpConnectionManager) XXX_Size ¶
func (m *HttpConnectionManager) XXX_Size() int
func (*HttpConnectionManager) XXX_Unmarshal ¶
func (m *HttpConnectionManager) XXX_Unmarshal(b []byte) error
type HttpConnectionManagerValidationError ¶
type HttpConnectionManagerValidationError struct {
// contains filtered or unexported fields
}
HttpConnectionManagerValidationError is the validation error returned by HttpConnectionManager.Validate if the designated constraints aren't met.
func (HttpConnectionManagerValidationError) Cause ¶
func (e HttpConnectionManagerValidationError) Cause() error
Cause function returns cause value.
func (HttpConnectionManagerValidationError) Error ¶
func (e HttpConnectionManagerValidationError) Error() string
Error satisfies the builtin error interface
func (HttpConnectionManagerValidationError) ErrorName ¶ added in v0.7.0
func (e HttpConnectionManagerValidationError) ErrorName() string
ErrorName returns error name.
func (HttpConnectionManagerValidationError) Field ¶
func (e HttpConnectionManagerValidationError) Field() string
Field function returns field value.
func (HttpConnectionManagerValidationError) Key ¶
func (e HttpConnectionManagerValidationError) Key() bool
Key function returns key value.
func (HttpConnectionManagerValidationError) Reason ¶
func (e HttpConnectionManagerValidationError) Reason() string
Reason function returns reason value.
type HttpConnectionManager_CodecType ¶
type HttpConnectionManager_CodecType int32
const ( // For every new connection, the connection manager will determine which // codec to use. This mode supports both ALPN for TLS listeners as well as // protocol inference for plaintext listeners. If ALPN data is available, it // is preferred, otherwise protocol inference is used. In almost all cases, // this is the right option to choose for this setting. AUTO HttpConnectionManager_CodecType = 0 // The connection manager will assume that the client is speaking HTTP/1.1. HTTP1 HttpConnectionManager_CodecType = 1 // The connection manager will assume that the client is speaking HTTP/2 // (Envoy does not require HTTP/2 to take place over TLS or to use ALPN. // Prior knowledge is allowed). HTTP2 HttpConnectionManager_CodecType = 2 )
func (HttpConnectionManager_CodecType) EnumDescriptor ¶
func (HttpConnectionManager_CodecType) EnumDescriptor() ([]byte, []int)
func (HttpConnectionManager_CodecType) String ¶
func (x HttpConnectionManager_CodecType) String() string
type HttpConnectionManager_ForwardClientCertDetails ¶
type HttpConnectionManager_ForwardClientCertDetails int32
How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP header.
const ( // Do not send the XFCC header to the next hop. This is the default value. SANITIZE HttpConnectionManager_ForwardClientCertDetails = 0 // When the client connection is mTLS (Mutual TLS), forward the XFCC header // in the request. FORWARD_ONLY HttpConnectionManager_ForwardClientCertDetails = 1 // When the client connection is mTLS, append the client certificate // information to the request’s XFCC header and forward it. APPEND_FORWARD HttpConnectionManager_ForwardClientCertDetails = 2 // When the client connection is mTLS, reset the XFCC header with the client // certificate information and send it to the next hop. SANITIZE_SET HttpConnectionManager_ForwardClientCertDetails = 3 // Always forward the XFCC header in the request, regardless of whether the // client connection is mTLS. ALWAYS_FORWARD_ONLY HttpConnectionManager_ForwardClientCertDetails = 4 )
func (HttpConnectionManager_ForwardClientCertDetails) EnumDescriptor ¶
func (HttpConnectionManager_ForwardClientCertDetails) EnumDescriptor() ([]byte, []int)
func (HttpConnectionManager_ForwardClientCertDetails) String ¶
func (x HttpConnectionManager_ForwardClientCertDetails) String() string
type HttpConnectionManager_InternalAddressConfig ¶ added in v0.6.0
type HttpConnectionManager_InternalAddressConfig struct { // Whether unix socket addresses should be considered internal. UnixSockets bool `protobuf:"varint,1,opt,name=unix_sockets,json=unixSockets,proto3" json:"unix_sockets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpConnectionManager_InternalAddressConfig) Descriptor ¶ added in v0.6.0
func (*HttpConnectionManager_InternalAddressConfig) Descriptor() ([]byte, []int)
func (*HttpConnectionManager_InternalAddressConfig) GetUnixSockets ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) GetUnixSockets() bool
func (*HttpConnectionManager_InternalAddressConfig) Marshal ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager_InternalAddressConfig) MarshalTo ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_InternalAddressConfig) ProtoMessage ¶ added in v0.6.0
func (*HttpConnectionManager_InternalAddressConfig) ProtoMessage()
func (*HttpConnectionManager_InternalAddressConfig) Reset ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Reset()
func (*HttpConnectionManager_InternalAddressConfig) Size ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Size() (n int)
func (*HttpConnectionManager_InternalAddressConfig) String ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) String() string
func (*HttpConnectionManager_InternalAddressConfig) Unmarshal ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager_InternalAddressConfig) Validate ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) Validate() error
Validate checks the field values on HttpConnectionManager_InternalAddressConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager_InternalAddressConfig) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_DiscardUnknown()
func (*HttpConnectionManager_InternalAddressConfig) XXX_Marshal ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager_InternalAddressConfig) XXX_Merge ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_Merge(src proto.Message)
func (*HttpConnectionManager_InternalAddressConfig) XXX_Size ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_Size() int
func (*HttpConnectionManager_InternalAddressConfig) XXX_Unmarshal ¶ added in v0.6.0
func (m *HttpConnectionManager_InternalAddressConfig) XXX_Unmarshal(b []byte) error
type HttpConnectionManager_InternalAddressConfigValidationError ¶ added in v0.6.0
type HttpConnectionManager_InternalAddressConfigValidationError struct {
// contains filtered or unexported fields
}
HttpConnectionManager_InternalAddressConfigValidationError is the validation error returned by HttpConnectionManager_InternalAddressConfig.Validate if the designated constraints aren't met.
func (HttpConnectionManager_InternalAddressConfigValidationError) Cause ¶ added in v0.6.0
func (e HttpConnectionManager_InternalAddressConfigValidationError) Cause() error
Cause function returns cause value.
func (HttpConnectionManager_InternalAddressConfigValidationError) Error ¶ added in v0.6.0
func (e HttpConnectionManager_InternalAddressConfigValidationError) Error() string
Error satisfies the builtin error interface
func (HttpConnectionManager_InternalAddressConfigValidationError) ErrorName ¶ added in v0.7.0
func (e HttpConnectionManager_InternalAddressConfigValidationError) ErrorName() string
ErrorName returns error name.
func (HttpConnectionManager_InternalAddressConfigValidationError) Field ¶ added in v0.6.0
func (e HttpConnectionManager_InternalAddressConfigValidationError) Field() string
Field function returns field value.
func (HttpConnectionManager_InternalAddressConfigValidationError) Key ¶ added in v0.6.0
func (e HttpConnectionManager_InternalAddressConfigValidationError) Key() bool
Key function returns key value.
func (HttpConnectionManager_InternalAddressConfigValidationError) Reason ¶ added in v0.6.0
func (e HttpConnectionManager_InternalAddressConfigValidationError) Reason() string
Reason function returns reason value.
type HttpConnectionManager_Rds ¶
type HttpConnectionManager_Rds struct {
Rds *Rds `protobuf:"bytes,3,opt,name=rds,proto3,oneof"`
}
func (*HttpConnectionManager_Rds) MarshalTo ¶
func (m *HttpConnectionManager_Rds) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_Rds) Size ¶
func (m *HttpConnectionManager_Rds) Size() (n int)
type HttpConnectionManager_RouteConfig ¶
type HttpConnectionManager_RouteConfig struct {
RouteConfig *v2.RouteConfiguration `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3,oneof"`
}
func (*HttpConnectionManager_RouteConfig) MarshalTo ¶
func (m *HttpConnectionManager_RouteConfig) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_RouteConfig) Size ¶
func (m *HttpConnectionManager_RouteConfig) Size() (n int)
type HttpConnectionManager_SetCurrentClientCertDetails ¶
type HttpConnectionManager_SetCurrentClientCertDetails struct { // Whether to forward the subject of the client cert. Defaults to false. Subject *types.BoolValue `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // Whether to forward the entire client cert in URL encoded PEM format. This will appear in the // XFCC header comma separated from other values with the value Cert="PEM". // Defaults to false. Cert bool `protobuf:"varint,3,opt,name=cert,proto3" json:"cert,omitempty"` // Whether to forward the DNS type Subject Alternative Names of the client cert. // Defaults to false. Dns bool `protobuf:"varint,4,opt,name=dns,proto3" json:"dns,omitempty"` // Whether to forward the URI type Subject Alternative Name of the client cert. Defaults to // false. Uri bool `protobuf:"varint,5,opt,name=uri,proto3" json:"uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpConnectionManager_SetCurrentClientCertDetails) Descriptor ¶
func (*HttpConnectionManager_SetCurrentClientCertDetails) Descriptor() ([]byte, []int)
func (*HttpConnectionManager_SetCurrentClientCertDetails) GetCert ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetCert() bool
func (*HttpConnectionManager_SetCurrentClientCertDetails) GetDns ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetDns() bool
func (*HttpConnectionManager_SetCurrentClientCertDetails) GetSubject ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetSubject() *types.BoolValue
func (*HttpConnectionManager_SetCurrentClientCertDetails) GetUri ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) GetUri() bool
func (*HttpConnectionManager_SetCurrentClientCertDetails) Marshal ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager_SetCurrentClientCertDetails) MarshalTo ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoMessage ¶
func (*HttpConnectionManager_SetCurrentClientCertDetails) ProtoMessage()
func (*HttpConnectionManager_SetCurrentClientCertDetails) Reset ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Reset()
func (*HttpConnectionManager_SetCurrentClientCertDetails) Size ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Size() (n int)
func (*HttpConnectionManager_SetCurrentClientCertDetails) String ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) String() string
func (*HttpConnectionManager_SetCurrentClientCertDetails) Unmarshal ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager_SetCurrentClientCertDetails) Validate ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) Validate() error
Validate checks the field values on HttpConnectionManager_SetCurrentClientCertDetails with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_DiscardUnknown ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_DiscardUnknown()
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_Marshal ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_Merge ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Merge(src proto.Message)
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_Size ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Size() int
func (*HttpConnectionManager_SetCurrentClientCertDetails) XXX_Unmarshal ¶
func (m *HttpConnectionManager_SetCurrentClientCertDetails) XXX_Unmarshal(b []byte) error
type HttpConnectionManager_SetCurrentClientCertDetailsValidationError ¶
type HttpConnectionManager_SetCurrentClientCertDetailsValidationError struct {
// contains filtered or unexported fields
}
HttpConnectionManager_SetCurrentClientCertDetailsValidationError is the validation error returned by HttpConnectionManager_SetCurrentClientCertDetails.Validate if the designated constraints aren't met.
func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Cause ¶
func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Cause() error
Cause function returns cause value.
func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Error ¶
func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) ErrorName ¶ added in v0.7.0
func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Field ¶
func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Field() string
Field function returns field value.
func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Key ¶
Key function returns key value.
func (HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Reason ¶
func (e HttpConnectionManager_SetCurrentClientCertDetailsValidationError) Reason() string
Reason function returns reason value.
type HttpConnectionManager_Tracing ¶
type HttpConnectionManager_Tracing struct { // The span name will be derived from this field. OperationName HttpConnectionManager_Tracing_OperationName `` /* 205-byte string literal not displayed */ // A list of header names used to create tags for the active span. The header name is used to // populate the tag name, and the header value is used to populate the tag value. The tag is // created if the specified header name is present in the request's headers. RequestHeadersForTags []string `` /* 128-byte string literal not displayed */ // Target percentage of requests managed by this HTTP connection manager that will be force // traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` // header is set. This field is a direct analog for the runtime variable // 'tracing.client_sampling' in the :ref:`HTTP Connection Manager // <config_http_conn_man_runtime>`. // Default: 100% ClientSampling *_type.Percent `protobuf:"bytes,3,opt,name=client_sampling,json=clientSampling,proto3" json:"client_sampling,omitempty"` // Target percentage of requests managed by this HTTP connection manager that will be randomly // selected for trace generation, if not requested by the client or not forced. This field is // a direct analog for the runtime variable 'tracing.random_sampling' in the // :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. // Default: 100% RandomSampling *_type.Percent `protobuf:"bytes,4,opt,name=random_sampling,json=randomSampling,proto3" json:"random_sampling,omitempty"` // Target percentage of requests managed by this HTTP connection manager that will be traced // after all other sampling checks have been applied (client-directed, force tracing, random // sampling). This field functions as an upper limit on the total configured sampling rate. For // instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1% // of client requests with the appropriate headers to be force traced. This field is a direct // analog for the runtime variable 'tracing.global_enabled' in the // :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`. // Default: 100% OverallSampling *_type.Percent `protobuf:"bytes,5,opt,name=overall_sampling,json=overallSampling,proto3" json:"overall_sampling,omitempty"` // Whether to annotate spans with additional data. If true, spans will include logs for stream // events. Verbose bool `protobuf:"varint,6,opt,name=verbose,proto3" json:"verbose,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpConnectionManager_Tracing) Descriptor ¶
func (*HttpConnectionManager_Tracing) Descriptor() ([]byte, []int)
func (*HttpConnectionManager_Tracing) GetClientSampling ¶
func (m *HttpConnectionManager_Tracing) GetClientSampling() *_type.Percent
func (*HttpConnectionManager_Tracing) GetOperationName ¶
func (m *HttpConnectionManager_Tracing) GetOperationName() HttpConnectionManager_Tracing_OperationName
func (*HttpConnectionManager_Tracing) GetOverallSampling ¶
func (m *HttpConnectionManager_Tracing) GetOverallSampling() *_type.Percent
func (*HttpConnectionManager_Tracing) GetRandomSampling ¶
func (m *HttpConnectionManager_Tracing) GetRandomSampling() *_type.Percent
func (*HttpConnectionManager_Tracing) GetRequestHeadersForTags ¶
func (m *HttpConnectionManager_Tracing) GetRequestHeadersForTags() []string
func (*HttpConnectionManager_Tracing) GetVerbose ¶ added in v0.6.9
func (m *HttpConnectionManager_Tracing) GetVerbose() bool
func (*HttpConnectionManager_Tracing) Marshal ¶
func (m *HttpConnectionManager_Tracing) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager_Tracing) MarshalTo ¶
func (m *HttpConnectionManager_Tracing) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_Tracing) ProtoMessage ¶
func (*HttpConnectionManager_Tracing) ProtoMessage()
func (*HttpConnectionManager_Tracing) Reset ¶
func (m *HttpConnectionManager_Tracing) Reset()
func (*HttpConnectionManager_Tracing) Size ¶
func (m *HttpConnectionManager_Tracing) Size() (n int)
func (*HttpConnectionManager_Tracing) String ¶
func (m *HttpConnectionManager_Tracing) String() string
func (*HttpConnectionManager_Tracing) Unmarshal ¶
func (m *HttpConnectionManager_Tracing) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager_Tracing) Validate ¶
func (m *HttpConnectionManager_Tracing) Validate() error
Validate checks the field values on HttpConnectionManager_Tracing with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager_Tracing) XXX_DiscardUnknown ¶
func (m *HttpConnectionManager_Tracing) XXX_DiscardUnknown()
func (*HttpConnectionManager_Tracing) XXX_Marshal ¶
func (m *HttpConnectionManager_Tracing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager_Tracing) XXX_Merge ¶
func (m *HttpConnectionManager_Tracing) XXX_Merge(src proto.Message)
func (*HttpConnectionManager_Tracing) XXX_Size ¶
func (m *HttpConnectionManager_Tracing) XXX_Size() int
func (*HttpConnectionManager_Tracing) XXX_Unmarshal ¶
func (m *HttpConnectionManager_Tracing) XXX_Unmarshal(b []byte) error
type HttpConnectionManager_TracingValidationError ¶
type HttpConnectionManager_TracingValidationError struct {
// contains filtered or unexported fields
}
HttpConnectionManager_TracingValidationError is the validation error returned by HttpConnectionManager_Tracing.Validate if the designated constraints aren't met.
func (HttpConnectionManager_TracingValidationError) Cause ¶
func (e HttpConnectionManager_TracingValidationError) Cause() error
Cause function returns cause value.
func (HttpConnectionManager_TracingValidationError) Error ¶
func (e HttpConnectionManager_TracingValidationError) Error() string
Error satisfies the builtin error interface
func (HttpConnectionManager_TracingValidationError) ErrorName ¶ added in v0.7.0
func (e HttpConnectionManager_TracingValidationError) ErrorName() string
ErrorName returns error name.
func (HttpConnectionManager_TracingValidationError) Field ¶
func (e HttpConnectionManager_TracingValidationError) Field() string
Field function returns field value.
func (HttpConnectionManager_TracingValidationError) Key ¶
func (e HttpConnectionManager_TracingValidationError) Key() bool
Key function returns key value.
func (HttpConnectionManager_TracingValidationError) Reason ¶
func (e HttpConnectionManager_TracingValidationError) Reason() string
Reason function returns reason value.
type HttpConnectionManager_Tracing_OperationName ¶
type HttpConnectionManager_Tracing_OperationName int32
const ( // The HTTP listener is used for ingress/incoming requests. INGRESS HttpConnectionManager_Tracing_OperationName = 0 // The HTTP listener is used for egress/outgoing requests. EGRESS HttpConnectionManager_Tracing_OperationName = 1 )
func (HttpConnectionManager_Tracing_OperationName) EnumDescriptor ¶
func (HttpConnectionManager_Tracing_OperationName) EnumDescriptor() ([]byte, []int)
func (HttpConnectionManager_Tracing_OperationName) String ¶
func (x HttpConnectionManager_Tracing_OperationName) String() string
type HttpConnectionManager_UpgradeConfig ¶
type HttpConnectionManager_UpgradeConfig struct { // The case-insensitive name of this upgrade, e.g. "websocket". // For each upgrade type present in upgrade_configs, requests with // Upgrade: [upgrade_type] // will be proxied upstream. UpgradeType string `protobuf:"bytes,1,opt,name=upgrade_type,json=upgradeType,proto3" json:"upgrade_type,omitempty"` // If present, this represents the filter chain which will be created for // this type of upgrade. If no filters are present, the filter chain for // HTTP connections will be used for this upgrade type. Filters []*HttpFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` // Determines if upgrades are enabled or disabled by default. Defaults to true. // This can be overridden on a per-route basis with :ref:`cluster // <envoy_api_field_route.RouteAction.upgrade_configs>` as documented in the // :ref:`upgrade documentation <arch_overview_websocket>`. Enabled *types.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The configuration for HTTP upgrades. For each upgrade type desired, an UpgradeConfig must be added.
.. warning::
The current implementation of upgrade headers does not handle multi-valued upgrade headers. Support for multi-valued headers may be added in the future if needed.
.. warning::
The current implementation of upgrade headers does not work with HTTP/2 upstreams.
func (*HttpConnectionManager_UpgradeConfig) Descriptor ¶
func (*HttpConnectionManager_UpgradeConfig) Descriptor() ([]byte, []int)
func (*HttpConnectionManager_UpgradeConfig) GetEnabled ¶ added in v0.6.4
func (m *HttpConnectionManager_UpgradeConfig) GetEnabled() *types.BoolValue
func (*HttpConnectionManager_UpgradeConfig) GetFilters ¶
func (m *HttpConnectionManager_UpgradeConfig) GetFilters() []*HttpFilter
func (*HttpConnectionManager_UpgradeConfig) GetUpgradeType ¶
func (m *HttpConnectionManager_UpgradeConfig) GetUpgradeType() string
func (*HttpConnectionManager_UpgradeConfig) Marshal ¶
func (m *HttpConnectionManager_UpgradeConfig) Marshal() (dAtA []byte, err error)
func (*HttpConnectionManager_UpgradeConfig) MarshalTo ¶
func (m *HttpConnectionManager_UpgradeConfig) MarshalTo(dAtA []byte) (int, error)
func (*HttpConnectionManager_UpgradeConfig) ProtoMessage ¶
func (*HttpConnectionManager_UpgradeConfig) ProtoMessage()
func (*HttpConnectionManager_UpgradeConfig) Reset ¶
func (m *HttpConnectionManager_UpgradeConfig) Reset()
func (*HttpConnectionManager_UpgradeConfig) Size ¶
func (m *HttpConnectionManager_UpgradeConfig) Size() (n int)
func (*HttpConnectionManager_UpgradeConfig) String ¶
func (m *HttpConnectionManager_UpgradeConfig) String() string
func (*HttpConnectionManager_UpgradeConfig) Unmarshal ¶
func (m *HttpConnectionManager_UpgradeConfig) Unmarshal(dAtA []byte) error
func (*HttpConnectionManager_UpgradeConfig) Validate ¶
func (m *HttpConnectionManager_UpgradeConfig) Validate() error
Validate checks the field values on HttpConnectionManager_UpgradeConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpConnectionManager_UpgradeConfig) XXX_DiscardUnknown ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_DiscardUnknown()
func (*HttpConnectionManager_UpgradeConfig) XXX_Marshal ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpConnectionManager_UpgradeConfig) XXX_Merge ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_Merge(src proto.Message)
func (*HttpConnectionManager_UpgradeConfig) XXX_Size ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_Size() int
func (*HttpConnectionManager_UpgradeConfig) XXX_Unmarshal ¶
func (m *HttpConnectionManager_UpgradeConfig) XXX_Unmarshal(b []byte) error
type HttpConnectionManager_UpgradeConfigValidationError ¶
type HttpConnectionManager_UpgradeConfigValidationError struct {
// contains filtered or unexported fields
}
HttpConnectionManager_UpgradeConfigValidationError is the validation error returned by HttpConnectionManager_UpgradeConfig.Validate if the designated constraints aren't met.
func (HttpConnectionManager_UpgradeConfigValidationError) Cause ¶
func (e HttpConnectionManager_UpgradeConfigValidationError) Cause() error
Cause function returns cause value.
func (HttpConnectionManager_UpgradeConfigValidationError) Error ¶
func (e HttpConnectionManager_UpgradeConfigValidationError) Error() string
Error satisfies the builtin error interface
func (HttpConnectionManager_UpgradeConfigValidationError) ErrorName ¶ added in v0.7.0
func (e HttpConnectionManager_UpgradeConfigValidationError) ErrorName() string
ErrorName returns error name.
func (HttpConnectionManager_UpgradeConfigValidationError) Field ¶
func (e HttpConnectionManager_UpgradeConfigValidationError) Field() string
Field function returns field value.
func (HttpConnectionManager_UpgradeConfigValidationError) Key ¶
func (e HttpConnectionManager_UpgradeConfigValidationError) Key() bool
Key function returns key value.
func (HttpConnectionManager_UpgradeConfigValidationError) Reason ¶
func (e HttpConnectionManager_UpgradeConfigValidationError) Reason() string
Reason function returns reason value.
type HttpFilter ¶
type HttpFilter struct { // The name of the filter to instantiate. The name must match a supported // filter. The built-in filters are: // // [#comment:TODO(mattklein123): Auto generate the following list] // * :ref:`envoy.buffer <config_http_filters_buffer>` // * :ref:`envoy.cors <config_http_filters_cors>` // * :ref:`envoy.ext_authz <config_http_filters_ext_authz>` // * :ref:`envoy.fault <config_http_filters_fault_injection>` // * :ref:`envoy.filters.http.header_to_metadata <config_http_filters_header_to_metadata>` // * :ref:`envoy.filters.http.grpc_http1_reverse_bridge \ // <config_http_filters_grpc_http1_reverse_bridge>` // * :ref:`envoy.filters.http.jwt_authn <config_http_filters_jwt_authn>` // * :ref:`envoy.filters.http.rbac <config_http_filters_rbac>` // * :ref:`envoy.filters.http.tap <config_http_filters_tap>` // * :ref:`envoy.gzip <config_http_filters_gzip>` // * :ref:`envoy.http_dynamo_filter <config_http_filters_dynamo>` // * :ref:`envoy.grpc_http1_bridge <config_http_filters_grpc_bridge>` // * :ref:`envoy.grpc_json_transcoder <config_http_filters_grpc_json_transcoder>` // * :ref:`envoy.grpc_web <config_http_filters_grpc_web>` // * :ref:`envoy.health_check <config_http_filters_health_check>` // * :ref:`envoy.ip_tagging <config_http_filters_ip_tagging>` // * :ref:`envoy.lua <config_http_filters_lua>` // * :ref:`envoy.rate_limit <config_http_filters_rate_limit>` // * :ref:`envoy.router <config_http_filters_router>` // * :ref:`envoy.squash <config_http_filters_squash>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Filter specific configuration which depends on the filter being instantiated. See the supported // filters for further documentation. // // Types that are valid to be assigned to ConfigType: // *HttpFilter_Config // *HttpFilter_TypedConfig ConfigType isHttpFilter_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HttpFilter) Descriptor ¶
func (*HttpFilter) Descriptor() ([]byte, []int)
func (*HttpFilter) GetConfig ¶
func (m *HttpFilter) GetConfig() *types.Struct
func (*HttpFilter) GetConfigType ¶ added in v0.6.3
func (m *HttpFilter) GetConfigType() isHttpFilter_ConfigType
func (*HttpFilter) GetName ¶
func (m *HttpFilter) GetName() string
func (*HttpFilter) GetTypedConfig ¶ added in v0.6.3
func (m *HttpFilter) GetTypedConfig() *types.Any
func (*HttpFilter) Marshal ¶
func (m *HttpFilter) Marshal() (dAtA []byte, err error)
func (*HttpFilter) ProtoMessage ¶
func (*HttpFilter) ProtoMessage()
func (*HttpFilter) Reset ¶
func (m *HttpFilter) Reset()
func (*HttpFilter) Size ¶
func (m *HttpFilter) Size() (n int)
func (*HttpFilter) String ¶
func (m *HttpFilter) String() string
func (*HttpFilter) Unmarshal ¶
func (m *HttpFilter) Unmarshal(dAtA []byte) error
func (*HttpFilter) Validate ¶
func (m *HttpFilter) Validate() error
Validate checks the field values on HttpFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpFilter) XXX_DiscardUnknown ¶
func (m *HttpFilter) XXX_DiscardUnknown()
func (*HttpFilter) XXX_Marshal ¶
func (m *HttpFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpFilter) XXX_Merge ¶
func (m *HttpFilter) XXX_Merge(src proto.Message)
func (*HttpFilter) XXX_OneofFuncs ¶ added in v0.6.3
func (*HttpFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*HttpFilter) XXX_Size ¶
func (m *HttpFilter) XXX_Size() int
func (*HttpFilter) XXX_Unmarshal ¶
func (m *HttpFilter) XXX_Unmarshal(b []byte) error
type HttpFilterValidationError ¶
type HttpFilterValidationError struct {
// contains filtered or unexported fields
}
HttpFilterValidationError is the validation error returned by HttpFilter.Validate if the designated constraints aren't met.
func (HttpFilterValidationError) Cause ¶
func (e HttpFilterValidationError) Cause() error
Cause function returns cause value.
func (HttpFilterValidationError) Error ¶
func (e HttpFilterValidationError) Error() string
Error satisfies the builtin error interface
func (HttpFilterValidationError) ErrorName ¶ added in v0.7.0
func (e HttpFilterValidationError) ErrorName() string
ErrorName returns error name.
func (HttpFilterValidationError) Field ¶
func (e HttpFilterValidationError) Field() string
Field function returns field value.
func (HttpFilterValidationError) Key ¶
func (e HttpFilterValidationError) Key() bool
Key function returns key value.
func (HttpFilterValidationError) Reason ¶
func (e HttpFilterValidationError) Reason() string
Reason function returns reason value.
type HttpFilter_Config ¶ added in v0.6.3
type HttpFilter_Config struct {
Config *types.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}
func (*HttpFilter_Config) MarshalTo ¶ added in v0.6.3
func (m *HttpFilter_Config) MarshalTo(dAtA []byte) (int, error)
func (*HttpFilter_Config) Size ¶ added in v0.6.3
func (m *HttpFilter_Config) Size() (n int)
type HttpFilter_TypedConfig ¶ added in v0.6.3
type HttpFilter_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,4,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}
func (*HttpFilter_TypedConfig) MarshalTo ¶ added in v0.6.3
func (m *HttpFilter_TypedConfig) MarshalTo(dAtA []byte) (int, error)
func (*HttpFilter_TypedConfig) Size ¶ added in v0.6.3
func (m *HttpFilter_TypedConfig) Size() (n int)
type Rds ¶
type Rds struct { // Configuration source specifier for RDS. ConfigSource core.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source"` // The name of the route configuration. This name will be passed to the RDS // API. This allows an Envoy configuration with multiple HTTP listeners (and // associated HTTP connection manager filters) to use different route // configurations. RouteConfigName string `protobuf:"bytes,2,opt,name=route_config_name,json=routeConfigName,proto3" json:"route_config_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Rds) Descriptor ¶
func (*Rds) GetConfigSource ¶
func (m *Rds) GetConfigSource() core.ConfigSource
func (*Rds) GetRouteConfigName ¶
func (*Rds) ProtoMessage ¶
func (*Rds) ProtoMessage()
func (*Rds) Validate ¶
Validate checks the field values on Rds with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Rds) XXX_DiscardUnknown ¶
func (m *Rds) XXX_DiscardUnknown()
func (*Rds) XXX_Unmarshal ¶
type RdsValidationError ¶
type RdsValidationError struct {
// contains filtered or unexported fields
}
RdsValidationError is the validation error returned by Rds.Validate if the designated constraints aren't met.
func (RdsValidationError) Cause ¶
func (e RdsValidationError) Cause() error
Cause function returns cause value.
func (RdsValidationError) Error ¶
func (e RdsValidationError) Error() string
Error satisfies the builtin error interface
func (RdsValidationError) ErrorName ¶ added in v0.7.0
func (e RdsValidationError) ErrorName() string
ErrorName returns error name.
func (RdsValidationError) Field ¶
func (e RdsValidationError) Field() string
Field function returns field value.
func (RdsValidationError) Key ¶
func (e RdsValidationError) Key() bool
Key function returns key value.
func (RdsValidationError) Reason ¶
func (e RdsValidationError) Reason() string
Reason function returns reason value.