Documentation ¶
Index ¶
- Constants
- func ProxyChecksums() map[string]string
- type ChecksumCalculator
- type Cosign
- type DownloadParam
- type Executor
- type FileNotFoundError
- 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 ParamInstallPackage
- type ParamInstallPackages
- type ParamVerifyChecksum
- type SLSAVerifier
Constants ¶
View Source
const ProxyVersion = "v1.1.4" // renovate: depName=aquaproj/aqua-proxy
Variables ¶
This section is empty.
Functions ¶
func ProxyChecksums ¶ added in v1.30.3
Types ¶
type ChecksumCalculator ¶ added in v1.20.0
type DownloadParam ¶ added in v1.18.0
type FileNotFoundError ¶ added in v1.36.0
type FileNotFoundError struct {
// contains filtered or unexported fields
}
func (*FileNotFoundError) Error ¶ added in v1.36.0
func (errorFileNotFound *FileNotFoundError) Error() string
func (*FileNotFoundError) Unwrap ¶ added in v1.36.0
func (errorFileNotFound *FileNotFoundError) Unwrap() error
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 unarchive.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 ParamInstallPackage ¶ added in v1.29.0
type ParamInstallPackages ¶ added in v1.29.0
type ParamVerifyChecksum ¶ added in v1.20.0
type SLSAVerifier ¶ added in v1.36.1
type SLSAVerifier struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.