Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "pkg",
Short: "packages util to manage nix packages of kl box",
}
View Source
var ErrNotFound = fn.Error("not found")
Functions ¶
Types ¶
type Package ¶ added in v1.1.0
type Package struct { Name string `json:"name"` NumVersions int `json:"num_versions"` Versions []PackageVersion `json:"versions,omitempty"` }
type PackageInfo ¶ added in v1.1.0
type PackageInfo struct { ID int `json:"id"` CommitHash string `json:"commit_hash"` System string `json:"system"` LastUpdated int `json:"last_updated"` StoreHash string `json:"store_hash"` StoreName string `json:"store_name"` StoreVersion string `json:"store_version"` MetaName string `json:"meta_name"` MetaVersion []string `json:"meta_version"` AttrPaths []string `json:"attr_paths"` Version string `json:"version"` Summary string `json:"summary"` }
type PackageVersion ¶ added in v1.1.0
type PackageVersion struct { PackageInfo Name string `json:"name"` Systems map[string]PackageInfo `json:"systems,omitempty"` }
Click to show internal directories.
Click to hide internal directories.