Documentation ¶
Index ¶
- type Binary
- type InstallOption
- type Manager
- func (manager *Manager) InfoVersions(pkg string) ([]*semver.Version, error)
- func (manager *Manager) Init() error
- func (manager *Manager) Install(packages []string, options ...InstallOption) error
- func (manager *Manager) InstallAll() error
- func (manager *Manager) List() ([]*Binary, error)
- func (manager *Manager) Uninstall(packages []string) error
- func (manager *Manager) Update(packages []string) error
- func (manager *Manager) UpdateAll() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallOption ¶
type InstallOption func(*installOptions)
func InstallOptionEnv ¶
func InstallOptionEnv(env []string) InstallOption
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) InfoVersions ¶
func (*Manager) Install ¶
func (manager *Manager) Install(packages []string, options ...InstallOption) error
func (*Manager) InstallAll ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.