packagemanager

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 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 containerd.SourceName, logger *zap.Logger) (*DistroPackageManager, error)

func (*DistroPackageManager) Configure

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

Configure configures the package manager.

func (*DistroPackageManager) GetContainerd

func (pm *DistroPackageManager) GetContainerd() 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

Jump to

Keyboard shortcuts

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