See the basic_repository.go example which demonstrates how to manually create and maintain repository metadata using the low-level Metadata API.
The example highlights the following functionality supported by the metadata API:
There's also a client_example.go which demonstrates how to implement a client using the updater package.
There's a client_example.go which demonstrates how to implement a multi-repository client using the multirepo package which implements TAP 4 - Multiple repository consensus on entrusted targets. The example consists of the following:
map.json
along with the root files for each repository are distributed via a trusted repository used for initializationmultirepo
packageThe following CLIs are experimental replacements of the CLI tools provided by the go-tuf package. At some point these will be moved to a separate repository.
tuf-client - a CLI tool that implements the client workflow specified by The Update Framework (TUF) specification
tuf - Not implemented