Documentation
¶
Overview ¶
Package hab provides utility functions for working with Habitat https://www.habitat.sh.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Depot ¶
type Depot interface {
PackageVersionsFromName(pkgName string, habChannel string) ([]string, error)
}
Depot for hab.
type PackageInfo ¶
type PackageInfo struct {
Origin string `json:"origin"`
Name string `json:"name"`
Version string `json:"version"`
Release string `json:"release"`
Channels []string `json:"channels"`
}
PackageInfo is package info in pkgs response.
type PackagesInfo ¶
type PackagesInfo struct {
RangeStart int `json:"range_start"`
RangeEnd int `json:"range_end"`
TotalCount int `json:"total_count"`
PackageList []PackageInfo `json:"data"`
}
PackagesInfo is response from depot.
Click to show internal directories.
Click to hide internal directories.