# Packages
No description provided by the author
# Functions
DeleteTrustData removes the trust data stored for this repo in the TUF cache on the client side Note that we will not delete any private key material from local storage.
LoadTUFRepo bootstraps a trust anchor (root.json) from cache (if provided) before updating all the metadata for the repo from the remote (if provided).
NewFileCachedRepository is a wrapper for NewRepository that initializes a file cache from the provided repository, local config information and a crypto service.
NewReadOnly is the base method that returns a new notary repository for reading.
NewRepository is the base method that returns a new notary repository.
NewTarget is a helper method that returns a Target.
# Constants
SignWithAllOldVersions is a sentinel constant for LegacyVersions flag.
# Structs
ErrInvalidLocalRole is returned when the client wants to manage a key type that is not permitted.
ErrInvalidRemoteRole is returned when the server is requested to manage a key type that is not permitted.
ErrRepoNotInitialized is returned when trying to publish an uninitialized notary repository.
ErrRepositoryNotExist is returned when an action is taken on a remote repository that doesn't exist.
RoleWithSignatures is a Role with its associated signatures.
Target represents a simplified version of the data TUF operates on, so external applications don't have to depend on TUF data types.
TargetSignedStruct is a struct that contains a Target, the role it was found in, and the list of signatures for that role.
TargetWithRole represents a Target that exists in a particular role - this is produced by ListTargets and GetTargetByName.
TUFLoadOptions are provided to LoadTUFRepo, which loads a TUF repo from cache, from a remote store, or both.
# Interfaces
ReadOnly represents the set of options that must be supported over a TUF repo for reading.
Repository represents the set of options that must be supported over a TUF repo for both reading and writing.
# Type aliases
ErrNoSuchTarget is returned when no valid trust data is found.