Documentation
¶
Overview ¶
Package profilesmanager provides support for managing jiri profiles. In particular for installing and uninstalling them. It provides a registration mechanism for profile implementations to call from an init function to add themselves to the suite profiles available within this application.
Index ¶
- func EnsureProfileTargetIsInstalled(jirix *jiri.X, pdb *profiles.DB, installer, profile string, root jiri.RelPath, ...) error
- func EnsureProfileTargetIsUninstalled(jirix *jiri.X, pdb *profiles.DB, installer, profile string, root jiri.RelPath, ...) error
- func LookupManager(name string) profiles.Manager
- func Managers() []string
- func Register(mgr profiles.Manager)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureProfileTargetIsInstalled ¶
func EnsureProfileTargetIsInstalled(jirix *jiri.X, pdb *profiles.DB, installer, profile string, root jiri.RelPath, target profiles.Target) error
EnsureProfileTargetIsInstalled ensures that the requested profile and target is installed, installing it if only if necessary.
func EnsureProfileTargetIsUninstalled ¶
func EnsureProfileTargetIsUninstalled(jirix *jiri.X, pdb *profiles.DB, installer, profile string, root jiri.RelPath, target profiles.Target) error
EnsureProfileTargetIsUninstalled ensures that the requested profile and target are no longer installed.
func LookupManager ¶
LookupManager returns the manager for the named, in-process, profile or nil if one is not found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.