Directories
¶
| Path | Synopsis |
|---|---|
|
Package assets holds the godwit logo files embedded for the UI.
|
Package assets holds the godwit logo files embedded for the UI. |
|
cmd
|
|
|
godwit
command
Command godwit is the entry point for the godwit CLI and service.
|
Command godwit is the entry point for the godwit CLI and service. |
|
gen
|
|
|
internal
|
|
|
admission
Package admission decides what a submitted migration set becomes on a target and whether it may run.
|
Package admission decides what a submitted migration set becomes on a target and whether it may run. |
|
authz
Package authz decides who may command godwit, over the API and through the forge, and serves no transport.
|
Package authz decides who may command godwit, over the API and through the forge, and serves no transport. |
|
cli
Package cli wires the godwit command tree.
|
Package cli wires the godwit command tree. |
|
comment
Package comment parses a pull request comment into the godwit command it names.
|
Package comment parses a pull request comment into the godwit command it names. |
|
config
Package config loads the godwit.yaml project file with env overrides.
|
Package config loads the godwit.yaml project file with env overrides. |
|
controlplane
Package controlplane holds the state store, the lease-based scheduler and drift monitoring.
|
Package controlplane holds the state store, the lease-based scheduler and drift monitoring. |
|
creds
Package creds resolves target-database credentials through pluggable providers.
|
Package creds resolves target-database credentials through pluggable providers. |
|
creds/credstest
Package credstest holds the conformance suite every credential provider must pass.
|
Package credstest holds the conformance suite every credential provider must pass. |
|
limits
Package limits holds the bounds, decided by configuration, that a request is admitted within.
|
Package limits holds the bounds, decided by configuration, that a request is admitted within. |
|
link
Package link composes the UI addresses that leave the process; it sits outside ui and imports nothing of godwit's, because ui already reaches notify and could not be called back from it.
|
Package link composes the UI addresses that leave the process; it sits outside ui and imports nothing of godwit's, because ui already reaches notify and could not be called back from it. |
|
lint
Package lint checks a migration directory the way a pull request gate does: no database involved.
|
Package lint checks a migration directory the way a pull request gate does: no database involved. |
|
metrics
Package metrics exposes the service's Prometheus metrics.
|
Package metrics exposes the service's Prometheus metrics. |
|
notify
Package notify delivers godwit events to the outside world.
|
Package notify delivers godwit events to the outside world. |
|
redact
Package redact decides which part of an error godwit publishes and which part stays in the server log.
|
Package redact decides which part of an error godwit publishes and which part stays in the server log. |
|
report
Package report renders what a plan or a run does to a database, in the words the terminal and the pull request both read.
|
Package report renders what a plan or a run does to a database, in the words the terminal and the pull request both read. |
|
schemasource
Package schemasource turns a description of the desired database into PostgreSQL DDL without a database.
|
Package schemasource turns a description of the desired database into PostgreSQL DDL without a database. |
|
server
Package server assembles and runs the godwit service.
|
Package server assembles and runs the godwit service. |
|
surface/api
Package api serves the godwit control-plane API over connect (gRPC + JSON).
|
Package api serves the godwit control-plane API over connect (gRPC + JSON). |
|
surface/githubapp
Package githubapp receives GitHub App deliveries and turns a verified one into an authorised command.
|
Package githubapp receives GitHub App deliveries and turns a verified one into an authorised command. |
|
surface/ui
Package ui serves the operator web UI on top of the service's own API implementation.
|
Package ui serves the operator web UI on top of the service's own API implementation. |
|
version
Package version exposes build-time version metadata.
|
Package version exposes build-time version metadata. |
|
test
|
|
|
e2e
Package e2e drives the built godwit binary against a real PostgreSQL; run it with `make e2e`.
|
Package e2e drives the built godwit binary against a real PostgreSQL; run it with `make e2e`. |
Click to show internal directories.
Click to hide internal directories.