Documentation ¶
Index ¶
- Constants
- type ChecksumCalculator
- type DownloadParam
- type Executor
- type Installer
- func (inst *Installer) Copy(dest, src string) error
- func (inst *Installer) InstallAqua(ctx context.Context, logE *logrus.Entry, version string) error
- func (inst *Installer) InstallPackage(ctx context.Context, logE *logrus.Entry, param *domain.ParamInstallPackage) error
- func (inst *Installer) InstallPackages(ctx context.Context, logE *logrus.Entry, param *domain.ParamInstallPackages) error
- func (inst *Installer) InstallProxy(ctx context.Context, logE *logrus.Entry) error
- func (inst *Installer) SetCopyDir(copyDir string)
- func (inst *Installer) WaitExe(ctx context.Context, logE *logrus.Entry, exePath string) error
- type MockChecksumCalculator
- type MockUnarchiver
- type ParamVerifyChecksum
- type Unarchiver
Constants ¶
View Source
const ProxyVersion = "v1.1.2" // renovate: depName=aquaproj/aqua-proxy
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChecksumCalculator ¶ added in v1.20.0
type DownloadParam ¶ added in v1.18.0
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func New ¶
func New(param *config.Param, downloader domain.PackageDownloader, rt *runtime.Runtime, fs afero.Fs, linker domain.Linker, executor Executor, chkDL domain.ChecksumDownloader, chkCalc ChecksumCalculator, unarchiver Unarchiver, policyChecker domain.PolicyChecker) *Installer
func (*Installer) InstallAqua ¶ added in v1.22.0
func (*Installer) InstallPackage ¶
func (*Installer) InstallPackages ¶
func (*Installer) InstallProxy ¶
func (*Installer) SetCopyDir ¶ added in v1.20.0
type MockChecksumCalculator ¶ added in v1.22.0
type MockUnarchiver ¶ added in v1.22.0
type MockUnarchiver struct {
Err error
}
type ParamVerifyChecksum ¶ added in v1.20.0
Click to show internal directories.
Click to hide internal directories.