Documentation ¶
Index ¶
- Constants
- func ProxyChecksums() map[string]string
- 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 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 ¶
Types ¶
type ChecksumCalculator ¶
type DownloadParam ¶
type InstallerImpl ¶
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 ¶
func (inst *InstallerImpl) Copy(dest, src string) error
func (*InstallerImpl) InstallAqua ¶
func (*InstallerImpl) InstallPackage ¶
func (inst *InstallerImpl) InstallPackage(ctx context.Context, logE *logrus.Entry, param *ParamInstallPackage) error
func (*InstallerImpl) InstallPackages ¶
func (inst *InstallerImpl) InstallPackages(ctx context.Context, logE *logrus.Entry, param *ParamInstallPackages) error
func (*InstallerImpl) InstallProxy ¶
func (*InstallerImpl) SetCopyDir ¶
func (inst *InstallerImpl) SetCopyDir(copyDir string)
type ParamInstallPackage ¶
type ParamInstallPackages ¶
type ParamVerifyChecksum ¶
type SLSAVerifier ¶
type SLSAVerifier struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.