catalog

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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 GetRepo

func GetRepo(name string, b []byte) (*Repo, error)

func GetTemplateRepo

func GetTemplateRepo(name string) (*Repo, error)

func ParseRepos

func ParseRepos(b []byte) ([]Repo, error)

type RepoWithCompatibility

type RepoWithCompatibility struct {
	Repo
	Compatibility CompatibilityStatus `json:"compatibility,omitempty"`
}

func AnnotateCompatibility

func AnnotateCompatibility(profile *target.HardwareProfile, repos []Repo) []RepoWithCompatibility

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL