Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProFIPS = "fips" ProFIPSUpdates = "fips-updates" ProApps = "esm-apps" ProInfra = "esm-infra" )
Variables ¶
View Source
var ErrCredentialsNotFound = errors.New("credentials not found")
Functions ¶
Types ¶
type Archive ¶
type Archive interface {
Options() *Options
Fetch(pkg string) (io.ReadSeekCloser, *PackageInfo, error)
Exists(pkg string) bool
Info(pkg string) (*PackageInfo, error)
}
type Options ¶
type Options struct {
Label string
Version string
Arch string
Suites []string
Components []string
Pro string
CacheDir string
PubKeys []*packet.PublicKey
// Maintained is set when the archive is still being updated.
Maintained bool
// OldRelease is set for Ubuntu releases which are moved from the regular
// archive which happens after the release's end of life date.
OldRelease bool
}
Click to show internal directories.
Click to hide internal directories.