Documentation ¶
Index ¶
- func CleanBazaarPackageCache()
- func GetPackageREADME(repoURL, repoHash, packageType string) (ret string)
- func GetPreferredName(pkg *Package) string
- func InstallIcon(repoURL, repoHash, installPath string, systemID string) error
- func InstallPlugin(repoURL, repoHash, installPath string, systemID string) error
- func InstallTemplate(repoURL, repoHash, installPath string, systemID string) error
- func InstallTheme(repoURL, repoHash, installPath string, systemID string) error
- func InstallWidget(repoURL, repoHash, installPath string, systemID string) error
- func ParseInstalledPlugin(name, frontend string) (found bool, displayName string, incompatible bool)
- func UninstallIcon(installPath string) error
- func UninstallPlugin(installPath string) error
- func UninstallTemplate(installPath string) error
- func UninstallTheme(installPath string) error
- func UninstallWidget(installPath string) error
- type Description
- type DisplayName
- type Funding
- type Icon
- type Package
- type Plugin
- type Readme
- type StageIndex
- type StagePackage
- type StageRepo
- type Template
- type Theme
- type Widget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanBazaarPackageCache ¶
func CleanBazaarPackageCache()
func GetPackageREADME ¶
func GetPreferredName ¶
func InstallIcon ¶
func InstallPlugin ¶
func InstallTemplate ¶
func InstallTheme ¶
func InstallWidget ¶
func ParseInstalledPlugin ¶
func UninstallIcon ¶
func UninstallPlugin ¶
func UninstallTemplate ¶
func UninstallTheme ¶
func UninstallWidget ¶
Types ¶
type Description ¶
type Description struct { Default string `json:"default"` DeDE string `json:"de_DE"` EnUS string `json:"en_US"` EsES string `json:"es_ES"` FrFR string `json:"fr_FR"` HeIL string `json:"he_IL"` ItIT string `json:"it_IT"` JaJP string `json:"ja_JP"` PlPL string `json:"pl_PL"` RuRU string `json:"ru_RU"` ZhCHT string `json:"zh_CHT"` ZhCN string `json:"zh_CN"` }
type DisplayName ¶
type DisplayName struct { Default string `json:"default"` DeDE string `json:"de_DE"` EnUS string `json:"en_US"` EsES string `json:"es_ES"` FrFR string `json:"fr_FR"` HeIL string `json:"he_IL"` ItIT string `json:"it_IT"` JaJP string `json:"ja_JP"` PlPL string `json:"pl_PL"` RuRU string `json:"ru_RU"` ZhCHT string `json:"zh_CHT"` ZhCN string `json:"zh_CN"` }
type Package ¶
type Package struct { Author string `json:"author"` URL string `json:"url"` Version string `json:"version"` MinAppVersion string `json:"minAppVersion"` Backends []string `json:"backends"` Frontends []string `json:"frontends"` DisplayName *DisplayName `json:"displayName"` Description *Description `json:"description"` Readme *Readme `json:"readme"` Funding *Funding `json:"funding"` Keywords []string `json:"keywords"` PreferredFunding string `json:"preferredFunding"` PreferredName string `json:"preferredName"` PreferredDesc string `json:"preferredDesc"` PreferredReadme string `json:"preferredReadme"` Name string `json:"name"` RepoURL string `json:"repoURL"` RepoHash string `json:"repoHash"` PreviewURL string `json:"previewURL"` PreviewURLThumb string `json:"previewURLThumb"` IconURL string `json:"iconURL"` Installed bool `json:"installed"` Outdated bool `json:"outdated"` Current bool `json:"current"` Updated string `json:"updated"` Stars int `json:"stars"` OpenIssues int `json:"openIssues"` Size int64 `json:"size"` HSize string `json:"hSize"` InstallSize int64 `json:"installSize"` HInstallSize string `json:"hInstallSize"` HInstallDate string `json:"hInstallDate"` HUpdated string `json:"hUpdated"` Downloads int `json:"downloads"` Incompatible bool `json:"incompatible"` }
type Readme ¶
type Readme struct { Default string `json:"default"` DeDE string `json:"de_DE"` EnUS string `json:"en_US"` EsES string `json:"es_ES"` FrFR string `json:"fr_FR"` HeIL string `json:"he_IL"` ItIT string `json:"it_IT"` JaJP string `json:"ja_JP"` PlPL string `json:"pl_PL"` RuRU string `json:"ru_RU"` ZhCHT string `json:"zh_CHT"` ZhCN string `json:"zh_CN"` }
type StageIndex ¶
type StageIndex struct {
Repos []*StageRepo `json:"repos"`
}
type StagePackage ¶
type Template ¶
type Template struct {
*Package
}
func InstalledTemplates ¶
func InstalledTemplates() (ret []*Template)
func TemplateJSON ¶
type Theme ¶
func InstalledThemes ¶
func InstalledThemes() (ret []*Theme)
Click to show internal directories.
Click to hide internal directories.