Documentation
¶
Index ¶
- type DistroPackageManager
- func (pm *DistroPackageManager) Cleanup() error
- func (pm *DistroPackageManager) Configure(ctx context.Context) error
- func (pm *DistroPackageManager) GetContainerd() artifact.Package
- func (pm *DistroPackageManager) GetIptables() artifact.Package
- func (pm *DistroPackageManager) GetSSMPackage() artifact.Package
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) 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() 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
Click to show internal directories.
Click to hide internal directories.