UNPKG

@hashgraph/solo

Version:

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

53 lines (52 loc) 1.84 kB
import { ShellRunner } from './shell_runner.js'; export declare class Helm extends ShellRunner { private readonly osPlatform?; private readonly helmPath; constructor(osPlatform?: NodeJS.Platform); /** * Prepare a `helm` shell command string * @param action - represents a helm command (e.g. create | install | get ) * @param args - args of the command */ prepareCommand(action: string, ...args: string[]): string; /** * Invoke `helm install` command * @param args - args of the command * @returns console output as an array of strings */ install(...args: string[]): Promise<string[]>; /** * Invoke `helm uninstall` command * @param args - args of the command * @returns console output as an array of strings */ uninstall(...args: string[]): Promise<string[]>; /** * Invoke `helm upgrade` command * @param args - args of the command * @returns console output as an array of strings */ upgrade(...args: string[]): Promise<string[]>; /** * Invoke `helm list` command * @param args - args of the command * @returns console output as an array of strings */ list(...args: string[]): Promise<string[]>; /** * Invoke `helm dependency` command * @param subCommand - sub-command * @param args - args of the command * @returns console output as an array of strings */ dependency(subCommand: string, ...args: string[]): Promise<string[]>; /** * Invoke `helm repo` command * @param subCommand - sub-command * @param args - args of the command * @returns console output as an array of strings */ repo(subCommand: string, ...args: string[]): Promise<string[]>; /** Get helm version */ version(args?: string[]): Promise<string[]>; }