Documentation ¶
Index ¶
- func AddTarget(role string, r *tuf.TufRepo) (name string, meta data.FileMeta, content []byte, err error)
- func EmptyRepo() (*keys.KeyDB, *tuf.TufRepo, signed.CryptoService)
- func FlushDB(db *sql.DB)
- func GetSqliteDB() *sql.DB
- func RandomByteSlice(maxSize int) []byte
- func SampleMeta() data.FileMeta
- func Serialize(sRoot, sTargets, sSnapshot, sTimestamp *data.Signed) (root, targets, snapshot, timestamp []byte, err error)
- func Sign(repo *tuf.TufRepo) (root, targets, snapshot, timestamp *data.Signed, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyRepo ¶
EmptyRepo creates an in memory key database, crypto service and initializes a repo with no targets or delegations.
func GetSqliteDB ¶
func RandomByteSlice ¶
func SampleMeta ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.