@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
19 lines • 550 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
export class LoadDockerImageResponse {
_rawOutput;
_imageName;
_imageId;
constructor(_rawOutput) {
this._rawOutput = _rawOutput;
const imageMatch = this._rawOutput.match(/Image:\s*"([^"]+)"\s+with\s+ID\s*"([^"]+)"/);
this._imageName = imageMatch?.[1];
this._imageId = imageMatch?.[2];
}
get imageName() {
return this._imageName;
}
get imageId() {
return this._imageId;
}
}
//# sourceMappingURL=load-docker-image-response.js.map