pkgmanager

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package pkgmanager contains pkgmanager implementations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AptPackageManager

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

AptPackageManager struct for Apt package manager

func NewAptPackageManager

func NewAptPackageManager(host *components.RemoteHost) *AptPackageManager

NewAptPackageManager return apt package manager

func (*AptPackageManager) Remove

func (s *AptPackageManager) Remove(pkg string) (string, error)

Remove call remove from apt

type YumPackageManager added in v0.51.0

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

YumPackageManager struct for the Yum package manager

func NewYumPackageManager added in v0.51.0

func NewYumPackageManager(host *components.RemoteHost) *YumPackageManager

NewYumPackageManager return yum package manager

func (*YumPackageManager) Remove added in v0.51.0

func (s *YumPackageManager) Remove(pkg string) (string, error)

Remove executes remove command from yum

type ZypperPackageManager added in v0.51.0

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

ZypperPackageManager is a package manager for zypper

func NewZypperPackageManager added in v0.51.0

func NewZypperPackageManager(host *components.RemoteHost) *ZypperPackageManager

NewZypperPackageManager return zypper package manager

func (*ZypperPackageManager) Remove added in v0.51.0

func (s *ZypperPackageManager) Remove(pkg string) (string, error)

Remove executes remove command from zypper

Jump to

Keyboard shortcuts

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