Versions in this module Expand all Collapse all v1 v1.8.1 Oct 5, 2022 Changes in this version + const DefaultConcurrentStreams + const DefaultConnectionBuffer + const DefaultIdleTimeout + const DefaultInitialConnectionWindowSize + const DefaultInitialStreamWindowSize + const DefaultRequestHeadersTimeout + const DefaultStreamIdleTimeout + const OriginGateway + const PluginName + const ProfileGatewayProxy + var ConnectionPolicyTypes = []model.ResourceType + var DefaultProxyTemplate = &mesh_proto.ProxyTemplate + var RoutePolicyTypes = []model.ResourceType + func BuildResourceSet(b ResourceBuilder) (*xds.ResourceSet, error) + func GenerateEnvoyRouteEntries(host GatewayHost) []route.Entry + func GenerateRouteConfig(info GatewayListenerInfo) *envoy_routes.RouteConfigurationBuilder + func GenerateVirtualHost(ctx xds_context.Context, info GatewayListenerInfo, host GatewayHost, ...) (*envoy_routes.VirtualHostBuilder, error) + func MakeGatewayListener(meshContext xds_context.MeshContext, gateway *core_mesh.MeshGatewayResource, ...) (GatewayListener, []GatewayHost) + func NewProxyProfile(zone string) generator_core.ResourceGenerator + func NewResource(name string, resource proto.Message) *xds.Resource + func PopulatePolicies(host GatewayHost, routes []route.Entry) []route.Entry + func SupportsProtocol(p mesh_proto.MeshGateway_Listener_Protocol) bool + type ClusterGenerator struct + Zone string + func (c *ClusterGenerator) GenerateClusters(ctx xds_context.Context, info GatewayListenerInfo, hostInfo GatewayHostInfo) (*core_xds.ResourceSet, error) + type FilterChainGenerator interface + Generate func(xds_context.Context, GatewayListenerInfo, []GatewayHost) (*core_xds.ResourceSet, []*envoy_listeners.FilterChainBuilder, error) + type GatewayHost struct + Hostname string + Policies map[model.ResourceType][]match.RankedPolicy + Routes []*core_mesh.MeshGatewayRouteResource + TLS *mesh_proto.MeshGateway_TLS_Conf + Tags mesh_proto.TagSelector + func RedistributeWildcardRoutes(hosts []GatewayHost) []GatewayHost + type GatewayHostInfo struct + Entries []route.Entry + Host GatewayHost + type GatewayListener struct + CrossMesh bool + Port uint32 + Protocol mesh_proto.MeshGateway_Listener_Protocol + ResourceName string + Resources *mesh_proto.MeshGateway_Listener_Resources + type GatewayListenerInfo struct + ExternalServices *core_mesh.ExternalServiceResourceList + Gateway *core_mesh.MeshGatewayResource + HostInfos []GatewayHostInfo + Listener GatewayListener + OutboundEndpoints core_xds.EndpointMap + Proxy *core_xds.Proxy + func GatewayListenerInfoFromProxy(ctx xds_context.MeshContext, proxy *core_xds.Proxy, zone string) ([]GatewayListenerInfo, error) + type Generator struct + ClusterGenerator ClusterGenerator + FilterChainGenerators filterChainGenerators + Zone string + func (g Generator) Generate(ctx xds_context.Context, proxy *core_xds.Proxy) (*core_xds.ResourceSet, error) + type HTTPFilterChainGenerator struct + func (g *HTTPFilterChainGenerator) Generate(ctx xds_context.Context, info GatewayListenerInfo, _ []GatewayHost) (*core_xds.ResourceSet, []*envoy_listeners.FilterChainBuilder, error) + type HTTPSFilterChainGenerator struct + func (g *HTTPSFilterChainGenerator) Generate(ctx xds_context.Context, info GatewayListenerInfo, hosts []GatewayHost) (*core_xds.ResourceSet, []*envoy_listeners.FilterChainBuilder, error) + type ResourceBuilder interface + Build func() (envoy.NamedResource, error) + type RuntimeResoureLimitListener struct + ConnectionLimit uint32 + Name string + func GenerateListener(info GatewayListenerInfo) (*envoy_listeners.ListenerBuilder, *RuntimeResoureLimitListener) + type TCPFilterChainGenerator struct + func (g *TCPFilterChainGenerator) Generate(ctx xds_context.Context, info GatewayListenerInfo, hosts []GatewayHost) (*core_xds.ResourceSet, []*envoy_listeners.FilterChainBuilder, error) + type TemplateResolver struct + func (r TemplateResolver) GetTemplate(proxy *core_xds.Proxy) *mesh_proto.ProxyTemplate v1.5.0-rc2 Feb 18, 2022