internal/

directory
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: Apache-2.0

Directories

Path Synopsis
Package cli is the proxyfile program: its commands, flags, messages and exit codes.
Package cli is the proxyfile program: its commands, flags, messages and exit codes.
Package envoy writes the Envoy configuration of a gateway: it fills the embedded fragments, splices them into one YAML tree and encodes that tree.
Package envoy writes the Envoy configuration of a gateway: it fills the embedded fragments, splices them into one YAML tree and encodes that tree.
Package figure draws the figure the README opens with: the proxyfile a person writes beside the whole configuration proxyfile generates from it.
Package figure draws the figure the README opens with: the proxyfile a person writes beside the whole configuration proxyfile generates from it.
Package format holds the one description of each input file and checks a file's tree against it.
Package format holds the one description of each input file and checks a file's tree against it.
Package generator holds what every proxy's generator reads the same way: the input, the files a generator returns, the refusals of the values it cannot write, the header line, and the rules that read the model alike for every proxy.
Package generator holds what every proxy's generator reads the same way: the input, the files a generator returns, the refusals of the values it cannot write, the header line, and the rules that read the model alike for every proxy.
Package haproxy writes the HAProxy configuration of a gateway, for HAProxy 3.2 and 3.4: it builds a view of the gateway, every value from the proxyfile in it already quoted, and executes the embedded template with it.
Package haproxy writes the HAProxy configuration of a gateway, for HAProxy 3.2 and 3.4: it builds a view of the gateway, every value from the proxyfile in it already quoted, and executes the embedded template with it.
Package input holds the reading step the readers of the input files share: reading a file as far as a tree its description accepts.
Package input holds the reading step the readers of the input files share: reading a file as far as a tree its description accepts.
Package nginx writes the nginx configuration of a gateway, which picks the route of each request as the Envoy configuration of the same input does and sends the request to the same service, and the script beside it, which reads what nginx's own directives cannot: the name of each header of a request.
Package nginx writes the nginx configuration of a gateway, which picks the route of each request as the Envoy configuration of the same input does and sends the request to the same service, and the script beside it, which reads what nginx's own directives cannot: the name of each header of a request.
Package origins reads the browser origins: the CORS settings every environment shares and, for each environment, its hosts and the browser origins it admits.
Package origins reads the browser origins: the CORS settings every environment shares and, for each environment, its hosts and the browser origins it admits.
Package pcre writes a route's pattern, which the reader checks with Go's regexp and Envoy runs with RE2, as PCRE2 reads it in the byte mode nginx compiles its regular expressions in: from Go's own parse of the pattern, so PCRE2 is never handed RE2 text it reads another way ({,3}, { 2 } and \v are text or other characters in RE2 and repetitions or vertical space in PCRE2, and \Q with no \E would quote the text written after the pattern).
Package pcre writes a route's pattern, which the reader checks with Go's regexp and Envoy runs with RE2, as PCRE2 reads it in the byte mode nginx compiles its regular expressions in: from Go's own parse of the pattern, so PCRE2 is never handed RE2 text it reads another way ({,3}, { 2 } and \v are text or other characters in RE2 and repetitions or vertical space in PCRE2, and \Q with no \E would quote the text written after the pattern).
Package protofiles reads a gateway's RPC methods from .proto files: it compiles them in memory and returns each method that carries a method option named by its full name, with that option's action and reports.
Package protofiles reads a gateway's RPC methods from .proto files: it compiles them in memory and returns each method that carries a method option named by its full name, with that option's action and reports.
Package quote writes text as a JSON string, the form the RPC table and the generated Envoy file both carry.
Package quote writes text as a JSON string, the form the RPC table and the generated Envoy file both carry.
Package read turns a proxyfile into the model, or into the problems that stop the run.
Package read turns a proxyfile into the model, or into the problems that stop the run.
Package render reads every input of one run and returns every output, in memory, so a caller writes nothing when any input has a problem.
Package render reads every input of one run and returns every output, in memory, so a caller writes nothing when any input has a problem.
Package rpc reads the RPC methods, from the proxyfile's rpc.methods or from a methods file, gives each method the service the proxyfile's rpc entry maps it to, and writes the RPC table: the routes as JSON, one object per line.
Package rpc reads the RPC methods, from the proxyfile's rpc.methods or from a methods file, gives each method the service the proxyfile's rpc entry maps it to, and writes the RPC table: the routes as JSON, one object per line.
Package testsupport holds the helpers the tests of several packages share.
Package testsupport holds the helpers the tests of several packages share.
Package tree is the boundary between a file's syntax and everything that reads it.
Package tree is the boundary between a file's syntax and everything that reads it.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL