UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

33 lines (32 loc) 1.46 kB
import { BaseDependencyManager } from './base-dependency-manager.js'; import { PackageDownloader } from '../package-downloader.js'; export declare class GvproxyDependencyManager extends BaseDependencyManager { protected checksum: string; protected releaseBaseUrl: string; protected artifactFileName: string; protected artifactVersion: string; constructor(downloader: PackageDownloader, installationDirectory: string, osArch: string, gvproxyVersion: string); /** * Get the Gvproxy artifact name based on version, OS, and architecture */ protected getArtifactName(): string; getVersion(executableWithPath: string): Promise<string>; /** * Determine the appropriate asset name for the current platform and architecture * based on the naming conventions used in gvproxy GitHub releases */ private getAssetName; /** * Fetches the latest release information from GitHub API * @returns Promise with the release base URL, asset name, digest, and version */ private fetchReleaseInfo; protected preInstall(): Promise<void>; protected getDownloadURL(): string; /** * Handle any post-download processing before copying to destination * Child classes can override this for custom extraction or processing */ protected processDownloadedPackage(packageFilePath: string, temporaryDirectory: string): Promise<string[]>; protected getChecksumURL(): string; }