Documentation
¶
Overview ¶
Package programfeedtest builds signed program-feed bundles for tests: a fresh offline root and online key per Builder, so no key is ever committed and no test reaches the network. Bundles the collector itself wrote are in pkg/programfeed/testdata/collector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
RootPriv ed25519.PrivateKey
OnlinePriv ed25519.PrivateKey
// KeySetVersion is the version of the key set it signs (default 1).
KeySetVersion uint64
// LocalOnly marks the manifest local-only (an unsigned self-hoster
// build the signed-feed path must refuse).
LocalOnly bool
Now time.Time
}
Builder writes bundles signed by its keys.