Documentation ¶
Index ¶
- type Client
- func (c Client) Download(targetName string, destination tufClient.Destination) error
- func (c Client) DownloadFile(targetName string, dest string, destMode os.FileMode) error
- func (c Client) DownloadMetaUnsafe(targetName string, maxMetaSize int64) ([]byte, error)
- func (c Client) GetTargets() (data.TargetFiles, error)
- func (c *Client) Setup(rootVersion int64, rootSha512 string) error
- func (c *Client) Update() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *tufClient.Client ReadOnlyLocalStore tufClient.LocalStore // contains filtered or unexported fields }
func (Client) Download ¶
func (c Client) Download(targetName string, destination tufClient.Destination) error
func (Client) DownloadFile ¶
func (Client) DownloadMetaUnsafe ¶
func (Client) GetTargets ¶
func (c Client) GetTargets() (data.TargetFiles, error)
Click to show internal directories.
Click to hide internal directories.