package
0.0.0-20211228022950-a1fe31f1f48b
Repository: https://github.com/projectsesame/sesame.git
Documentation: pkg.go.dev
# Functions
AdminListener returns a *envoy_listener_v3.Listener configured to serve Envoy debug routes from the admin webpage.
Cluster creates new envoy_cluster_v3.Cluster from dag.Cluster.
ClusterCommonLBConfig creates a *envoy_cluster_v3.Cluster_CommonLbConfig with HealthyPanicThreshold disabled.
ClusterDiscoveryType returns the type of a ClusterDiscovery as a Cluster_type.
ClusterDiscoveryTypeForAddress returns the type of a ClusterDiscovery as a Cluster_type.
ClusterLoadAssignment returns a *envoy_endpoint_v3.ClusterLoadAssignment with a single LocalityLbEndpoints of the supplied addresses.
CodecForVersions determines a single Envoy HTTP codec constant that support all the given HTTP protocol versions.
ConfigSource returns a *envoy_core_v3.ConfigSource for cluster.
No description provided by the author
CORSVirtualHost creates a new route.VirtualHost with a CORS policy.
DownstreamTLSContext creates a new DownstreamTlsContext.
DownstreamTLSTransportSocket returns a custom transport socket using the DownstreamTlsContext provided.
Endpoints returns a slice of LocalityLbEndpoints.
ExtensionCluster builds a envoy_cluster_v3.Cluster struct for the given extension service.
FileAccessLogEnvoy returns a new file based access log filter.
FileAccessLogJSON returns a new file based access log filter that will log in JSON format.
FilterChain returns a *envoy_listener_v3.FilterChain for the supplied filters.
FilterChains returns a []*envoy_listener_v3.FilterChain for the supplied filters.
FilterChainTLS returns a TLS enabled envoy_listener_v3.FilterChain.
FilterChainTLSFallback returns a TLS enabled envoy_listener_v3.FilterChain conifgured for FallbackCertificate.
FilterExternalAuthz returns an `ext_authz` filter configured with the requested parameters.
No description provided by the author
Filters returns a []*envoy_listener_v3.Filter for the supplied filters.
GlobalRateLimitFilter returns a configured HTTP global rate limit filter, or nil if config is nil.
GlobalRateLimits converts DAG RateLimitDescriptors to Envoy RateLimits.
HTTPConnectionManager creates a new HTTP Connection Manager filter for the supplied route, access log, and client request timeout.
HTTPConnectionManagerBuilder creates a new HTTP connection manager builder.
LBEndpoint creates a new LbEndpoint.
Listener returns a new envoy_listener_v3.Listener for the supplied address, port, and filters.
ListenerFilters returns a []*envoy_listener_v3.ListenerFilter for the supplied listener filters.
LocalRateLimitConfig returns a config for the HTTP local rate limit filter.
No description provided by the author
No description provided by the author
ProtoNamesForVersions returns the slice of ALPN protocol names for the give HTTP versions.
ProxyProtocol returns a new Proxy Protocol listener filter.
RouteConfiguration returns a *envoy_route_v3.RouteConfiguration.
RouteMatch creates a *envoy_route_v3.RouteMatch for the supplied *dag.Route.
SafeRegexMatch returns a matcher.RegexMatcher for the supplied regex.
Secret creates new envoy_tls_v3.Secret from secret.
SocketAddress creates a new TCP envoy_core_v3.Address.
StaticClusterLoadAssignment creates a *envoy_endpoint_v3.ClusterLoadAssignment pointing to the external DNS address of the service.
StatsListeners returns an array of *envoy_listener_v3.Listeners, either single HTTP listener or HTTP and HTTPS listeners depending on config.
StatsSecrets returns SDS secrets that refer to local file paths in Envoy container.
No description provided by the author
TCPProxy creates a new TCPProxy filter.
TLSInspector returns a new TLS inspector listener filter.
UnixSocketAddress creates a new Unix Socket envoy_core_v3.Address.
UpgradeHTTPS returns a route Action that redirects the request to HTTPS.
UpstreamTLSContext creates an envoy_v3_tls.UpstreamTlsContext.
UpstreamTLSTransportSocket returns a custom transport socket using the UpstreamTlsContext provided.
VirtualHost creates a new route.VirtualHost.
VirtualHostAndRoutes converts a DAG virtual host and routes to an Envoy virtual host.
No description provided by the author
WriteBootstrap writes bootstrap configuration to files.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
GlobalRateLimitConfig stores configuration for an HTTP global rate limiting filter.
# Type aliases
No description provided by the author