Documentation
¶
Overview ¶
Package connledger records the configuration each of a toolkit's run-time connections was added with, so a reconcile can tell an announcement of the configuration a replica already serves from a change (#2704).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
type Ledger struct {
// contains filtered or unexported fields
}
Ledger records the configuration each of a toolkit's run-time connections was added with, as a digest of its canonical JSON: the toolkit records after a successful add and forgets on removal, and answers toolkit.ConfigHolder from it. A toolkit that fills secret references when it adds a connection records and asks with the filled configuration, so a rotated secret is a changed configuration. The digest is all that is kept, so no secret value is held here. The zero value is ready to use.