Documentation
¶
Index ¶
Constants ¶
View Source
const ( X86_64Arch Arch = "x86_64" // Default architecture for which scrape for packages. DefaultArch = X86_64Arch CentosType = "centos" )
Variables ¶
View Source
var ( ErrDistroNotConfigured = errors.New("the distro has not been configured") ErrDistroNotFound = errors.New("no distribution found with the specified name") ErrNoDistroVersionSpecified = errors.New("no versions specified") ErrDomainsFromMirrorUrls = errors.New("error while retrieving DNS names from mirrors URLs") )
Functions ¶
func RepositorySliceContains ¶ added in v0.2.0
func RepositorySliceContains(s []packages.Repository, e packages.Repository) bool
Types ¶
type Distro ¶
type Distro interface { // Configure expects distro.Config and arbitrary variables // for config fields that support templating. Configure(Config, map[string]interface{}) error // GetPackages should return a slice of Package based on // the provided Filter-type filter. GetPackages(packages.Filter) ([]packages.Package, error) }
Click to show internal directories.
Click to hide internal directories.