apt

package
v1.12.12 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: MIT Imports: 18 Imported by: 1

Documentation

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
}

func NewBackend

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

func (*Backend) Close

func (b *Backend) Close()

func (*Backend) GetKernelHeaders

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

type Repository added in v1.12.2

type Repository struct {
	Enabled      bool
	SourceRepo   bool
	Options      string
	URI          string
	Distribution string
	Components   string
	Comment      string
	// contains filtered or unexported fields
}

Repository contains metadata about a repository installed in the system

type RepositoryList added in v1.12.2

type RepositoryList []*Repository

RepositoryList is an array of Repository definitions

Jump to

Keyboard shortcuts

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