dnf

package
Version: v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnfBackend

type DnfBackend struct {
}

func NewDnfBackend

func NewDnfBackend(_, _ string, _ types.Logger, _ *types.Target) (*DnfBackend, error)

func (*DnfBackend) AddRepository

func (b *DnfBackend) AddRepository(_, _ string, _ bool, _ string) (*Repository, error)

func (*DnfBackend) Close

func (b *DnfBackend) Close()

func (*DnfBackend) DisableRepository

func (b *DnfBackend) DisableRepository(_ *Repository) error

func (*DnfBackend) EnableRepository

func (b *DnfBackend) EnableRepository(repo *Repository) error

func (*DnfBackend) GetEnabledRepositories

func (b *DnfBackend) GetEnabledRepositories() (repos []*Repository)

func (*DnfBackend) GetKernelHeaders

func (b *DnfBackend) GetKernelHeaders(_, _ string) error

type Repository

type Repository struct {
	Id string
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL