package
1.30.2
Repository: https://github.com/projectcontour/contour.git
Documentation: pkg.go.dev

# Functions

AdminListener returns a *envoy_config_listener_v3.Listener configured to serve Envoy debug routes from the admin webpage.
Cluster creates new envoy_config_cluster_v3.Cluster from dag.Cluster.
ClusterCommonLBConfig creates a *envoy_config_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_config_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_config_core_v3.ConfigSource for cluster.
No description provided by the author
CORSVirtualHost creates a new route.VirtualHost with a CORS policy.
DNSNameCluster builds a envoy_config_cluster_v3.Cluster for the given *dag.DNSNameCluster.
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_config_cluster_v3.Cluster struct for the given extension service.
ExternalNameClusterLoadAssignment creates a *envoy_config_endpoint_v3.ClusterLoadAssignment pointing to service's ExternalName DNS address.
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_config_listener_v3.FilterChain for the supplied filters.
FilterChains returns a []*envoy_config_listener_v3.FilterChain for the supplied filters.
FilterChainTLS returns a TLS enabled envoy_config_listener_v3.FilterChain.
FilterChainTLSFallback returns a TLS enabled envoy_config_listener_v3.FilterChain configured for FallbackCertificate.
FilterExternalAuthz returns an `ext_authz` filter configured with the requested parameters.
FilterJWTAuthN returns a `jwt_authn` filter configured with the requested parameters.
No description provided by the author
Filters returns a []*envoy_config_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.
GRPCService returns a envoy_config_core_v3.GrpcService for the given parameters.
HealthCheckConfig returns an *envoy_config_endpoint_v3.Endpoint_HealthCheckConfig with a single.
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_config_listener_v3.Listener for the supplied address, port, and filters.
ListenerFilters returns a []*envoy_config_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
PathRouteMatch creates a *envoy_config_route_v3.RouteMatch with *only* a PathSpecifier populated.
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_config_route_v3.RouteConfiguration.
RouteMatch creates a *envoy_config_route_v3.RouteMatch for the supplied *dag.Route.
No description provided by the author
SafeRegexMatch returns a envoy_matcher_v3.RegexMatcher for the supplied regex.
Secret creates new envoy_transport_socket_tls_v3.Secret from secret.
SocketAddress creates a new TCP envoy_config_core_v3.Address.
StatsListeners returns an array of *envoy_config_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.
TCPProxy creates a new TCPProxy filter.
TLSInspector returns a new TLS inspector listener filter.
TracingConfig returns a tracing config, or nil if config is nil.
UnixSocketAddress creates a new Unix Socket envoy_config_core_v3.Address.
UpgradeHTTPS returns a route Action that redirects the request to HTTPS.
UpstreamTLSContext creates an envoy_transport_socket_tls_v3.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
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

No description provided by the author
No description provided by the author
GlobalRateLimitConfig stores configuration for an HTTP global rate limiting filter.
No description provided by the author

# Type aliases

No description provided by the author