Documentation
¶
Index ¶
Constants ¶
View Source
const (
TargetsResourcePath = "/repo/targets.json"
)
Variables ¶
View Source
var (
UnknownTarget = Target{
ID: "unknown",
Version: -1,
}
)
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Signatures *json.RawMessage `json:"signatures"`
Signed Signed `json:"signed"`
}
type Targets ¶
type Targets []Target
func (Targets) GetLatestTarget ¶
func (Targets) GetSortedList ¶
func (Targets) GetTargetByID ¶
func (Targets) GetTargetByVersion ¶
Click to show internal directories.
Click to hide internal directories.