UNPKG

@hashgraph/solo

Version:

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

15 lines 523 B
// SPDX-License-Identifier: Apache-2.0 export class ExportKubeConfigResponse { _rawOutput; _kubeConfigContext; constructor(_rawOutput) { this._rawOutput = _rawOutput; // Extract context name const contextMatch = this._rawOutput.match(/Set kubectl context to "([^"]+)"/); this._kubeConfigContext = contextMatch ? contextMatch[1] : undefined; } get kubeConfigContext() { return this._kubeConfigContext; } } //# sourceMappingURL=export-kubeconfig-response.js.map