internal/providercache: Remove unused retry events
This commit is contained in:
parent
e27a36cafd
commit
070c3018f8
|
@ -63,11 +63,9 @@ type InstallerEvents struct {
|
|||
// identifier to correlate between successive events.
|
||||
//
|
||||
// The Begin, Success, and Failure events will each occur only once per
|
||||
// distinct provider. The Retry event can occur zero or more times, and
|
||||
// signals a failure that the installer is considering transient.
|
||||
// distinct provider.
|
||||
QueryPackagesBegin func(provider addrs.Provider, versionConstraints getproviders.VersionConstraints)
|
||||
QueryPackagesSuccess func(provider addrs.Provider, selectedVersion getproviders.Version)
|
||||
QueryPackagesRetry func(provider addrs.Provider, err error)
|
||||
QueryPackagesFailure func(provider addrs.Provider, err error)
|
||||
|
||||
// The LinkFromCache... family of events delimit the operation of linking
|
||||
|
@ -99,12 +97,10 @@ type InstallerEvents struct {
|
|||
// or the FetchPackage... events, never both in the same install operation.
|
||||
//
|
||||
// The Query, Begin, Success, and Failure events will each occur only once
|
||||
// per distinct provider. The Retry event can occur zero or more times, and
|
||||
// signals a failure that the installer is considering transient.
|
||||
// per distinct provider.
|
||||
FetchPackageMeta func(provider addrs.Provider, version getproviders.Version) // fetching metadata prior to real download
|
||||
FetchPackageBegin func(provider addrs.Provider, version getproviders.Version, location getproviders.PackageLocation)
|
||||
FetchPackageSuccess func(provider addrs.Provider, version getproviders.Version, localDir string, authResult *getproviders.PackageAuthenticationResult)
|
||||
FetchPackageRetry func(provider addrs.Provider, version getproviders.Version, err error)
|
||||
FetchPackageFailure func(provider addrs.Provider, version getproviders.Version, err error)
|
||||
|
||||
// HashPackageFailure is called if the installer is unable to determine
|
||||
|
|
Loading…
Reference in New Issue