hcm

package
v1.5.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HttpConnectionManagerSettings_ForwardClientCertDetails_name = map[int32]string{
	0: "SANITIZE",
	1: "FORWARD_ONLY",
	2: "APPEND_FORWARD",
	3: "SANITIZE_SET",
	4: "ALWAYS_FORWARD_ONLY",
}
View Source
var HttpConnectionManagerSettings_ForwardClientCertDetails_value = map[string]int32{
	"SANITIZE":            0,
	"FORWARD_ONLY":        1,
	"APPEND_FORWARD":      2,
	"SANITIZE_SET":        3,
	"ALWAYS_FORWARD_ONLY": 4,
}

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 */
	ProperCaseHeaderKeyFormat   bool                                                       `` /* 144-byte string literal not displayed */
	Tracing                     *tracing.ListenerTracingSettings                           `protobuf:"bytes,17,opt,name=tracing,proto3" json:"tracing,omitempty"`
	ForwardClientCertDetails    HttpConnectionManagerSettings_ForwardClientCertDetails     `` /* 224-byte string literal not displayed */
	SetCurrentClientCertDetails *HttpConnectionManagerSettings_SetCurrentClientCertDetails `` /* 149-byte string literal not displayed */
	PreserveExternalRequestId   bool                                                       `` /* 142-byte string literal not displayed */
	// HttpConnectionManager configuration for protocol upgrade requests.
	// Note: WebSocket upgrades are enabled by default on the HTTP Connection Manager and must be explicitly disabled.
	Upgrades             []*protocol_upgrade.ProtocolUpgradeConfig `protobuf:"bytes,21,rep,name=upgrades,proto3" json:"upgrades,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

func (m *HttpConnectionManagerSettings) GetAcceptHttp_10() bool

func (*HttpConnectionManagerSettings) GetDefaultHostForHttp_10

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) GetForwardClientCertDetails

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) GetPreserveExternalRequestId added in v1.2.8

func (m *HttpConnectionManagerSettings) GetPreserveExternalRequestId() bool

func (*HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat added in v1.3.28

func (m *HttpConnectionManagerSettings) GetProperCaseHeaderKeyFormat() bool

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) GetSetCurrentClientCertDetails

func (*HttpConnectionManagerSettings) GetSkipXffAppend

func (m *HttpConnectionManagerSettings) GetSkipXffAppend() bool

func (*HttpConnectionManagerSettings) GetStreamIdleTimeout

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

func (*HttpConnectionManagerSettings) GetTracing

func (*HttpConnectionManagerSettings) GetUpgrades added in v1.2.10

func (*HttpConnectionManagerSettings) GetUseRemoteAddress

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

func (*HttpConnectionManagerSettings) GetVia

func (*HttpConnectionManagerSettings) GetXffNumTrustedHops

func (m *HttpConnectionManagerSettings) GetXffNumTrustedHops() uint32

func (*HttpConnectionManagerSettings) Hash added in v1.2.13

Hash function

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

type HttpConnectionManagerSettings_ForwardClientCertDetails

type HttpConnectionManagerSettings_ForwardClientCertDetails int32
const (
	HttpConnectionManagerSettings_SANITIZE            HttpConnectionManagerSettings_ForwardClientCertDetails = 0
	HttpConnectionManagerSettings_FORWARD_ONLY        HttpConnectionManagerSettings_ForwardClientCertDetails = 1
	HttpConnectionManagerSettings_APPEND_FORWARD      HttpConnectionManagerSettings_ForwardClientCertDetails = 2
	HttpConnectionManagerSettings_SANITIZE_SET        HttpConnectionManagerSettings_ForwardClientCertDetails = 3
	HttpConnectionManagerSettings_ALWAYS_FORWARD_ONLY HttpConnectionManagerSettings_ForwardClientCertDetails = 4
)

func (HttpConnectionManagerSettings_ForwardClientCertDetails) EnumDescriptor

func (HttpConnectionManagerSettings_ForwardClientCertDetails) String

type HttpConnectionManagerSettings_SetCurrentClientCertDetails

type HttpConnectionManagerSettings_SetCurrentClientCertDetails struct {
	Subject              *types.BoolValue `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Cert                 bool             `protobuf:"varint,2,opt,name=cert,proto3" json:"cert,omitempty"`
	Chain                bool             `protobuf:"varint,3,opt,name=chain,proto3" json:"chain,omitempty"`
	Dns                  bool             `protobuf:"varint,4,opt,name=dns,proto3" json:"dns,omitempty"`
	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 (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Descriptor

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Equal

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetCert

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetChain

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetDns

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetSubject

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) GetUri

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Hash added in v1.2.13

Hash function

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) ProtoMessage

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) Reset

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) String

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) XXX_DiscardUnknown

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) XXX_Marshal

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

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) XXX_Merge

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) XXX_Size

func (*HttpConnectionManagerSettings_SetCurrentClientCertDetails) XXX_Unmarshal

Jump to

Keyboard shortcuts

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