build

package
v12.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

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

func (installer *Installer) CompileFailedAndIgnored() (map[string]error, error)

func (*Installer) Install

func (installer *Installer) Install(ctx context.Context,
	cmdArgs *parser.Arguments,
	targets []map[string]*dep.InstallInfo,
	pkgBuildDirs map[string]string,
	excluded []string,
	manualConfirmRequired bool,
) error

func (*Installer) RunPostInstallHooks

func (installer *Installer) RunPostInstallHooks(ctx context.Context) error

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 PostInstallHookFunc func(ctx context.Context) error

type SetPkgReasonError

type SetPkgReasonError struct {
	// contains filtered or unexported fields
}

func (*SetPkgReasonError) Error

func (e *SetPkgReasonError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL