Documentation ¶
Index ¶
- type DnfBackend
- func (b *DnfBackend) AddRepository(_, _ string, _ bool, _ string) (*Repository, error)
- func (b *DnfBackend) Close()
- func (b *DnfBackend) DisableRepository(_ *Repository) error
- func (b *DnfBackend) EnableRepository(repo *Repository) error
- func (b *DnfBackend) GetEnabledRepositories() (repos []*Repository)
- func (b *DnfBackend) GetKernelHeaders(_, _ string) error
- type Repository
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, logger types.Logger) (*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
}
Click to show internal directories.
Click to hide internal directories.