pmcf 2.32.1 → 2.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/pmcf-info +1 -1
- package/package.json +1 -1
- package/src/host.mjs +5 -0
- package/types/host.d.mts +1 -0
package/bin/pmcf-info
CHANGED
package/package.json
CHANGED
package/src/host.mjs
CHANGED
|
@@ -208,6 +208,7 @@ export class Host extends Base {
|
|
|
208
208
|
return this.extends.find(h => h.isModel);
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
+
|
|
211
212
|
set aliases(value) {
|
|
212
213
|
if (value instanceof Set) {
|
|
213
214
|
this._aliases = this._aliases.union(value);
|
|
@@ -354,6 +355,10 @@ export class Host extends Base {
|
|
|
354
355
|
return this;
|
|
355
356
|
}
|
|
356
357
|
|
|
358
|
+
*hosts() {
|
|
359
|
+
yield this;
|
|
360
|
+
}
|
|
361
|
+
|
|
357
362
|
get services() {
|
|
358
363
|
return this._services;
|
|
359
364
|
}
|
package/types/host.d.mts
CHANGED
|
@@ -228,6 +228,7 @@ export class Host extends Base {
|
|
|
228
228
|
domainNamesIn(domain: any): Generator<any, void, unknown>;
|
|
229
229
|
get clusters(): Set<any>;
|
|
230
230
|
get host(): this;
|
|
231
|
+
hosts(): Generator<this, void, unknown>;
|
|
231
232
|
named(name: any): any;
|
|
232
233
|
get networks(): Set<any>;
|
|
233
234
|
findNetworkInterfaces(filter: any): Generator<any, void, any>;
|