apt

package
v0.0.0-...-a5a9a89 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package apt is a backend for APT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

Backend implements types.Backend for APT

func NewBackend

func NewBackend(target *types.Target, aptConfigDir string, logger types.Logger) (*Backend, error)

NewBackend creates a backend for APT

func (*Backend) Close

func (b *Backend) Close()

Close releases resources.

func (*Backend) GetKernelHeaders

func (b *Backend) GetKernelHeaders(directory string) error

GetKernelHeaders downloads the headers to the provided directory.

Jump to

Keyboard shortcuts

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