Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
proxyfile
command
Command proxyfile writes a proxy's configuration from a proxyfile.
|
Command proxyfile writes a proxy's configuration from a proxyfile. |
|
internal
|
|
|
cli
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. |
|
envoy
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. |
|
figure
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. |
|
format
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. |
|
input
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. |
|
origins
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. |
|
protofiles
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. |
|
quote
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. |
|
read
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. |
|
render
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. |
|
rpc
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. |
|
testsupport
Package testsupport holds the helpers the tests of several packages share.
|
Package testsupport holds the helpers the tests of several packages share. |
|
tree
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. |
Click to show internal directories.
Click to hide internal directories.