listenerv1

package
v0.0.0-...-8d5b58c Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for FilterChainMatch_ConnectionSourceType.

View Source
var File_listener_v1_listener_components_proto protoreflect.FileDescriptor
View Source
var File_listener_v1_listener_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdditionalAddress

type AdditionalAddress struct {
	Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AdditionalAddress) Descriptor deprecated

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

Deprecated: Use AdditionalAddress.ProtoReflect.Descriptor instead.

func (*AdditionalAddress) GetAddress

func (x *AdditionalAddress) GetAddress() *v1.Address

func (*AdditionalAddress) ProtoMessage

func (*AdditionalAddress) ProtoMessage()

func (*AdditionalAddress) ProtoReflect

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

func (*AdditionalAddress) Reset

func (x *AdditionalAddress) Reset()

func (*AdditionalAddress) String

func (x *AdditionalAddress) String() string

type ApiListener

type ApiListener struct {
	ApiListener *anypb.Any `protobuf:"bytes,1,opt,name=api_listener,json=apiListener,proto3" json:"api_listener,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiListener) Descriptor deprecated

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

Deprecated: Use ApiListener.ProtoReflect.Descriptor instead.

func (*ApiListener) GetApiListener

func (x *ApiListener) GetApiListener() *anypb.Any

func (*ApiListener) ProtoMessage

func (*ApiListener) ProtoMessage()

func (*ApiListener) ProtoReflect

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

func (*ApiListener) Reset

func (x *ApiListener) Reset()

func (*ApiListener) String

func (x *ApiListener) String() string

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_TypedConfig
	ConfigType isFilter_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetConfigType

func (x *Filter) GetConfigType() isFilter_ConfigType

func (*Filter) GetName

func (x *Filter) GetName() string

func (*Filter) GetTypedConfig

func (x *Filter) GetTypedConfig() *anypb.Any

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type FilterChain

type FilterChain struct {
	Name             string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	FilterChainMatch *FilterChainMatch   `protobuf:"bytes,2,opt,name=filter_chain_match,json=filterChainMatch,proto3" json:"filter_chain_match,omitempty"`
	Filters          []*Filter           `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	TransportSocket  *v1.TransportSocket `protobuf:"bytes,6,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 10]

func (*FilterChain) Descriptor deprecated

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

Deprecated: Use FilterChain.ProtoReflect.Descriptor instead.

func (*FilterChain) GetFilterChainMatch

func (x *FilterChain) GetFilterChainMatch() *FilterChainMatch

func (*FilterChain) GetFilters

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

func (*FilterChain) GetName

func (x *FilterChain) GetName() string

func (*FilterChain) GetTransportSocket

func (x *FilterChain) GetTransportSocket() *v1.TransportSocket

func (*FilterChain) ProtoMessage

func (*FilterChain) ProtoMessage()

func (*FilterChain) ProtoReflect

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

func (*FilterChain) Reset

func (x *FilterChain) Reset()

func (*FilterChain) String

func (x *FilterChain) String() string

type FilterChainMatch

type FilterChainMatch struct {
	DestinationPort          *wrapperspb.UInt32Value               `protobuf:"bytes,8,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
	PrefixRanges             []*v1.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                *wrapperspb.UInt32Value               `protobuf:"bytes,5,opt,name=suffix_len,json=suffixLen,proto3" json:"suffix_len,omitempty"`
	DirectSourcePrefixRanges []*v1.CidrRange                       `` /* 138-byte string literal not displayed */
	SourceType               FilterChainMatch_ConnectionSourceType `` /* 148-byte string literal not displayed */
	SourcePrefixRanges       []*v1.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"`
	// contains filtered or unexported fields
}

func (*FilterChainMatch) Descriptor deprecated

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

Deprecated: Use FilterChainMatch.ProtoReflect.Descriptor instead.

func (*FilterChainMatch) GetAddressSuffix

func (x *FilterChainMatch) GetAddressSuffix() string

func (*FilterChainMatch) GetApplicationProtocols

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

func (*FilterChainMatch) GetDestinationPort

func (x *FilterChainMatch) GetDestinationPort() *wrapperspb.UInt32Value

func (*FilterChainMatch) GetDirectSourcePrefixRanges

func (x *FilterChainMatch) GetDirectSourcePrefixRanges() []*v1.CidrRange

func (*FilterChainMatch) GetPrefixRanges

func (x *FilterChainMatch) GetPrefixRanges() []*v1.CidrRange

func (*FilterChainMatch) GetServerNames

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

func (*FilterChainMatch) GetSourcePorts

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

func (*FilterChainMatch) GetSourcePrefixRanges

func (x *FilterChainMatch) GetSourcePrefixRanges() []*v1.CidrRange

func (*FilterChainMatch) GetSourceType

func (*FilterChainMatch) GetSuffixLen

func (x *FilterChainMatch) GetSuffixLen() *wrapperspb.UInt32Value

func (*FilterChainMatch) GetTransportProtocol

func (x *FilterChainMatch) GetTransportProtocol() string

func (*FilterChainMatch) ProtoMessage

func (*FilterChainMatch) ProtoMessage()

func (*FilterChainMatch) ProtoReflect

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

func (*FilterChainMatch) Reset

func (x *FilterChainMatch) Reset()

func (*FilterChainMatch) String

func (x *FilterChainMatch) String() string

type FilterChainMatch_ConnectionSourceType

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

func (FilterChainMatch_ConnectionSourceType) Descriptor

func (FilterChainMatch_ConnectionSourceType) Enum

func (FilterChainMatch_ConnectionSourceType) EnumDescriptor deprecated

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

Deprecated: Use FilterChainMatch_ConnectionSourceType.Descriptor instead.

func (FilterChainMatch_ConnectionSourceType) Number

func (FilterChainMatch_ConnectionSourceType) String

func (FilterChainMatch_ConnectionSourceType) Type

type Filter_TypedConfig

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

type Listener

type Listener struct {
	Name                string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address             *v1.Address           `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	AdditionalAddresses []*AdditionalAddress  `protobuf:"bytes,33,rep,name=additional_addresses,json=additionalAddresses,proto3" json:"additional_addresses,omitempty"`
	FilterChains        []*FilterChain        `protobuf:"bytes,3,rep,name=filter_chains,json=filterChains,proto3" json:"filter_chains,omitempty"`
	ApiListener         *ApiListener          `protobuf:"bytes,19,opt,name=api_listener,json=apiListener,proto3" json:"api_listener,omitempty"`
	ListenerFilters     []*anypb.Any          `protobuf:"bytes,9,rep,name=listener_filters,json=listenerFilters,proto3" json:"listener_filters,omitempty"`
	UseOriginalDst      *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=use_original_dst,json=useOriginalDst,proto3" json:"use_original_dst,omitempty"`
	// contains filtered or unexported fields
}

func (*Listener) Descriptor deprecated

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

Deprecated: Use Listener.ProtoReflect.Descriptor instead.

func (*Listener) GetAdditionalAddresses

func (x *Listener) GetAdditionalAddresses() []*AdditionalAddress

func (*Listener) GetAddress

func (x *Listener) GetAddress() *v1.Address

func (*Listener) GetApiListener

func (x *Listener) GetApiListener() *ApiListener

func (*Listener) GetFilterChains

func (x *Listener) GetFilterChains() []*FilterChain

func (*Listener) GetListenerFilters

func (x *Listener) GetListenerFilters() []*anypb.Any

func (*Listener) GetName

func (x *Listener) GetName() string

func (*Listener) GetUseOriginalDst

func (x *Listener) GetUseOriginalDst() *wrapperspb.BoolValue

func (*Listener) ProtoMessage

func (*Listener) ProtoMessage()

func (*Listener) ProtoReflect

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

func (*Listener) Reset

func (x *Listener) Reset()

func (*Listener) String

func (x *Listener) String() string

Jump to

Keyboard shortcuts

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