Documentation ¶
Index ¶
- Constants
- type ChecksumCalculator
- type Cosign
- type DownloadParam
- type Executor
- type Installer
- type InstallerImpl
- func (inst *InstallerImpl) Copy(dest, src string) error
- func (inst *InstallerImpl) InstallAqua(ctx context.Context, logE *logrus.Entry, version string) error
- func (inst *InstallerImpl) InstallPackage(ctx context.Context, logE *logrus.Entry, param *ParamInstallPackage) error
- func (inst *InstallerImpl) InstallPackages(ctx context.Context, logE *logrus.Entry, param *ParamInstallPackages) error
- func (inst *InstallerImpl) InstallProxy(ctx context.Context, logE *logrus.Entry) error
- func (inst *InstallerImpl) SetCopyDir(copyDir string)
- func (inst *InstallerImpl) WaitExe(ctx context.Context, logE *logrus.Entry, exePath string) error
- type MockUnarchiver
- type ParamInstallPackage
- type ParamInstallPackages
- 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 InstallerImpl ¶ added in v1.29.0
type InstallerImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(param *config.Param, downloader download.ClientAPI, rt *runtime.Runtime, fs afero.Fs, linker domain.Linker, executor Executor, chkDL download.ChecksumDownloader, chkCalc ChecksumCalculator, unarchiver Unarchiver, policyChecker policy.Checker, cosignVerifier cosign.Verifier, slsaVerifier slsa.Verifier) *InstallerImpl
func (*InstallerImpl) Copy ¶ added in v1.29.0
func (inst *InstallerImpl) Copy(dest, src string) error
func (*InstallerImpl) InstallAqua ¶ added in v1.29.0
func (*InstallerImpl) InstallPackage ¶ added in v1.29.0
func (inst *InstallerImpl) InstallPackage(ctx context.Context, logE *logrus.Entry, param *ParamInstallPackage) error
func (*InstallerImpl) InstallPackages ¶ added in v1.29.0
func (inst *InstallerImpl) InstallPackages(ctx context.Context, logE *logrus.Entry, param *ParamInstallPackages) error
func (*InstallerImpl) InstallProxy ¶ added in v1.29.0
func (*InstallerImpl) SetCopyDir ¶ added in v1.29.0
func (inst *InstallerImpl) SetCopyDir(copyDir string)
type MockUnarchiver ¶ added in v1.22.0
type MockUnarchiver struct {
Err error
}
type ParamInstallPackage ¶ added in v1.29.0
type ParamInstallPackages ¶ added in v1.29.0
type ParamVerifyChecksum ¶ added in v1.20.0
Click to show internal directories.
Click to hide internal directories.