repo

package
v0.0.0-...-13344a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

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
}

func (*AmazonRepo) GetKernelPackages

func (d *AmazonRepo) GetKernelPackages(
	ctx context.Context,
	workDir string,
	release string,
	arch string,
	force bool,
	jobChan chan<- job.Job,
) error

type CentosRepo

type CentosRepo struct {
	// contains filtered or unexported fields
}

func (*CentosRepo) GetKernelPackages

func (d *CentosRepo) GetKernelPackages(
	ctx context.Context,
	workDir string,
	release string,
	arch string,
	force bool,
	jobChan chan<- job.Job,
) error

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
}

func (*FedoraRepo) GetKernelPackages

func (d *FedoraRepo) GetKernelPackages(
	ctx context.Context,
	workDir string,
	release string,
	arch string,
	force bool,
	jobChan chan<- job.Job,
) error

type RHELRepo

type RHELRepo struct {
	// contains filtered or unexported fields
}

func (*RHELRepo) GetKernelPackages

func (d *RHELRepo) GetKernelPackages(
	ctx context.Context,
	workDir string,
	release string,
	arch string,
	force bool,
	jobChan chan<- job.Job,
) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL