v2alpha1

package
v1.23.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FilterConfig_Protocol_name = map[int32]string{
		0: "HTTP10",
		1: "HTTP11",
		2: "HTTP2",
	}
	FilterConfig_Protocol_value = map[string]int32{
		"HTTP10": 0,
		"HTTP11": 1,
		"HTTP2":  2,
	}
)

Enum value maps for FilterConfig_Protocol.

View Source
var File_envoy_config_filter_http_alpn_v2alpha1_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FilterConfig

type FilterConfig struct {

	// Map from upstream protocol to list of ALPN
	AlpnOverride []*FilterConfig_AlpnOverride `protobuf:"bytes,1,rep,name=alpn_override,json=alpnOverride,proto3" json:"alpn_override,omitempty"`
	// contains filtered or unexported fields
}

FilterConfig is the config for Istio-specific filter.

func (*FilterConfig) Descriptor deprecated

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

Deprecated: Use FilterConfig.ProtoReflect.Descriptor instead.

func (*FilterConfig) GetAlpnOverride

func (x *FilterConfig) GetAlpnOverride() []*FilterConfig_AlpnOverride

func (*FilterConfig) ProtoMessage

func (*FilterConfig) ProtoMessage()

func (*FilterConfig) ProtoReflect

func (x *FilterConfig) ProtoReflect() protoreflect.Message

func (*FilterConfig) Reset

func (x *FilterConfig) Reset()

func (*FilterConfig) String

func (x *FilterConfig) String() string

type FilterConfig_AlpnOverride

type FilterConfig_AlpnOverride struct {

	// Upstream protocol
	UpstreamProtocol FilterConfig_Protocol `` /* 182-byte string literal not displayed */
	// A list of ALPN that will override the ALPN for upstream TLS connections.
	AlpnOverride []string `protobuf:"bytes,2,rep,name=alpn_override,json=alpnOverride,proto3" json:"alpn_override,omitempty"`
	// contains filtered or unexported fields
}

func (*FilterConfig_AlpnOverride) Descriptor deprecated

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

Deprecated: Use FilterConfig_AlpnOverride.ProtoReflect.Descriptor instead.

func (*FilterConfig_AlpnOverride) GetAlpnOverride

func (x *FilterConfig_AlpnOverride) GetAlpnOverride() []string

func (*FilterConfig_AlpnOverride) GetUpstreamProtocol

func (x *FilterConfig_AlpnOverride) GetUpstreamProtocol() FilterConfig_Protocol

func (*FilterConfig_AlpnOverride) ProtoMessage

func (*FilterConfig_AlpnOverride) ProtoMessage()

func (*FilterConfig_AlpnOverride) ProtoReflect

func (*FilterConfig_AlpnOverride) Reset

func (x *FilterConfig_AlpnOverride) Reset()

func (*FilterConfig_AlpnOverride) String

func (x *FilterConfig_AlpnOverride) String() string

type FilterConfig_Protocol

type FilterConfig_Protocol int32

Upstream protocols

const (
	FilterConfig_HTTP10 FilterConfig_Protocol = 0
	FilterConfig_HTTP11 FilterConfig_Protocol = 1
	FilterConfig_HTTP2  FilterConfig_Protocol = 2
)

func (FilterConfig_Protocol) Descriptor

func (FilterConfig_Protocol) Enum

func (FilterConfig_Protocol) EnumDescriptor deprecated

func (FilterConfig_Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use FilterConfig_Protocol.Descriptor instead.

func (FilterConfig_Protocol) Number

func (FilterConfig_Protocol) String

func (x FilterConfig_Protocol) String() string

func (FilterConfig_Protocol) Type

Jump to

Keyboard shortcuts

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