Documentation
¶
Index ¶
- func DetectdnfBinary() (string, error)
- func DnfBinaryFrom(path string) (string, error)
- type Dnf
- func (a *Dnf) Depends(packageName string, opt *Options) ([]Package, error)
- func (a *Dnf) Install(packageName string, opt *Options) error
- func (a *Dnf) List(opt *Options) error
- func (a *Dnf) Remove(packageName string, opt *Options) error
- func (a *Dnf) Search(packageName string, opt *Options) error
- func (a *Dnf) Update(packageName string, opt *Options) error
- type Options
- type Package
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectdnfBinary ¶
Function used to find the dnf binary in the system.
func DnfBinaryFrom ¶
Types ¶
type Dnf ¶
type Dnf struct {
// contains filtered or unexported fields
}
Dnf represents the DNF client.
Click to show internal directories.
Click to hide internal directories.