UNPKG

@hashgraph/solo

Version:

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

53 lines 1.23 kB
// SPDX-License-Identifier: Apache-2.0 /** * Options for the `kind cluster delete` command. */ export class LoadDockerImageOptions { /** * The name of the cluster context name (default "kind") */ _name; /** * comma separated list of nodes to load images into */ _nodes; /** * The Docker image to load. */ _imageName; constructor(imageName, name, nodes) { this._imageName = imageName; if (name) { this._name = name; } if (nodes) { this._nodes = nodes; } } /** * Apply the options to the KindExecutionBuilder. * @param builder The KindExecutionBuilder to apply options to. */ apply(builder) { builder.positional(this._imageName); if (this._name) { builder.argument('name', this._name); } if (this._nodes) { builder.argument('nodes', this._nodes); } } /** * The name of the cluster. */ get name() { return this._name; } /** * The nodes to load images into. */ get nodes() { return this._nodes; } } //# sourceMappingURL=load-docker-image-options.js.map