Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileRemoteStore ¶
func FileRemoteStore(repo string) (client.RemoteStore, error)
Types ¶
type SignedMeta ¶
type SignedMeta struct { Type string `json:"_type"` Expires time.Time `json:"expires"` Version int `json:"version"` }
Metadata helpers
func PrintAndGetSignedMeta ¶
func PrintAndGetSignedMeta(role string, signed json.RawMessage) (*SignedMeta, error)
Click to show internal directories.
Click to hide internal directories.