hcm

package
v0.20.8 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpConnectionManagerSettings

type HttpConnectionManagerSettings struct {
	SkipXffAppend       bool               `protobuf:"varint,1,opt,name=skip_xff_append,json=skipXffAppend,proto3" json:"skip_xff_append,omitempty"`
	Via                 string             `protobuf:"bytes,2,opt,name=via,proto3" json:"via,omitempty"`
	XffNumTrustedHops   uint32             `protobuf:"varint,3,opt,name=xff_num_trusted_hops,json=xffNumTrustedHops,proto3" json:"xff_num_trusted_hops,omitempty"`
	UseRemoteAddress    *types.BoolValue   `protobuf:"bytes,4,opt,name=use_remote_address,json=useRemoteAddress,proto3" json:"use_remote_address,omitempty"`
	GenerateRequestId   *types.BoolValue   `protobuf:"bytes,5,opt,name=generate_request_id,json=generateRequestId,proto3" json:"generate_request_id,omitempty"`
	Proxy_100Continue   bool               `protobuf:"varint,6,opt,name=proxy_100_continue,json=proxy100Continue,proto3" json:"proxy_100_continue,omitempty"`
	StreamIdleTimeout   *time.Duration     `` /* 126-byte string literal not displayed */
	IdleTimeout         *time.Duration     `protobuf:"bytes,8,opt,name=idle_timeout,json=idleTimeout,proto3,stdduration" json:"idle_timeout,omitempty"`
	MaxRequestHeadersKb *types.UInt32Value `protobuf:"bytes,9,opt,name=max_request_headers_kb,json=maxRequestHeadersKb,proto3" json:"max_request_headers_kb,omitempty"`
	RequestTimeout      *time.Duration     `protobuf:"bytes,10,opt,name=request_timeout,json=requestTimeout,proto3,stdduration" json:"request_timeout,omitempty"`
	DrainTimeout        *time.Duration     `protobuf:"bytes,12,opt,name=drain_timeout,json=drainTimeout,proto3,stdduration" json:"drain_timeout,omitempty"`
	DelayedCloseTimeout *time.Duration     `` /* 133-byte string literal not displayed */
	ServerName          string             `protobuf:"bytes,14,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	// For explanation of these settings see: https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/core/protocol.proto#envoy-api-msg-core-http1protocoloptions
	AcceptHttp_10         bool                             `protobuf:"varint,15,opt,name=accept_http_10,json=acceptHttp10,proto3" json:"accept_http_10,omitempty"`
	DefaultHostForHttp_10 string                           `` /* 128-byte string literal not displayed */
	Tracing               *tracing.ListenerTracingSettings `protobuf:"bytes,17,opt,name=tracing,proto3" json:"tracing,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}                         `json:"-"`
	XXX_unrecognized      []byte                           `json:"-"`
	XXX_sizecache         int32                            `json:"-"`
}

Contains various settings for Envoy's http connection manager. See here for more information: https://www.envoyproxy.io/docs/envoy/v1.9.0/configuration/http_conn_man/http_conn_man

func (*HttpConnectionManagerSettings) Descriptor

func (*HttpConnectionManagerSettings) Descriptor() ([]byte, []int)

func (*HttpConnectionManagerSettings) Equal

func (this *HttpConnectionManagerSettings) Equal(that interface{}) bool

func (*HttpConnectionManagerSettings) GetAcceptHttp_10 added in v0.13.7

func (m *HttpConnectionManagerSettings) GetAcceptHttp_10() bool

func (*HttpConnectionManagerSettings) GetDefaultHostForHttp_10 added in v0.13.7

func (m *HttpConnectionManagerSettings) GetDefaultHostForHttp_10() string

func (*HttpConnectionManagerSettings) GetDelayedCloseTimeout

func (m *HttpConnectionManagerSettings) GetDelayedCloseTimeout() *time.Duration

func (*HttpConnectionManagerSettings) GetDrainTimeout

func (m *HttpConnectionManagerSettings) GetDrainTimeout() *time.Duration

func (*HttpConnectionManagerSettings) GetGenerateRequestId

func (m *HttpConnectionManagerSettings) GetGenerateRequestId() *types.BoolValue

func (*HttpConnectionManagerSettings) GetIdleTimeout

func (m *HttpConnectionManagerSettings) GetIdleTimeout() *time.Duration

func (*HttpConnectionManagerSettings) GetMaxRequestHeadersKb

func (m *HttpConnectionManagerSettings) GetMaxRequestHeadersKb() *types.UInt32Value

func (*HttpConnectionManagerSettings) GetProxy_100Continue

func (m *HttpConnectionManagerSettings) GetProxy_100Continue() bool

func (*HttpConnectionManagerSettings) GetRequestTimeout

func (m *HttpConnectionManagerSettings) GetRequestTimeout() *time.Duration

func (*HttpConnectionManagerSettings) GetServerName

func (m *HttpConnectionManagerSettings) GetServerName() string

func (*HttpConnectionManagerSettings) GetSkipXffAppend

func (m *HttpConnectionManagerSettings) GetSkipXffAppend() bool

func (*HttpConnectionManagerSettings) GetStreamIdleTimeout

func (m *HttpConnectionManagerSettings) GetStreamIdleTimeout() *time.Duration

func (*HttpConnectionManagerSettings) GetTracing added in v0.18.0

func (*HttpConnectionManagerSettings) GetUseRemoteAddress

func (m *HttpConnectionManagerSettings) GetUseRemoteAddress() *types.BoolValue

func (*HttpConnectionManagerSettings) GetVia

func (*HttpConnectionManagerSettings) GetXffNumTrustedHops

func (m *HttpConnectionManagerSettings) GetXffNumTrustedHops() uint32

func (*HttpConnectionManagerSettings) ProtoMessage

func (*HttpConnectionManagerSettings) ProtoMessage()

func (*HttpConnectionManagerSettings) Reset

func (m *HttpConnectionManagerSettings) Reset()

func (*HttpConnectionManagerSettings) String

func (*HttpConnectionManagerSettings) XXX_DiscardUnknown

func (m *HttpConnectionManagerSettings) XXX_DiscardUnknown()

func (*HttpConnectionManagerSettings) XXX_Marshal

func (m *HttpConnectionManagerSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpConnectionManagerSettings) XXX_Merge

func (m *HttpConnectionManagerSettings) XXX_Merge(src proto.Message)

func (*HttpConnectionManagerSettings) XXX_Size

func (m *HttpConnectionManagerSettings) XXX_Size() int

func (*HttpConnectionManagerSettings) XXX_Unmarshal

func (m *HttpConnectionManagerSettings) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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