Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct {
OneOf []DependencyOption `json:"oneof"`
}
type DependencyOption ¶
type DependencyOption struct {
Wants *DependencyOptionWants `json:"wants"`
Package *DependencyOptionPackage `json:"package"`
}
type DependencyOptionPackage ¶
type DependencyOptionPackage struct {
ID string `json:"id"`
Version *marshallers.Range `json:"version"`
}
type DependencyOptionWants ¶
type DependencyOptionWants struct {
Wants string `json:"wants"`
Range *marshallers.Range `json:"version"`
}
type Variant ¶
type Variant struct {
PackageId string `json:"pkgid"`
VariantId string `json:"variantid"`
AuthorId string `json:"authorid"`
Version marshallers.Version `json:"version"` //version of this variant
Platform *marshallers.Regexp `json:"platform"` //allowed platform as regex
Device *marshallers.Regexp `json:"device"` //allowed device as regex
Firmware *marshallers.Range `json:"firmware"` //allowed firmware versions
Multiversion bool `json:"multiversion"`
OtherVersions *marshallers.Range `json:"otherversions"` //if set defnies allowed versions of same package. if unset all versions are allowed
Dependencies map[string]Dependency `json:"dependencies"` //maps named dependency folders to another package
Implements map[string]marshallers.Version `json:"implements"`
Name *string `json:"name"`
Desc *string `json:"desc"`
Languages map[string]Language `json:"languages"`
Icon *string `json:"icon"`
Category *string `json:"category"`
AuthorName *string `json:"authorname"`
Url *string `json:"url"`
Management *string `json:"management"`
Frontend *string `json:"frontend"`
}
Click to show internal directories.
Click to hide internal directories.