Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TemplatesJSON []byte
Functions ¶
This section is empty.
Types ¶
type CompatibilityStatus ¶
type CompatibilityStatus string
const ( CompatibilityUnknown CompatibilityStatus = "" CompatibilitySupported CompatibilityStatus = "supported" CompatibilityUnsupported CompatibilityStatus = "unsupported" )
type Repo ¶
type Repo struct {
Name string `json:"name"`
Description string `json:"description"`
Features []string `json:"features"`
MinRAMKb int64 `json:"min_ram_kb,omitempty"`
URL string `json:"url"`
Ref string `json:"ref"`
}
func GetTemplateRepo ¶
func ParseRepos ¶
type RepoWithCompatibility ¶
type RepoWithCompatibility struct {
Repo
Compatibility CompatibilityStatus `json:"compatibility,omitempty"`
}
func AnnotateCompatibility ¶
func AnnotateCompatibility(profile *target.HardwareProfile, repos []Repo) []RepoWithCompatibility
Click to show internal directories.
Click to hide internal directories.