UNPKG

@hashgraph/solo

Version:

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

29 lines (28 loc) 1.29 kB
import { BaseDependencyManager } from './base-dependency-manager.js'; import { PackageDownloader } from '../package-downloader.js'; export declare class VfkitDependencyManager extends BaseDependencyManager { protected checksum: string; protected releaseBaseUrl: string; protected artifactFileName: string; protected artifactVersion: string; constructor(downloader: PackageDownloader, installationDirectory: string, osArch: string, vfkitVersion: string); getVerifyChecksum(): boolean; /** * Get the Vfkit artifact name based on version, OS, and architecture */ protected getArtifactName(): string; getVersion(executableWithPath: string): Promise<string>; /** * 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; }