Files
recap/node_modules/@start9labs/start-sdk/base/lib/util/GetContainerIp.js
T

16 lines
525 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetContainerIp = void 0;
const Watchable_1 = require("./Watchable");
class GetContainerIp extends Watchable_1.Watchable {
constructor(effects, opts = {}) {
super(effects);
this.opts = opts;
this.label = 'GetContainerIp';
}
fetch(callback) {
return this.effects.getContainerIp({ ...this.opts, callback });
}
}
exports.GetContainerIp = GetContainerIp;
//# sourceMappingURL=GetContainerIp.js.map