Documentation ¶
Index ¶
- Constants
- func CreateAPIListener(name string, routeConfigurationName string) (*listenerv3.Listener, error)
- func CreateEnvoyGRPCListener(port uint32, enableTLS bool) (*listenerv3.Listener, error)
- func CreateGRPCServerListener(host string, port uint32, enableTLS bool, requireClientCerts bool, ...) (*listenerv3.Listener, error)
Constants ¶
View Source
const ( // GRPCServerListenerResourceNameTemplate must match the template in the gRPC xDS bootstrap file, see // [gRFC A36: xDS-Enabled Servers]: https://github.com/grpc/proposal/blob/fd10c1a86562b712c2c5fa23178992654c47a072/A36-xds-for-servers.md#xds-protocol // Using the sample name from the gRPC-Go unit tests, but this is not important. GRPCServerListenerResourceNameTemplate = "grpc/server?xds.resource.listening_address=%s" // GRPCServerListenerRouteConfigurationName is used for the RouteConfiguration pointed to by server Listeners. GRPCServerListenerRouteConfigurationName = "default_inbound_config" )
View Source
const (
EnvoyFilterHTTPRBACName = "envoy.filters.http.rbac"
)
View Source
const (
EnvoyGRPCListenerRouteConfigurationName = "envoy-route-configuration"
)
Variables ¶
This section is empty.
Functions ¶
func CreateAPIListener ¶
func CreateAPIListener(name string, routeConfigurationName string) (*listenerv3.Listener, error)
CreateAPIListener returns an LDS API listener
func CreateEnvoyGRPCListener ¶
func CreateEnvoyGRPCListener(port uint32, enableTLS bool) (*listenerv3.Listener, error)
CreateEnvoyGRPCListener returns a GRPC listener for Envoy front proxies.
func CreateGRPCServerListener ¶
func CreateGRPCServerListener(host string, port uint32, enableTLS bool, requireClientCerts bool, enableRBAC bool) (*listenerv3.Listener, error)
CreateGRPCServerListener returns a downstream listener for xDS-enabled gRPC servers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.