Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmazonRepo ¶
type AmazonRepo struct {
// contains filtered or unexported fields
}
type CentosRepo ¶
type CentosRepo struct {
// contains filtered or unexported fields
}
type DebianRepo ¶
type DebianRepo struct {
// contains filtered or unexported fields
}
func (*DebianRepo) GetKernelPackages ¶
func (d *DebianRepo) GetKernelPackages( ctx context.Context, workDir string, release string, arch string, force bool, jobChan chan<- job.Job, ) error
GetKernelPackages downloads Packages.xz from the main, updates and security, from the official repos and parses the list of kernel packages to download. It then filters out kernel packages that we already have or failed to download. It then process the list of kernel packages: they will be downloaded and then the btf files will be extracted from them.
type FedoraRepo ¶
type FedoraRepo struct {
// contains filtered or unexported fields
}
type Repository ¶
type Repository interface { GetKernelPackages( ctx context.Context, workDir string, release string, arch string, force bool, jobChan chan<- job.Job, ) error }
func NewAmazonRepo ¶
func NewAmazonRepo() Repository
func NewCentOSRepo ¶
func NewCentOSRepo() Repository
func NewDebianRepo ¶
func NewDebianRepo() Repository
func NewFedoraRepo ¶
func NewFedoraRepo() Repository
func NewOracleRepo ¶
func NewOracleRepo() Repository
func NewRHELRepo ¶
func NewRHELRepo() Repository
func NewSUSERepo ¶
func NewSUSERepo() Repository
func NewUbuntuRepo ¶
func NewUbuntuRepo() Repository
type UbuntuRepo ¶
type UbuntuRepo struct {
// contains filtered or unexported fields
}
func (*UbuntuRepo) GetKernelPackages ¶
func (uRepo *UbuntuRepo) GetKernelPackages( ctx context.Context, workDir string, release string, arch string, force bool, jobChan chan<- job.Job, ) error
GetKernelPackages downloads Packages.xz from the main, updates and universe, from the debug repo and parses the list of kernel packages to download. It then filters out kernel packages that we already have or failed to download. It then process the list of kernel packages: they will be downloaded and then the btf files will be extracted from them.