packages

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectPackagesUpdates

func CollectPackagesUpdates(ctx context.Context) *payload.PackagesUpdates

CollectPackagesUpdates fills pending/security counts, installed package count, and a capped list of security-only package names. Prefers apt (Debian/Ubuntu), then dnf, then yum (RHEL family), then apk (Alpine), then pacman (Arch-style).

func InstalledPackageCountBestEffort

func InstalledPackageCountBestEffort() int

InstalledPackageCountBestEffort counts installed packages when dpkg/rpm/apk/pacman exists (0 if none or on failure).

Types

This section is empty.

Jump to

Keyboard shortcuts

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