Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AptPackageManager ¶
type AptPackageManager struct {
// contains filtered or unexported fields
}
func NewAptPackageManager ¶
func NewAptPackageManager() *AptPackageManager
func (*AptPackageManager) GetUpdatesStatus ¶
func (p *AptPackageManager) GetUpdatesStatus(ctx context.Context, logger *logger.Logger) (*models.UpdatesStatus, error)
func (*AptPackageManager) IsAvailable ¶
func (p *AptPackageManager) IsAvailable(ctx context.Context) bool
type PackageManager ¶
type RunnerImpl ¶
type RunnerImpl struct{}
type YumPackageManager ¶
type YumPackageManager struct {
// contains filtered or unexported fields
}
func NewYumPackageManager ¶
func NewYumPackageManager() *YumPackageManager
func (*YumPackageManager) GetUpdatesStatus ¶
func (p *YumPackageManager) GetUpdatesStatus(ctx context.Context, logger *logger.Logger) (*models.UpdatesStatus, error)
func (*YumPackageManager) IsAvailable ¶
func (p *YumPackageManager) IsAvailable(ctx context.Context) bool
type ZypperPackageManager ¶
type ZypperPackageManager struct {
// contains filtered or unexported fields
}
func NewZypperPackageManager ¶
func NewZypperPackageManager() *ZypperPackageManager
func (*ZypperPackageManager) GetUpdatesStatus ¶
func (p *ZypperPackageManager) GetUpdatesStatus(ctx context.Context, logger *logger.Logger) (*models.UpdatesStatus, error)
func (*ZypperPackageManager) IsAvailable ¶
func (p *ZypperPackageManager) IsAvailable(ctx context.Context) bool
Click to show internal directories.
Click to hide internal directories.