Documentation
¶
Index ¶
- Variables
- func LinuxPMName() (string, error)
- func PMName() (string, error)
- type Package
- type Provider
- func (p *Provider) GetInstalled(args ...string) ([]Package, error)
- func (p *Provider) GetUpdates(args ...string) ([]Package, error)
- func (p *Provider) Info(args ...string)
- func (p *Provider) Install(args ...string)
- func (p *Provider) ListInstalled(args ...string)
- func (p *Provider) ListUpdates(args ...string)
- func (p *Provider) Name() string
- func (p *Provider) ParseList(list []string) ([]Package, error)
- func (p *Provider) Provides(args ...string)
- func (p *Provider) Remove(args ...string)
- func (p *Provider) Search(args ...string)
- func (p *Provider) UpdateIndex(args ...string)
- func (p *Provider) Upgrade(args ...string)
- func (p *Provider) UpgradeAll(args ...string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Providers map[string]Provider
Functions ¶
func LinuxPMName ¶
Types ¶
type Package ¶
Describe one package for lists.
func ParseListYUM ¶
"^<package>.<arch>\s+<version>\s+<repo>$".
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
/ Set of arguments for package manager.
func GetProvider ¶
func (*Provider) ListInstalled ¶
List installed packages.
func (*Provider) ListUpdates ¶
List upgradable packages.
Click to show internal directories.
Click to hide internal directories.