client

package
v0.3.0-RC5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2016 License: Apache-2.0, BSD-3-Clause Imports: 7 Imported by: 0

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(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

func (c *Client) Update() (*tuf.Repo, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL