Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ListenerProtocolUnknown is an unknown type of listener. ListenerProtocolUnknown = iota // ListenerProtocolTCP is a TCP listener. ListenerProtocolTCP // ListenerProtocolHTTP is an HTTP listener. ListenerProtocolHTTP // ListenerProtocolAuto enables auto protocol detection ListenerProtocolAuto )
View Source
const ( // TransportProtocolTCP is a TCP listener TransportProtocolTCP = iota // TransportProtocolQUIC is a QUIC listener TransportProtocolQUIC )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListenerClass ¶
type ListenerClass int
ListenerClass defines the class of the listener
const ( ListenerClassUndefined ListenerClass = iota ListenerClassSidecarInbound ListenerClassSidecarOutbound ListenerClassGateway )
type ListenerProtocol ¶
type ListenerProtocol int
ListenerProtocol is the protocol associated with the listener.
func ModelProtocolToListenerProtocol ¶
func ModelProtocolToListenerProtocol(p protocol.Instance) ListenerProtocol
ModelProtocolToListenerProtocol converts from a config.Protocol to its corresponding plugin.ListenerProtocol
type TransportProtocol ¶
type TransportProtocol uint8
func (TransportProtocol) String ¶
func (tp TransportProtocol) String() string
func (TransportProtocol) ToEnvoySocketProtocol ¶
func (tp TransportProtocol) ToEnvoySocketProtocol() core.SocketAddress_Protocol
Directories ¶
Path | Synopsis |
---|---|
loadbalancer
packages used for load balancer setting
|
packages used for load balancer setting |
plugin
|
|
Click to show internal directories.
Click to hide internal directories.