package client
import "github.com/theupdateframework/notary/tuf/client"
Index ¶
- type Client
- func NewClient(oldBuilder, newBuilder tuf.RepoBuilder, remote store.RemoteStore, cache store.MetadataStore) *Client
- func (c *Client) Update() (*tuf.Repo, error)
- type ErrCorruptedCache
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(oldBuilder, newBuilder tuf.RepoBuilder, remote store.RemoteStore, cache store.MetadataStore) *Client
NewClient initialized a Client with the given repo, remote source of content, and cache
func (*Client) Update ¶
Update performs an update to the TUF repo as defined by the TUF spec
type ErrCorruptedCache ¶
type ErrCorruptedCache struct {
// contains filtered or unexported fields
}
ErrCorruptedCache - local data is incorrect
func (ErrCorruptedCache) Error ¶
func (e ErrCorruptedCache) Error() string
Source Files ¶
- Version
- v0.3.0-RC6
- Published
- May 10, 2016
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 51 seconds ago –
Tools for package owners.