Documentation ¶
Index ¶
- Constants
- type Manager
- func (m *Manager) Exists() bool
- func (m *Manager) Install(pkgs ...pkg.Packager) error
- func (m *Manager) InstallByName(pkgs ...string) error
- func (m *Manager) InstallManager() error
- func (m *Manager) IsInLocal(p pkg.Packager) bool
- func (m *Manager) IsInRepo(pkg pkg.Packager) bool
- func (m *Manager) IsInstalled() bool
- func (m *Manager) LocalPkgByName(name string) (pkg.Packager, error)
- func (m *Manager) LocalPkgs() ([]pkg.Packager, error)
- func (m *Manager) Name() string
- func (m *Manager) RepoPkgByName(name string) (pkg.Packager, error)
- func (m *Manager) RequireAdmin() bool
- func (m *Manager) SearchInLocal(p string) ([]pkg.Packager, error)
- func (m *Manager) SearchInRepo(pkgName string) ([]pkg.Packager, error)
- func (m *Manager) Uninstall(pkgs ...pkg.Packager) error
- func (m *Manager) UninstallByName(pkgs ...string) error
- func (m *Manager) Version() string
- type Package
- func (p *Package) ExistsManager() bool
- func (p *Package) Install() error
- func (p *Package) Installed() bool
- func (p *Package) Local() bool
- func (p *Package) Manager() pkg.Managerer
- func (p *Package) Name() string
- func (p *Package) Reinstall() error
- func (p *Package) Repo() bool
- func (p *Package) Uninstall() error
- func (p *Package) Version() string
Constants ¶
View Source
const ManagerName = "Chocolatey"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { HideActions bool // contains filtered or unexported fields }
TODO:Document this.
func (*Manager) InstallByName ¶
func (*Manager) InstallManager ¶
func (*Manager) IsInstalled ¶
func (*Manager) LocalPkgByName ¶
func (*Manager) RequireAdmin ¶
func (*Manager) SearchInRepo ¶
func (*Manager) UninstallByName ¶
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
TODO:Document this.
func (*Package) ExistsManager ¶
Click to show internal directories.
Click to hide internal directories.