gce-elastic-docker
Version:
A package to help setup Elasticsearch / Kibana clusters on Google Compute Engine.
33 lines (32 loc) • 1.4 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
}
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var base_node_1 = require("../base-node");
var node_create_opts_1 = require("../node-create-opts");
var node_creator_1 = require("../node-creator");
var ChildNode = /** @class */ (function (_super) {
__extends(ChildNode, _super);
function ChildNode(v) {
return _super.call(this, v) || this;
}
ChildNode.prototype.create = function (opts) {
return (new node_creator_1.NodeCreator(this, new node_create_opts_1.NodeCreateOpts(opts))).create();
};
ChildNode.prototype.partial_create = function (opts) {
return (new node_creator_1.NodeCreator(this, new node_create_opts_1.NodeCreateOpts(opts))).partial_create();
};
return ChildNode;
}(base_node_1.BaseNode));
exports.ChildNode = ChildNode;