Documentation ¶
Index ¶
- Variables
- type FailedIgnoredPkgError
- type FindPkgDestError
- type Installer
- func (installer *Installer) AddPostInstallHook(hook PostInstallHookFunc)
- func (installer *Installer) CompileFailedAndIgnored() (map[string]error, error)
- func (installer *Installer) Install(ctx context.Context, cmdArgs *parser.Arguments, ...) error
- func (installer *Installer) RunPostInstallHooks(ctx context.Context) error
- type NoPkgDestsFoundError
- type PkgDestNotInListError
- type PostInstallHookFunc
- type SetPkgReasonError
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInstallRepoPkgs = errors.New(gotext.Get("error installing repo packages"))
Functions ¶
This section is empty.
Types ¶
type FailedIgnoredPkgError ¶
type FailedIgnoredPkgError struct {
// contains filtered or unexported fields
}
func (*FailedIgnoredPkgError) Error ¶
func (e *FailedIgnoredPkgError) Error() string
type FindPkgDestError ¶
type FindPkgDestError struct {
// contains filtered or unexported fields
}
func (*FindPkgDestError) Error ¶
func (e *FindPkgDestError) Error() string
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func NewInstaller ¶
func NewInstaller(dbExecutor db.Executor, exeCmd exe.ICmdBuilder, vcsStore vcs.Store, targetMode parser.TargetMode, rebuildMode parser.RebuildMode, downloadOnly bool, logger *text.Logger, ) *Installer
func (*Installer) AddPostInstallHook ¶
func (installer *Installer) AddPostInstallHook(hook PostInstallHookFunc)
func (*Installer) CompileFailedAndIgnored ¶
type NoPkgDestsFoundError ¶
type NoPkgDestsFoundError struct {
// contains filtered or unexported fields
}
func (*NoPkgDestsFoundError) Error ¶
func (e *NoPkgDestsFoundError) Error() string
type PkgDestNotInListError ¶
type PkgDestNotInListError struct {
// contains filtered or unexported fields
}
func (*PkgDestNotInListError) Error ¶
func (e *PkgDestNotInListError) Error() string
type PostInstallHookFunc ¶
type SetPkgReasonError ¶
type SetPkgReasonError struct {
// contains filtered or unexported fields
}
func (*SetPkgReasonError) Error ¶
func (e *SetPkgReasonError) Error() string
Click to show internal directories.
Click to hide internal directories.