envoy_api_v2_listener

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 19 Imported by: 186

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FilterChainMatch_ConnectionSourceType_name = map[int32]string{
	0: "ANY",
	1: "LOCAL",
	2: "EXTERNAL",
}
View Source
var FilterChainMatch_ConnectionSourceType_value = map[string]int32{
	"ANY":      0,
	"LOCAL":    1,
	"EXTERNAL": 2,
}

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to ConfigType:
	//	*Filter_Config
	//	*Filter_TypedConfig
	ConfigType           isFilter_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*Filter) Descriptor

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

func (*Filter) GetConfig

func (m *Filter) GetConfig() *_struct.Struct

func (*Filter) GetConfigType added in v0.6.3

func (m *Filter) GetConfigType() isFilter_ConfigType

func (*Filter) GetName

func (m *Filter) GetName() string

func (*Filter) GetTypedConfig added in v0.6.3

func (m *Filter) GetTypedConfig() *any.Any

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) Reset

func (m *Filter) Reset()

func (*Filter) String

func (m *Filter) String() string

func (*Filter) Validate

func (m *Filter) Validate() error

Validate checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Filter) XXX_DiscardUnknown

func (m *Filter) XXX_DiscardUnknown()

func (*Filter) XXX_Marshal

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

func (*Filter) XXX_Merge

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

func (*Filter) XXX_OneofWrappers added in v0.9.0

func (*Filter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Filter) XXX_Size

func (m *Filter) XXX_Size() int

func (*Filter) XXX_Unmarshal

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

type FilterChain

type FilterChain struct {
	FilterChainMatch     *FilterChainMatch          `protobuf:"bytes,1,opt,name=filter_chain_match,json=filterChainMatch,proto3" json:"filter_chain_match,omitempty"`
	TlsContext           *auth.DownstreamTlsContext `protobuf:"bytes,2,opt,name=tls_context,json=tlsContext,proto3" json:"tls_context,omitempty"`
	Filters              []*Filter                  `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	UseProxyProto        *wrappers.BoolValue        `protobuf:"bytes,4,opt,name=use_proxy_proto,json=useProxyProto,proto3" json:"use_proxy_proto,omitempty"`
	Metadata             *core.Metadata             `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	TransportSocket      *core.TransportSocket      `protobuf:"bytes,6,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
	Name                 string                     `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*FilterChain) Descriptor

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

func (*FilterChain) GetFilterChainMatch

func (m *FilterChain) GetFilterChainMatch() *FilterChainMatch

func (*FilterChain) GetFilters

func (m *FilterChain) GetFilters() []*Filter

func (*FilterChain) GetMetadata

func (m *FilterChain) GetMetadata() *core.Metadata

func (*FilterChain) GetName added in v0.9.0

func (m *FilterChain) GetName() string

func (*FilterChain) GetTlsContext

func (m *FilterChain) GetTlsContext() *auth.DownstreamTlsContext

func (*FilterChain) GetTransportSocket

func (m *FilterChain) GetTransportSocket() *core.TransportSocket

func (*FilterChain) GetUseProxyProto

func (m *FilterChain) GetUseProxyProto() *wrappers.BoolValue

func (*FilterChain) ProtoMessage

func (*FilterChain) ProtoMessage()

func (*FilterChain) Reset

func (m *FilterChain) Reset()

func (*FilterChain) String

func (m *FilterChain) String() string

func (*FilterChain) Validate

func (m *FilterChain) Validate() error

Validate checks the field values on FilterChain with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FilterChain) XXX_DiscardUnknown

func (m *FilterChain) XXX_DiscardUnknown()

func (*FilterChain) XXX_Marshal

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

func (*FilterChain) XXX_Merge

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

func (*FilterChain) XXX_Size

func (m *FilterChain) XXX_Size() int

func (*FilterChain) XXX_Unmarshal

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

type FilterChainMatch

type FilterChainMatch struct {
	DestinationPort      *wrappers.UInt32Value                 `protobuf:"bytes,8,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
	PrefixRanges         []*core.CidrRange                     `protobuf:"bytes,3,rep,name=prefix_ranges,json=prefixRanges,proto3" json:"prefix_ranges,omitempty"`
	AddressSuffix        string                                `protobuf:"bytes,4,opt,name=address_suffix,json=addressSuffix,proto3" json:"address_suffix,omitempty"`
	SuffixLen            *wrappers.UInt32Value                 `protobuf:"bytes,5,opt,name=suffix_len,json=suffixLen,proto3" json:"suffix_len,omitempty"`
	SourceType           FilterChainMatch_ConnectionSourceType `` /* 158-byte string literal not displayed */
	SourcePrefixRanges   []*core.CidrRange                     `protobuf:"bytes,6,rep,name=source_prefix_ranges,json=sourcePrefixRanges,proto3" json:"source_prefix_ranges,omitempty"`
	SourcePorts          []uint32                              `protobuf:"varint,7,rep,packed,name=source_ports,json=sourcePorts,proto3" json:"source_ports,omitempty"`
	ServerNames          []string                              `protobuf:"bytes,11,rep,name=server_names,json=serverNames,proto3" json:"server_names,omitempty"`
	TransportProtocol    string                                `protobuf:"bytes,9,opt,name=transport_protocol,json=transportProtocol,proto3" json:"transport_protocol,omitempty"`
	ApplicationProtocols []string                              `protobuf:"bytes,10,rep,name=application_protocols,json=applicationProtocols,proto3" json:"application_protocols,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*FilterChainMatch) Descriptor

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

func (*FilterChainMatch) GetAddressSuffix

func (m *FilterChainMatch) GetAddressSuffix() string

func (*FilterChainMatch) GetApplicationProtocols

func (m *FilterChainMatch) GetApplicationProtocols() []string

func (*FilterChainMatch) GetDestinationPort

func (m *FilterChainMatch) GetDestinationPort() *wrappers.UInt32Value

func (*FilterChainMatch) GetPrefixRanges

func (m *FilterChainMatch) GetPrefixRanges() []*core.CidrRange

func (*FilterChainMatch) GetServerNames

func (m *FilterChainMatch) GetServerNames() []string

func (*FilterChainMatch) GetSourcePorts

func (m *FilterChainMatch) GetSourcePorts() []uint32

func (*FilterChainMatch) GetSourcePrefixRanges

func (m *FilterChainMatch) GetSourcePrefixRanges() []*core.CidrRange

func (*FilterChainMatch) GetSourceType added in v0.6.4

func (*FilterChainMatch) GetSuffixLen

func (m *FilterChainMatch) GetSuffixLen() *wrappers.UInt32Value

func (*FilterChainMatch) GetTransportProtocol

func (m *FilterChainMatch) GetTransportProtocol() string

func (*FilterChainMatch) ProtoMessage

func (*FilterChainMatch) ProtoMessage()

func (*FilterChainMatch) Reset

func (m *FilterChainMatch) Reset()

func (*FilterChainMatch) String

func (m *FilterChainMatch) String() string

func (*FilterChainMatch) Validate

func (m *FilterChainMatch) Validate() error

Validate checks the field values on FilterChainMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FilterChainMatch) XXX_DiscardUnknown

func (m *FilterChainMatch) XXX_DiscardUnknown()

func (*FilterChainMatch) XXX_Marshal

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

func (*FilterChainMatch) XXX_Merge

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

func (*FilterChainMatch) XXX_Size

func (m *FilterChainMatch) XXX_Size() int

func (*FilterChainMatch) XXX_Unmarshal

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

type FilterChainMatchValidationError

type FilterChainMatchValidationError struct {
	// contains filtered or unexported fields
}

FilterChainMatchValidationError is the validation error returned by FilterChainMatch.Validate if the designated constraints aren't met.

func (FilterChainMatchValidationError) Cause

Cause function returns cause value.

func (FilterChainMatchValidationError) Error

Error satisfies the builtin error interface

func (FilterChainMatchValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (FilterChainMatchValidationError) Field

Field function returns field value.

func (FilterChainMatchValidationError) Key

Key function returns key value.

func (FilterChainMatchValidationError) Reason

Reason function returns reason value.

type FilterChainMatch_ConnectionSourceType added in v0.6.4

type FilterChainMatch_ConnectionSourceType int32
const (
	FilterChainMatch_ANY      FilterChainMatch_ConnectionSourceType = 0
	FilterChainMatch_LOCAL    FilterChainMatch_ConnectionSourceType = 1
	FilterChainMatch_EXTERNAL FilterChainMatch_ConnectionSourceType = 2
)

func (FilterChainMatch_ConnectionSourceType) EnumDescriptor added in v0.6.4

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

func (FilterChainMatch_ConnectionSourceType) String added in v0.6.4

type FilterChainValidationError

type FilterChainValidationError struct {
	// contains filtered or unexported fields
}

FilterChainValidationError is the validation error returned by FilterChain.Validate if the designated constraints aren't met.

func (FilterChainValidationError) Cause

Cause function returns cause value.

func (FilterChainValidationError) Error

Error satisfies the builtin error interface

func (FilterChainValidationError) ErrorName added in v0.7.0

func (e FilterChainValidationError) ErrorName() string

ErrorName returns error name.

func (FilterChainValidationError) Field

Field function returns field value.

func (FilterChainValidationError) Key

Key function returns key value.

func (FilterChainValidationError) Reason

Reason function returns reason value.

type FilterValidationError

type FilterValidationError struct {
	// contains filtered or unexported fields
}

FilterValidationError is the validation error returned by Filter.Validate if the designated constraints aren't met.

func (FilterValidationError) Cause

func (e FilterValidationError) Cause() error

Cause function returns cause value.

func (FilterValidationError) Error

func (e FilterValidationError) Error() string

Error satisfies the builtin error interface

func (FilterValidationError) ErrorName added in v0.7.0

func (e FilterValidationError) ErrorName() string

ErrorName returns error name.

func (FilterValidationError) Field

func (e FilterValidationError) Field() string

Field function returns field value.

func (FilterValidationError) Key

func (e FilterValidationError) Key() bool

Key function returns key value.

func (FilterValidationError) Reason

func (e FilterValidationError) Reason() string

Reason function returns reason value.

type Filter_Config added in v0.6.3

type Filter_Config struct {
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type Filter_TypedConfig added in v0.6.3

type Filter_TypedConfig struct {
	TypedConfig *any.Any `protobuf:"bytes,4,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type ListenerFilter

type ListenerFilter struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are valid to be assigned to ConfigType:
	//	*ListenerFilter_Config
	//	*ListenerFilter_TypedConfig
	ConfigType           isListenerFilter_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ListenerFilter) Descriptor

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

func (*ListenerFilter) GetConfig

func (m *ListenerFilter) GetConfig() *_struct.Struct

func (*ListenerFilter) GetConfigType added in v0.6.3

func (m *ListenerFilter) GetConfigType() isListenerFilter_ConfigType

func (*ListenerFilter) GetName

func (m *ListenerFilter) GetName() string

func (*ListenerFilter) GetTypedConfig added in v0.6.3

func (m *ListenerFilter) GetTypedConfig() *any.Any

func (*ListenerFilter) ProtoMessage

func (*ListenerFilter) ProtoMessage()

func (*ListenerFilter) Reset

func (m *ListenerFilter) Reset()

func (*ListenerFilter) String

func (m *ListenerFilter) String() string

func (*ListenerFilter) Validate

func (m *ListenerFilter) Validate() error

Validate checks the field values on ListenerFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListenerFilter) XXX_DiscardUnknown

func (m *ListenerFilter) XXX_DiscardUnknown()

func (*ListenerFilter) XXX_Marshal

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

func (*ListenerFilter) XXX_Merge

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

func (*ListenerFilter) XXX_OneofWrappers added in v0.9.0

func (*ListenerFilter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ListenerFilter) XXX_Size

func (m *ListenerFilter) XXX_Size() int

func (*ListenerFilter) XXX_Unmarshal

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

type ListenerFilterValidationError

type ListenerFilterValidationError struct {
	// contains filtered or unexported fields
}

ListenerFilterValidationError is the validation error returned by ListenerFilter.Validate if the designated constraints aren't met.

func (ListenerFilterValidationError) Cause

Cause function returns cause value.

func (ListenerFilterValidationError) Error

Error satisfies the builtin error interface

func (ListenerFilterValidationError) ErrorName added in v0.7.0

func (e ListenerFilterValidationError) ErrorName() string

ErrorName returns error name.

func (ListenerFilterValidationError) Field

Field function returns field value.

func (ListenerFilterValidationError) Key

Key function returns key value.

func (ListenerFilterValidationError) Reason

Reason function returns reason value.

type ListenerFilter_Config added in v0.6.3

type ListenerFilter_Config struct {
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type ListenerFilter_TypedConfig added in v0.6.3

type ListenerFilter_TypedConfig struct {
	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type UdpListenerConfig added in v0.9.0

type UdpListenerConfig struct {
	UdpListenerName string `protobuf:"bytes,1,opt,name=udp_listener_name,json=udpListenerName,proto3" json:"udp_listener_name,omitempty"`
	// Types that are valid to be assigned to ConfigType:
	//	*UdpListenerConfig_Config
	//	*UdpListenerConfig_TypedConfig
	ConfigType           isUdpListenerConfig_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*UdpListenerConfig) Descriptor added in v0.9.0

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

func (*UdpListenerConfig) GetConfig added in v0.9.0

func (m *UdpListenerConfig) GetConfig() *_struct.Struct

func (*UdpListenerConfig) GetConfigType added in v0.9.0

func (m *UdpListenerConfig) GetConfigType() isUdpListenerConfig_ConfigType

func (*UdpListenerConfig) GetTypedConfig added in v0.9.0

func (m *UdpListenerConfig) GetTypedConfig() *any.Any

func (*UdpListenerConfig) GetUdpListenerName added in v0.9.0

func (m *UdpListenerConfig) GetUdpListenerName() string

func (*UdpListenerConfig) ProtoMessage added in v0.9.0

func (*UdpListenerConfig) ProtoMessage()

func (*UdpListenerConfig) Reset added in v0.9.0

func (m *UdpListenerConfig) Reset()

func (*UdpListenerConfig) String added in v0.9.0

func (m *UdpListenerConfig) String() string

func (*UdpListenerConfig) Validate added in v0.9.0

func (m *UdpListenerConfig) Validate() error

Validate checks the field values on UdpListenerConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UdpListenerConfig) XXX_DiscardUnknown added in v0.9.0

func (m *UdpListenerConfig) XXX_DiscardUnknown()

func (*UdpListenerConfig) XXX_Marshal added in v0.9.0

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

func (*UdpListenerConfig) XXX_Merge added in v0.9.0

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

func (*UdpListenerConfig) XXX_OneofWrappers added in v0.9.0

func (*UdpListenerConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UdpListenerConfig) XXX_Size added in v0.9.0

func (m *UdpListenerConfig) XXX_Size() int

func (*UdpListenerConfig) XXX_Unmarshal added in v0.9.0

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

type UdpListenerConfigValidationError added in v0.9.0

type UdpListenerConfigValidationError struct {
	// contains filtered or unexported fields
}

UdpListenerConfigValidationError is the validation error returned by UdpListenerConfig.Validate if the designated constraints aren't met.

func (UdpListenerConfigValidationError) Cause added in v0.9.0

Cause function returns cause value.

func (UdpListenerConfigValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (UdpListenerConfigValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (UdpListenerConfigValidationError) Field added in v0.9.0

Field function returns field value.

func (UdpListenerConfigValidationError) Key added in v0.9.0

Key function returns key value.

func (UdpListenerConfigValidationError) Reason added in v0.9.0

Reason function returns reason value.

type UdpListenerConfig_Config added in v0.9.0

type UdpListenerConfig_Config struct {
	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type UdpListenerConfig_TypedConfig added in v0.9.0

type UdpListenerConfig_TypedConfig struct {
	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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