Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigClient ¶
ConfigClient is a TUF client that performs full verification against a config repository. Remote store is bound to the API response while local store is bound to both go-bindata bundles and local boltdb database
func NewConfigClient ¶
func NewConfigClient(store *store.Store) *ConfigClient
NewConfigClient returns a new TUF client for config repository
func (*ConfigClient) Update ¶
func (c *ConfigClient) Update(response *pbgo.LatestConfigsResponse) error
Update the remote with data from the response and verify the TUF metadata
type DirectorClient ¶
DirectorClient is a TUF client that performs full verification against a director repository. Remote store is bound to the API response while local store is bound to both go-bindata bundles and local boltdb database
func NewDirectorClient ¶
func NewDirectorClient(store *store.Store) *DirectorClient
NewDirectorClient returns a new TUF client for director repository
func (*DirectorClient) Update ¶
func (c *DirectorClient) Update(response *pbgo.LatestConfigsResponse) error
Update the remote with data from the response and verifiers the TUF metadata
type DirectorPartialClient ¶
type DirectorPartialClient struct {
// contains filtered or unexported fields
}
DirectorPartialClient is a TUF client that performs partial verification against a director repository as described in the update specification. Remote store is bound to the API response while local store is bound to both go-bindata bundles and local boltdb database
func NewDirectorPartialClient ¶
func NewDirectorPartialClient() *DirectorPartialClient
NewDirectorPartialClient returns a new TUF client that performs partial validation
func (*DirectorPartialClient) Verify ¶
func (c *DirectorPartialClient) Verify(response *pbgo.ConfigResponse) error
Verify partially the configuration