UNPKG

@hashgraph/solo

Version:

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

45 lines 1.04 kB
// SPDX-License-Identifier: Apache-2.0 /** * Options for the `kind get nodes` command. */ export class GetKubeConfigOptions { /** * The name of the cluster context name (default "kind") */ _name; /** * Use internal or external address */ _internal; constructor(name, internal = false) { if (name) { this._name = name; } this._internal = internal; } /** * Apply the options to the KindExecutionBuilder. * @param builder The KindExecutionBuilder to apply options to. */ apply(builder) { if (this._name) { builder.argument('name', this._name); } if (this._internal) { builder.flag('--internal'); } } /** * The name of the cluster. */ get name() { return this._name; } /** * Whether to use internal or external address. */ get internal() { return this._internal; } } //# sourceMappingURL=get-kubeconfig-options.js.map