Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a usability wrapper around a raw TUF repo
func NewClient ¶
func NewClient(local *tuf.Repo, remote store.RemoteStore, cache store.MetadataStore) *Client
NewClient initialized a Client with the given repo, remote source of content, and cache
type ErrChecksumMismatch ¶
type ErrChecksumMismatch struct {
// contains filtered or unexported fields
}
ErrChecksumMismatch - a checksum failed verification
func (ErrChecksumMismatch) Error ¶
func (e ErrChecksumMismatch) Error() string
type ErrCorruptedCache ¶
type ErrCorruptedCache struct {
// contains filtered or unexported fields
}
ErrCorruptedCache - local data is incorrect
func (ErrCorruptedCache) Error ¶
func (e ErrCorruptedCache) Error() string
Click to show internal directories.
Click to hide internal directories.