UNPKG

@hashgraph/solo

Version:

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

30 lines (29 loc) 1.07 kB
/** * SPDX-License-Identifier: Apache-2.0 */ import { type NamespaceName } from './kube/resources/namespace/namespace_name.js'; import { type SoloLogger } from './logging.js'; import { type K8Factory } from './kube/k8_factory.js'; /** * Class to manage network nodes */ export declare class NetworkNodes { private readonly logger?; private readonly k8Factory?; constructor(logger?: SoloLogger, k8Factory?: K8Factory); /** * Download logs files from all network pods and save to local solo log directory * @param namespace - the namespace of the network * @returns a promise that resolves when the logs are downloaded */ getLogs(namespace: NamespaceName): Promise<any[]>; private getLog; /** * Download state files from a pod * @param namespace - the namespace of the network * @param nodeAlias - the pod name * @returns a promise that resolves when the state files are downloaded */ getStatesFromPod(namespace: NamespaceName, nodeAlias: string): Promise<any[]>; private getState; }