Documentation ¶
Index ¶
- Constants
- func New() system.System
- func ParsePkgSystemError(out, err []byte) error
- func ParseProgressInfo(id, line string) (system.JobProgressInfo, error)
- func WaitDpkgLockRelease()
- type APTSystem
- func (p *APTSystem) Abort(jobId string) error
- func (p *APTSystem) AddCMD(cmd *aptCommand)
- func (p *APTSystem) AttachIndicator(f system.Indicator)
- func (p *APTSystem) Clean(jobId string) error
- func (p *APTSystem) DistUpgrade(jobId string, environ map[string]string) error
- func (p *APTSystem) Download(jobId string, packages []string) error
- func (p *APTSystem) FindCMD(id string) *aptCommand
- func (p *APTSystem) FixError(jobId string, errType string, environ map[string]string) error
- func (p *APTSystem) Install(jobId string, packages []string, environ map[string]string) error
- func (p *APTSystem) Remove(jobId string, packages []string, environ map[string]string) error
- func (p *APTSystem) RemoveCMD(id string)
- func (p *APTSystem) UpdateSource(jobId string) error
- type CommandSet
Constants ¶
View Source
const ( ExitSuccess = 0 ExitFailure = 1 ExitPause = 2 )
Variables ¶
This section is empty.
Functions ¶
func ParsePkgSystemError ¶
func ParseProgressInfo ¶
func ParseProgressInfo(id, line string) (system.JobProgressInfo, error)
func WaitDpkgLockRelease ¶
func WaitDpkgLockRelease()
Types ¶
type APTSystem ¶
type APTSystem struct {
// contains filtered or unexported fields
}
func (*APTSystem) AttachIndicator ¶
func (*APTSystem) DistUpgrade ¶
func (*APTSystem) UpdateSource ¶
type CommandSet ¶
Click to show internal directories.
Click to hide internal directories.