pkgmanager

package
v0.52.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 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 Apt added in v0.52.0

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

Apt struct for Apt package manager

func NewApt added in v0.52.0

func NewApt(host *components.RemoteHost) *Apt

NewApt return apt package manager

func (*Apt) Remove added in v0.52.0

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

Remove call remove from apt

type PackageManager added in v0.52.0

type PackageManager interface {
	Remove(pkg string) (string, error)
}

PackageManager generic interface

type Yum added in v0.52.0

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

Yum struct for the Yum package manager

func NewYum added in v0.52.0

func NewYum(host *components.RemoteHost) *Yum

NewYum return yum package manager

func (*Yum) Remove added in v0.52.0

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

Remove executes remove command from yum

type Zypper added in v0.52.0

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

Zypper is a package manager for zypper

func NewZypper added in v0.52.0

func NewZypper(host *components.RemoteHost) *Zypper

NewZypper return zypper package manager

func (*Zypper) Remove added in v0.52.0

func (s *Zypper) 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