package
2.0.0+incompatible
Repository: https://github.com/nginxinc/nginx-service-mesh.git
Documentation: pkg.go.dev

# Functions

NewAgentLimit returns an initialized map from dest string to array of sources.
TrafficSplitBackendExists returns whether or not a TrafficSplitBackend exists in the list.

# Constants

Egress ports.
Egress ports.
HTTP and Stream are the two major Blocks in the NGINX config.
IncomingGrpcPermissivePort is the incoming gRPC port when mTLS mode is permissive.
IncomingGrpcPort is the incoming gRPC port.
IncomingNotInKeyvalPort is the incoming port that handles requests from Services not in the mesh.
IncomingPermissivePort is the incoming HTTP port when mTLS mode is permissive.
IncomingPort is the incoming HTTP port.
IncomingRedirectPort is the port that redirects requests to another port in the proxy based on the request protocol.
IncomingTCPDenyPort denies TCP traffic if it is not part of the mesh or if access to the sidecar is not allowed.
IncomingTCPPermissivePort is the incoming TCP port when mTLS mode is permissive.
IncomingTCPPort is the incoming TCP port.
IncomingUDPPort is the incoming UDP port.
MetricsPort is the Prometheus metrics port.
OutgoingDefaultEgressPort is the outgoing port for egress traffic when NGINX Ingress Controller is deployed as an egress controller.
OutgoingGrpcPort is the outgoing gRPC port.
OutgoingNotInKeyvalPort is the outgoing port for destinations that are not a part of the mesh.
OutgoingPort is the outgoing HTTP port.
OutgoingRedirectPort is the port that redirects requests to another port in the proxy based on the request protocol.
OutgoingTCPPort is the outgoing TCP port.
OutgoingUDPPort is the outgoing UDP port.
PlusAPIPort is the NGINX Plus API port.
RedirectHealthHTTPSPort is the port that redirects HTTPS health probes to the application container.
RedirectHealthPort is the port that redirects HTTP health probes to the application container.
HTTP and Stream are the two major Blocks in the NGINX config.

# Structs

AgentRateLimit is a wrapper around the RateLimitSpec that contains a string of specs.HTTPMatch instead of the rules field.
AgentTrafficSplit mirrors a split.TrafficSplitSpec, but uses a map of specs.HTTPMatch json strings instead of v1.TypedLocalObjectReference, for easier handling by the agent.
Config contains all the configs consumed by the sidecar agent.
EgressEndpoint contains the DNS name and the upstream servers for egress.
LBMethod represents a load balancing method for an nginx block.
NginxDynSplitBackend is the expected backend struct of ngx_http_dyn_split_module.
Pod defines the configuration of a single pod.
Upstream should correspond to a service DNS name.
UpstreamServer defines an upstream address and port.

# Type aliases

AgentBreaker is a map of destination names to their associated circuit breaker specs.
AgentKeyval holds the data for configuring a single keyval in the agent.
AgentLimit holds a one-to-one mapping of how the agent will configure rate limiting.
Block defines model for Block.