Documentation
¶
Index ¶
- type Client
- func (c Client) Download(targetName string, destination tufClient.Destination) error
- func (c Client) DownloadFile(targetName, dest string, destMode os.FileMode) error
- func (c Client) DownloadMeta(name string) ([]byte, error)
- func (c Client) GetTargets() (data.TargetFiles, error)
- func (c *Client) Setup(rootVersion int64, rootSha512 string) error
- func (c *Client) Update() error
- type TracingTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*tufClient.Client
RemoteStore tufClient.RemoteStore
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) GetTargets ¶
func (c Client) GetTargets() (data.TargetFiles, error)
type TracingTransport ¶
type TracingTransport struct {
Transport http.RoundTripper
Logger logger.Logger
}
Click to show internal directories.
Click to hide internal directories.