UNPKG

@hashgraph/solo

Version:

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

12 lines (11 loc) 766 B
import { type SoloLogger } from '../../core/logging/solo-logger.js'; import { type K8Factory } from '../../integration/kube/k8-factory.js'; import { type RemoteDeploymentInfo } from './remote-deployment-info.js'; /** * Scan all kubeconfig contexts for solo remote-config ConfigMaps and return a map of * deployment name -> {namespace, context}. Contexts that are unreachable are skipped with a * warning. If the same deployment name appears in more than one context, the entry is removed * from the map and the caller receives a warning so it can ask the user to disambiguate via * --deployment / --context flags. */ export declare function findDeploymentsFromRemoteConfig(k8Factory: K8Factory, logger: SoloLogger): Promise<Map<string, RemoteDeploymentInfo>>;