packagemanager

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistroPackageManager

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

DistroPackageManager defines a new package manager using apt or yum

func New

func New(containerdSource tracker.ContainerdSourceName, logger *zap.Logger) (*DistroPackageManager, error)

func (*DistroPackageManager) Cleanup added in v1.0.2

func (pm *DistroPackageManager) Cleanup() error

Cleanup cleans up any artifacts used by package manager during nodeadm install process

func (*DistroPackageManager) Configure

func (pm *DistroPackageManager) Configure(ctx context.Context) error

Configure configures the package manager.

func (*DistroPackageManager) GetContainerd

func (pm *DistroPackageManager) GetContainerd(version string) artifact.Package

GetContainerd gets the Package Satisfies the containerd source interface

func (*DistroPackageManager) GetIptables

func (pm *DistroPackageManager) GetIptables() artifact.Package

GetIptables satisfies the getiptables source interface

func (*DistroPackageManager) GetSSMPackage

func (pm *DistroPackageManager) GetSSMPackage() artifact.Package

GetSSMPackage satisfies the getssmpackage source interface

func (*DistroPackageManager) RefreshMetadataCache added in v1.0.4

func (pm *DistroPackageManager) RefreshMetadataCache(ctx context.Context) error

RefreshMetadataCache refreshes the package managers metadata cache

Jump to

Keyboard shortcuts

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