Directories
¶
| Path | Synopsis |
|---|---|
|
Package access is the access record: who read or wrote whose personal data, from where, when, and how the call ended (payday#111).
|
Package access is the access record: who read or wrote whose personal data, from where, when, and how the call ended (payday#111). |
|
Package account is the account layer: what an app whose holders are memberships of accounts needs to serve a call as one of them (payday#184).
|
Package account is the account layer: what an app whose holders are memberships of accounts needs to serve a call as one of them (payday#184). |
|
Package audit is the trail of what was changed, and by whom.
|
Package audit is the trail of what was changed, and by whom. |
|
Package auth says who a caller is.
|
Package auth says who a caller is. |
|
authoidc
Package authoidc reads the token an external identity provider issued.
|
Package authoidc reads the token an external identity provider issued. |
|
authsession
Package authsession is the browser's half of authentication.
|
Package authsession is the browser's half of authentication. |
|
cmd
|
|
|
pd
command
Command pd generates a payday app from its schema, and says when the two have come apart.
|
Command pd generates a payday app from its schema, and says when the two have come apart. |
|
protoc-gen-pd
command
protoc-gen-pd writes what a payday schema declared into the code that enforces it.
|
protoc-gen-pd writes what a payday schema declared into the code that enforces it. |
|
Package config is the blocks every payday app is configured with.
|
Package config is the blocks every payday app is configured with. |
|
brokerpg
Package brokerpg makes "postgres" a broker a configuration may name.
|
Package brokerpg makes "postgres" a broker a configuration may name. |
|
dbpgx
Package dbpgx makes "pgx" a driver a configuration may name.
|
Package dbpgx makes "pgx" a driver a configuration may name. |
|
dbsqlite3
Package dbsqlite3 makes "sqlite3" a driver a configuration may name.
|
Package dbsqlite3 makes "sqlite3" a driver a configuration may name. |
|
dbsqlite3wasm
Package dbsqlite3wasm makes "sqlite3-wasm" a driver a configuration may name.
|
Package dbsqlite3wasm makes "sqlite3-wasm" a driver a configuration may name. |
|
leasepg
Package leasepg makes "postgres" a lease a configuration may name (#54).
|
Package leasepg makes "postgres" a lease a configuration may name (#54). |
|
signerpkcs11
Package signerpkcs11 makes `pkcs11:` a key `audit.checkpoints.key` may name (#52): a key in an HSM, a cloud's HSM, a smart card or SoftHSM, by its RFC 7512 URI, signed with through `trail/trailpkcs11`.
|
Package signerpkcs11 makes `pkcs11:` a key `audit.checkpoints.key` may name (#52): a key in an HSM, a cloud's HSM, a smart card or SoftHSM, by its RFC 7512 URI, signed with through `trail/trailpkcs11`. |
|
signertpm
Package signertpm makes `tpm:` a key `audit.checkpoints.key` may name (#52): a key at a persistent handle of the machine's TPM 2.0, or its vTPM, signed with through `trail/trailtpm`.
|
Package signertpm makes `tpm:` a key `audit.checkpoints.key` may name (#52): a key at a persistent handle of the machine's TPM 2.0, or its vTPM, signed with through `trail/trailtpm`. |
|
signervault
Package signervault makes `hashivault://` a key `audit.checkpoints.key` may name (#52): a key in Vault's Transit secrets engine, or OpenBao's, signed with through `trail/trailvault`.
|
Package signervault makes `hashivault://` a key `audit.checkpoints.key` may name (#52): a key in Vault's Transit secrets engine, or OpenBao's, signed with through `trail/trailvault`. |
|
witnesslog
Package witnesslog registers the log witness (trail/witnesslog) with config: an app that imports it names one in `audit.checkpoints.witnesses` as `log:`,
|
Package witnesslog registers the log witness (trail/witnesslog) with config: an app that imports it names one in `audit.checkpoints.witnesses` as `log:`, |
|
witnessrekor
Package witnessrekor registers the Rekor witness (trail/witnessrekor) with config: an app that imports it names a log in `audit.checkpoints.witnesses` as `rekor:`, its URL, `key=` the PEM file of the log's key and `v=2` for a log on tiles,
|
Package witnessrekor registers the Rekor witness (trail/witnessrekor) with config: an app that imports it names a log in `audit.checkpoints.witnesses` as `rekor:`, its URL, `key=` the PEM file of the log's key and `v=2` for a log on tiles, |
|
witnessstore
Package witnessstore registers the store witness (trail/witnessstore) with config: an app that imports it names one in `audit.checkpoints.witnesses` as `store:` and a directory of its own,
|
Package witnessstore registers the store witness (trail/witnessstore) with config: an app that imports it names one in `audit.checkpoints.witnesses` as `store:` and a directory of its own, |
|
Package entitle keeps a tenant's copy of what it is entitled to, in the app's own database, and reads it inside the transaction of the write it decides (payday#185).
|
Package entitle keeps a tenant's copy of what it is entitled to, in the app's own database, and reads it inside the transaction of the write it decides (payday#185). |
|
Package frame carries who a request is from.
|
Package frame carries who a request is from. |
|
Package gate decides what the caller of a request may do with it.
|
Package gate decides what the caller of a request may do with it. |
|
Package grpcx holds the plumbing the app is served with: what every call goes through before it reaches a service server.
|
Package grpcx holds the plumbing the app is served with: what every call goes through before it reaches a service server. |
|
Package header is the part of a row that is the same whatever entity it belongs to, read from any of them.
|
Package header is the part of a row that is the same whatever entity it belongs to, read from any of them. |
|
internal
|
|
|
pdcli
Package pdcli is what `pd` does, kept out of `main` so that it can be tested by calling it rather than by running a binary and reading its output.
|
Package pdcli is what `pd` does, kept out of `main` so that it can be tested by calling it rather than by running a binary and reading its output. |
|
pdgen
Package pdgen reads what a schema declared to payday and writes out what follows from it.
|
Package pdgen reads what a schema declared to payday and writes out what follows from it. |
|
Package meter measures what each tenant holds -- its assets, its members, the bytes it stores -- and hands the readings to a sink, which is the billing service's client (payday#186).
|
Package meter measures what each tenant holds -- its assets, its members, the bytes it stores -- and hands the readings to a sink, which is the billing service's client (payday#186). |
|
Package notify provides topic notifications with application-defined access and lazy, independently owned receipts.
|
Package notify provides topic notifications with application-defined access and lazy, independently owned receipts. |
|
Package past records what an app's operations did and what its resources were, and reads it back (payday#151).
|
Package past records what an app's operations did and what its resources were, and reads it back (payday#151). |
|
Package pdcmd is the commands every payday app has, ready to be mounted on the app's own binary.
|
Package pdcmd is the commands every payday app has, ready to be mounted on the app's own binary. |
|
Package pderr is the shape of a refusal: which field was wrong, and why.
|
Package pderr is the shape of a refusal: which field was wrong, and why. |
|
Package pdid is the identifier every row of a payday app is named by.
|
Package pdid is the identifier every row of a payday app is named by. |
|
Package pdpb is what payday's own `.proto` files generate: the options a schema is declared with, and the two services payday serves on an app's behalf.
|
Package pdpb is what payday's own `.proto` files generate: the options a schema is declared with, and the two services payday serves on an app's behalf. |
|
Package pdtest is what a test of a payday app is given: assertions that know about gRPC, a connection that never leaves the process, and a database of this test's own.
|
Package pdtest is what a test of a payday app is given: assertions that know about gRPC, a connection that never leaves the process, and a database of this test's own. |
|
Package rbac evaluates tenant-wide method roles from named holders, groups and bindings.
|
Package rbac evaluates tenant-wide method roles from named holders, groups and bindings. |
|
rbacfile
Package rbacfile provides read-only YAML method policies.
|
Package rbacfile provides read-only YAML method policies. |
|
Package rename moves what an earlier build made under one name to the name this build makes it under, before a migration looks for it.
|
Package rename moves what an earlier build made under one name to the name this build makes it under, before a migration looks for it. |
|
Package resource serves operations across resource types.
|
Package resource serves operations across resource types. |
|
resourcecel
Package resourcecel is the language a Watch filter is written in: a boolean CEL expression over `event`, the pdpb.WatchEvent the subscriber would be sent (payday#74).
|
Package resourcecel is the language a Watch filter is written in: a boolean CEL expression over `event`, the pdpb.WatchEvent the subscriber would be sent (payday#74). |
|
resourcesql
Package resourcesql evaluates existing Ent read predicates against an immutable resource image.
|
Package resourcesql evaluates existing Ent read predicates against an immutable resource image. |
|
Package schema holds payday's own entities and what they are allowed to become in an app.
|
Package schema holds payday's own entities and what they are allowed to become in an app. |
|
Package seen remembers, for the rest of a transaction, what the layers in front of every write have already asked about the rows it names.
|
Package seen remembers, for the rest of a transaction, what the layers in front of every write have already asked about the rows it names. |
|
Package slug is the human-readable way to name a row.
|
Package slug is the human-readable way to name a row. |
|
Package spin runs what the layers of a server have to do besides answering requests.
|
Package spin runs what the layers of a server have to do besides answering requests. |
|
spinpg
Package spinpg is a spin.Lease over PostgreSQL's advisory locks (#54).
|
Package spinpg is a spin.Lease over PostgreSQL's advisory locks (#54). |
|
Package trail is what happens to the record of what happened, after long enough.
|
Package trail is what happens to the record of what happened, after long enough. |
|
internal/signed
Package signed is what the adapters beside it share (#52): a device's signature put in the form a checkpoint's verifier reads, and checked against the key's public half before it is handed over.
|
Package signed is what the adapters beside it share (#52): a device's signature put in the form a checkpoint's verifier reads, and checked against the key's public half before it is handed over. |
|
trailpkcs11
Package trailpkcs11 signs the trail's checkpoints with a key in a PKCS #11 token (#52): an HSM on the network or in the machine, a cloud's HSM through the library its vendor ships (AWS CloudHSM, Google's kmsp11, Thales Luna, YubiHSM), a smart card, or SoftHSM to try one.
|
Package trailpkcs11 signs the trail's checkpoints with a key in a PKCS #11 token (#52): an HSM on the network or in the machine, a cloud's HSM through the library its vendor ships (AWS CloudHSM, Google's kmsp11, Thales Luna, YubiHSM), a smart card, or SoftHSM to try one. |
|
trailtpm
Package trailtpm signs the trail's checkpoints with a key in a TPM 2.0 (#52): the machine's own, or a virtual machine's vTPM, which every cloud gives a VM that asks for one (shielded, trusted launch, Nitro).
|
Package trailtpm signs the trail's checkpoints with a key in a TPM 2.0 (#52): the machine's own, or a virtual machine's vTPM, which every cloud gives a VM that asks for one (shielded, trusted launch, Nitro). |
|
trailvault
Package trailvault signs the trail's checkpoints with a key in HashiCorp Vault's Transit secrets engine, or OpenBao's, which speaks the same API (#52).
|
Package trailvault signs the trail's checkpoints with a key in HashiCorp Vault's Transit secrets engine, or OpenBao's, which speaks the same API (#52). |
|
witnesslog
Package witnesslog is a witness that tells (payday#115; see trail.Witness): a line of the log for every checkpoint the trail takes, and a gauge of its number, `payday.trail.checkpoint`.
|
Package witnesslog is a witness that tells (payday#115; see trail.Witness): a line of the log for every checkpoint the trail takes, and a gauge of its number, `payday.trail.checkpoint`. |
|
witnessrekor
Package witnessrekor is a witness that logs every checkpoint to a Rekor transparency log (payday#115; see trail.Witness): one of the deployment's own, or -- by the operator's choice, and see payday's runtime docs first -- the public instance Sigstore runs.
|
Package witnessrekor is a witness that logs every checkpoint to a Rekor transparency log (payday#115; see trail.Witness): one of the deployment's own, or -- by the operator's choice, and see payday's runtime docs first -- the public instance Sigstore runs. |
|
witnessrekor/rekortest
Package rekortest is a Rekor log for a test (payday#115): v1's API or v2's write API and tiles, on httptest, over a real RFC 6962 tree, its heads signed by an ECDSA key of its own.
|
Package rekortest is a Rekor log for a test (payday#115): v1's API or v2's write API and tiles, on httptest, over a real RFC 6962 tree, its heads signed by an ECDSA key of its own. |
|
witnessstore
Package witnessstore is a witness that keeps every statement it hears in a flob store of its own (payday#115; see trail.Witness).
|
Package witnessstore is a witness that keeps every statement it hears in a flob store of its own (payday#115; see trail.Witness). |
|
Package valid refuses a database a migration would take for this build's shape and is not: one with an index PostgreSQL has not finished, which the migration takes for one it made (Indexes), and one with a column nothing this build writes that takes no row without a value (Columns).
|
Package valid refuses a database a migration would take for this build's shape and is not: one with an index PostgreSQL has not finished, which the migration takes for one it made (Indexes), and one with a column nothing this build writes that takes no row without a value (Columns). |
|
Package version says what build is running.
|
Package version says what build is running. |
|
Package watch publishes what a call changed, once its transaction has committed.
|
Package watch publishes what a call changed, once its transaction has committed. |
|
watchpg
Package watchpg is a watch.Broker over PostgreSQL's `LISTEN`/`NOTIFY`.
|
Package watchpg is a watch.Broker over PostgreSQL's `LISTEN`/`NOTIFY`. |
|
Package web is the app on a port a browser can reach.
|
Package web is the app on a port a browser can reach. |
Click to show internal directories.
Click to hide internal directories.