Documentation ¶
Index ¶
- Constants
- func ProxyChecksums() map[string]string
- type CargoPackageInstaller
- type CargoPackageInstallerImpl
- type ChecksumCalculator
- type Cleaner
- type CosignVerifier
- type DedicatedInstaller
- type DownloadParam
- type Executor
- type FileVerifier
- type GitHubArtifactAttestationsVerifier
- type GoBuildInstaller
- type GoBuildInstallerImpl
- type GoInstallInstaller
- type GoInstallInstallerImpl
- type Installer
- func (is *Installer) Copy(dest, src string) error
- func (is *Installer) InstallAqua(ctx context.Context, logE *logrus.Entry, version string) error
- func (is *Installer) InstallPackage(ctx context.Context, logE *logrus.Entry, param *ParamInstallPackage) error
- func (is *Installer) InstallPackages(ctx context.Context, logE *logrus.Entry, param *ParamInstallPackages) error
- func (is *Installer) InstallProxy(ctx context.Context, logE *logrus.Entry) error
- func (is *Installer) SetCopyDir(copyDir string)
- func (is *Installer) WaitExe(ctx context.Context, logE *logrus.Entry, exePath string) error
- type Linker
- type MinisignVerifier
- type MockCargoPackageInstaller
- type MockGoBuildInstaller
- type MockGoInstallInstaller
- type ParamInstallPackage
- type ParamInstallPackages
- type ParamVerifyChecksum
- type SLSAVerifier
- type Unarchiver
Constants ¶
View Source
const ProxyVersion = "v1.2.8" // renovate: depName=aquaproj/aqua-proxy
Variables ¶
This section is empty.
Functions ¶
func ProxyChecksums ¶
Types ¶
type CargoPackageInstaller ¶ added in v2.8.0
type CargoPackageInstallerImpl ¶ added in v2.8.0
type CargoPackageInstallerImpl struct {
// contains filtered or unexported fields
}
func NewCargoPackageInstallerImpl ¶ added in v2.8.0
func NewCargoPackageInstallerImpl(exec Executor, cleaner Cleaner) *CargoPackageInstallerImpl
type ChecksumCalculator ¶
type CosignVerifier ¶ added in v2.16.3
type DedicatedInstaller ¶ added in v2.34.0
type DedicatedInstaller struct {
// contains filtered or unexported fields
}
type DownloadParam ¶
type FileVerifier ¶ added in v2.35.0
type GitHubArtifactAttestationsVerifier ¶ added in v2.35.0
type GitHubArtifactAttestationsVerifier interface {
Verify(ctx context.Context, logE *logrus.Entry, param *ghattestation.ParamVerify) error
}
type GoBuildInstaller ¶ added in v2.11.0
type GoBuildInstallerImpl ¶ added in v2.11.0
type GoBuildInstallerImpl struct {
// contains filtered or unexported fields
}
func NewGoBuildInstallerImpl ¶ added in v2.11.0
func NewGoBuildInstallerImpl(exec Executor) *GoBuildInstallerImpl
type GoInstallInstaller ¶ added in v2.7.0
type GoInstallInstallerImpl ¶ added in v2.7.0
type GoInstallInstallerImpl struct {
// contains filtered or unexported fields
}
func NewGoInstallInstallerImpl ¶ added in v2.7.0
func NewGoInstallInstallerImpl(exec Executor) *GoInstallInstallerImpl
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func New ¶
func New(param *config.Param, downloader download.ClientAPI, rt *runtime.Runtime, fs afero.Fs, linker Linker, chkDL download.ChecksumDownloader, chkCalc ChecksumCalculator, unarchiver Unarchiver, cosignVerifier CosignVerifier, slsaVerifier SLSAVerifier, minisignVerifier MinisignVerifier, ghVerifier GitHubArtifactAttestationsVerifier, goInstallInstaller GoInstallInstaller, goBuildInstaller GoBuildInstaller, cargoPackageInstaller CargoPackageInstaller) *Installer
func (*Installer) InstallAqua ¶ added in v2.16.4
func (*Installer) InstallPackage ¶
func (*Installer) InstallPackages ¶
func (*Installer) InstallProxy ¶
func (*Installer) SetCopyDir ¶ added in v2.16.4
type Linker ¶ added in v2.16.3
type Linker interface { Lstat(s string) (os.FileInfo, error) Symlink(dest, src string) error Hardlink(dest, src string) error Readlink(src string) (string, error) }
func NewMockLinker ¶ added in v2.16.3
type MinisignVerifier ¶ added in v2.31.0
type MockCargoPackageInstaller ¶ added in v2.8.0
type MockCargoPackageInstaller struct {
Err error
}
type MockGoBuildInstaller ¶ added in v2.11.0
type MockGoBuildInstaller struct {
Err error
}
type MockGoInstallInstaller ¶ added in v2.7.0
type MockGoInstallInstaller struct {
Err error
}
type ParamInstallPackage ¶
type ParamInstallPackages ¶
type ParamVerifyChecksum ¶
type SLSAVerifier ¶
Source Files ¶
- aqua.go
- cargo.go
- check_file.go
- checksum.go
- copy.go
- dedicated_installer.go
- download.go
- error.go
- find_src.go
- go_build.go
- go_install.go
- installer.go
- link.go
- linker.go
- mock_cargo.go
- mock_go_build.go
- mock_go_install.go
- proxy.go
- public.go
- validate.go
- verify_cosign.go
- verify_github_artifact_attestation.go
- verify_minisign.go
- verify_slsa.go
- wait_exe.go
Click to show internal directories.
Click to hide internal directories.