Documentation ¶
Index ¶
- type Package
- func (p Package) Equal(pp Package) bool
- func (p Package) EqualNoV(pp Package) bool
- func (p Package) EqualS(s string) bool
- func (p Package) EqualSV(s string) bool
- func (p Package) Image(repository string) string
- func (p Package) ImageAvailable(repository string) bool
- func (p Package) ImageMetadata(repository string) string
- func (p Package) ImageTag() string
- func (p Package) String() string
- type Packages
- type SearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct {
Name, Category, Version, Path string
}
func (Package) ImageAvailable ¶
func (Package) ImageMetadata ¶
type SearchResult ¶
type SearchResult struct {
Packages []Package
}
func TreePackages ¶
func TreePackages(treedir string) (searchResult SearchResult, err error)
func (SearchResult) FilterByCategory ¶
func (s SearchResult) FilterByCategory(cat string) SearchResult
func (SearchResult) FilterByName ¶
func (s SearchResult) FilterByName(name string) SearchResult
Click to show internal directories.
Click to hide internal directories.