pmcf 4.19.1 → 4.20.0

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.
Files changed (82) hide show
  1. package/README.md +93 -72
  2. package/bin/pmcf-diagram +1 -1
  3. package/package.json +19 -19
  4. package/src/base.mjs +24 -237
  5. package/src/cli.mjs +4 -4
  6. package/src/cluster.mjs +15 -13
  7. package/src/extra-source-service.mjs +7 -10
  8. package/src/host.mjs +30 -44
  9. package/src/initialization-context.mjs +324 -0
  10. package/src/location.mjs +4 -14
  11. package/src/module.mjs +1 -0
  12. package/src/network-interfaces/ethernet.mjs +3 -5
  13. package/src/network-interfaces/loopback.mjs +2 -4
  14. package/src/network-interfaces/network-interface.mjs +3 -5
  15. package/src/network-interfaces/skeleton.mjs +9 -3
  16. package/src/network-interfaces/tun.mjs +2 -4
  17. package/src/network-interfaces/wireguard.mjs +3 -5
  18. package/src/network-interfaces/wlan.mjs +4 -7
  19. package/src/network.mjs +10 -8
  20. package/src/owner.mjs +8 -32
  21. package/src/root.mjs +4 -73
  22. package/src/service-owner.mjs +19 -18
  23. package/src/service.mjs +13 -18
  24. package/src/services/alpm.mjs +4 -9
  25. package/src/services/bind.mjs +424 -388
  26. package/src/services/chrony.mjs +3 -5
  27. package/src/services/headscale.mjs +2 -4
  28. package/src/services/influxdb.mjs +2 -4
  29. package/src/services/kea.mjs +6 -10
  30. package/src/services/mosquitto.mjs +2 -4
  31. package/src/services/openldap.mjs +2 -4
  32. package/src/services/postfix.mjs +2 -4
  33. package/src/services/systemd-journal-remote.mjs +2 -4
  34. package/src/services/systemd-journal-upload.mjs +9 -10
  35. package/src/services/systemd-journald.mjs +2 -4
  36. package/src/services/systemd-resolved.mjs +42 -42
  37. package/src/services/systemd-timesyncd.mjs +9 -13
  38. package/src/services/tailscale.mjs +5 -2
  39. package/src/subnet.mjs +9 -5
  40. package/types/base.d.mts +0 -179
  41. package/types/cli.d.mts +0 -10
  42. package/types/cluster.d.mts +0 -507
  43. package/types/dns-utils.d.mts +0 -14
  44. package/types/endpoint.d.mts +0 -79
  45. package/types/extra-source-service.d.mts +0 -1033
  46. package/types/hooks.d.mts +0 -2
  47. package/types/host-utils.d.mts +0 -1
  48. package/types/host.d.mts +0 -285
  49. package/types/location.d.mts +0 -379
  50. package/types/module.d.mts +0 -36
  51. package/types/network-address.d.mts +0 -41
  52. package/types/network-interfaces/ethernet.d.mts +0 -1189
  53. package/types/network-interfaces/loopback.d.mts +0 -1140
  54. package/types/network-interfaces/network-interface.d.mts +0 -1158
  55. package/types/network-interfaces/skeleton.d.mts +0 -30
  56. package/types/network-interfaces/tun.d.mts +0 -1131
  57. package/types/network-interfaces/wireguard.d.mts +0 -1131
  58. package/types/network-interfaces/wlan.d.mts +0 -1734
  59. package/types/network-support.d.mts +0 -193
  60. package/types/network.d.mts +0 -702
  61. package/types/owner.d.mts +0 -235
  62. package/types/root.d.mts +0 -10
  63. package/types/service-owner.d.mts +0 -14
  64. package/types/service-types.d.mts +0 -246
  65. package/types/service.d.mts +0 -689
  66. package/types/services/alpm.d.mts +0 -805
  67. package/types/services/bind.d.mts +0 -1574
  68. package/types/services/chrony.d.mts +0 -1310
  69. package/types/services/headscale.d.mts +0 -801
  70. package/types/services/influxdb.d.mts +0 -812
  71. package/types/services/kea.d.mts +0 -945
  72. package/types/services/mosquitto.d.mts +0 -876
  73. package/types/services/openldap.d.mts +0 -793
  74. package/types/services/postfix.d.mts +0 -784
  75. package/types/services/systemd-journal-remote.d.mts +0 -1030
  76. package/types/services/systemd-journal-upload.d.mts +0 -932
  77. package/types/services/systemd-journald.d.mts +0 -1317
  78. package/types/services/systemd-resolved.d.mts +0 -1644
  79. package/types/services/systemd-timesyncd.d.mts +0 -1459
  80. package/types/services/tailscale.d.mts +0 -781
  81. package/types/subnet.d.mts +0 -57
  82. package/types/utils.d.mts +0 -37
@@ -1,1033 +0,0 @@
1
- export namespace ExtraSourceServiceTypeDefinition {
2
- export let name: string;
3
- export { ServiceTypeDefinition as extends };
4
- export { ServiceTypeDefinition as specializationOf };
5
- export let owners: (string | {
6
- name: string;
7
- owners: string[];
8
- extends: typeof import("pmcf").Base;
9
- key: string;
10
- attributes: {
11
- networkInterfaces: {
12
- type: string;
13
- collection: boolean;
14
- isKey: boolean;
15
- writable: boolean;
16
- mandatory: boolean;
17
- constructor?: Function;
18
- private?: boolean;
19
- credential?: boolean;
20
- persistent?: boolean;
21
- depends?: string;
22
- description?: string;
23
- default?: any;
24
- set?: Function;
25
- get?: Function;
26
- toInternal?: Function;
27
- toExternal?: Function;
28
- values?: Set<any>;
29
- externalName?: string;
30
- env?: string[] | string;
31
- additionalValues?: object;
32
- };
33
- services: {
34
- type: string;
35
- collection: boolean;
36
- isKey: boolean;
37
- writable: boolean;
38
- mandatory: boolean;
39
- constructor?: Function;
40
- private?: boolean;
41
- credential?: boolean;
42
- persistent?: boolean;
43
- depends?: string;
44
- description?: string;
45
- default?: any;
46
- set?: Function;
47
- get?: Function;
48
- toInternal?: Function;
49
- toExternal?: Function;
50
- values?: Set<any>;
51
- externalName?: string;
52
- env?: string[] | string;
53
- additionalValues?: object;
54
- };
55
- aliases: import("pacc").AttributeDefinition;
56
- os: {
57
- values: string[];
58
- type: object;
59
- isKey: boolean;
60
- writable: boolean;
61
- mandatory: boolean;
62
- collection: boolean;
63
- constructor?: Function;
64
- private?: boolean;
65
- credential?: boolean;
66
- persistent?: boolean;
67
- depends?: string;
68
- description?: string;
69
- default?: any;
70
- set?: Function;
71
- get?: Function;
72
- toInternal?: Function;
73
- toExternal?: Function;
74
- externalName?: string;
75
- env?: string[] | string;
76
- additionalValues?: object;
77
- };
78
- "machine-id": import("pacc").AttributeDefinition;
79
- distribution: import("pacc").AttributeDefinition;
80
- deployment: {
81
- values: string[];
82
- type: object;
83
- isKey: boolean;
84
- writable: boolean;
85
- mandatory: boolean;
86
- collection: boolean;
87
- constructor?: Function;
88
- private?: boolean;
89
- credential?: boolean;
90
- persistent?: boolean;
91
- depends?: string;
92
- description?: string;
93
- default?: any;
94
- set?: Function;
95
- get?: Function;
96
- toInternal?: Function;
97
- toExternal?: Function;
98
- externalName?: string;
99
- env?: string[] | string;
100
- additionalValues?: object;
101
- };
102
- weight: import("pacc").AttributeDefinition;
103
- serial: import("pacc").AttributeDefinition;
104
- vendor: import("pacc").AttributeDefinition;
105
- keymap: import("pacc").AttributeDefinition;
106
- chassis: {
107
- values: string[];
108
- type: object;
109
- isKey: boolean;
110
- writable: boolean;
111
- mandatory: boolean;
112
- collection: boolean;
113
- constructor?: Function;
114
- private?: boolean;
115
- credential?: boolean;
116
- persistent?: boolean;
117
- depends?: string;
118
- description?: string;
119
- default?: any;
120
- set?: Function;
121
- get?: Function;
122
- toInternal?: Function;
123
- toExternal?: Function;
124
- externalName?: string;
125
- env?: string[] | string;
126
- additionalValues?: object;
127
- };
128
- architecture: {
129
- values: string[];
130
- type: object;
131
- isKey: boolean;
132
- writable: boolean;
133
- mandatory: boolean;
134
- collection: boolean;
135
- constructor?: Function;
136
- private?: boolean;
137
- credential?: boolean;
138
- persistent?: boolean;
139
- depends?: string;
140
- description?: string;
141
- default?: any;
142
- set?: Function;
143
- get?: Function;
144
- toInternal?: Function;
145
- toExternal?: Function;
146
- externalName?: string;
147
- env?: string[] | string;
148
- additionalValues?: object;
149
- };
150
- replaces: import("pacc").AttributeDefinition;
151
- depends: import("pacc").AttributeDefinition;
152
- provides: import("pacc").AttributeDefinition;
153
- extends: {
154
- type: string;
155
- collection: boolean;
156
- isKey: boolean;
157
- writable: boolean;
158
- mandatory: boolean;
159
- constructor?: Function;
160
- private?: boolean;
161
- credential?: boolean;
162
- persistent?: boolean;
163
- depends?: string;
164
- description?: string;
165
- default?: any;
166
- set?: Function;
167
- get?: Function;
168
- toInternal?: Function;
169
- toExternal?: Function;
170
- values?: Set<any>;
171
- externalName?: string;
172
- env?: string[] | string;
173
- additionalValues?: object;
174
- };
175
- model: import("pacc").AttributeDefinition;
176
- isModel: import("pacc").AttributeDefinition;
177
- hostName: {
178
- writable: boolean;
179
- type: object;
180
- isKey: boolean;
181
- mandatory: boolean;
182
- collection: boolean;
183
- constructor?: Function;
184
- private?: boolean;
185
- credential?: boolean;
186
- persistent?: boolean;
187
- depends?: string;
188
- description?: string;
189
- default?: any;
190
- set?: Function;
191
- get?: Function;
192
- toInternal?: Function;
193
- toExternal?: Function;
194
- values?: Set<any>;
195
- externalName?: string;
196
- env?: string[] | string;
197
- additionalValues?: object;
198
- };
199
- cidrAddresses: import("pacc").AttributeDefinition;
200
- cidrAddress: import("pacc").AttributeDefinition;
201
- addresses: import("pacc").AttributeDefinition;
202
- address: import("pacc").AttributeDefinition;
203
- };
204
- })[];
205
- export namespace attributes {
206
- let source: {
207
- type: string;
208
- collection: boolean;
209
- isKey: boolean;
210
- writable: boolean;
211
- mandatory: boolean;
212
- constructor?: Function;
213
- private?: boolean;
214
- credential?: boolean;
215
- persistent?: boolean;
216
- depends?: string;
217
- description?: string;
218
- default?: any;
219
- set?: Function;
220
- get?: Function;
221
- toInternal?: Function;
222
- toExternal?: Function;
223
- values?: Set<any>;
224
- externalName?: string;
225
- env?: string[] | string;
226
- additionalValues?: object;
227
- };
228
- }
229
- }
230
- export class ExtraSourceService extends Service {
231
- static get typeDefinition(): {
232
- name: string;
233
- extends: {
234
- name: string;
235
- owners: (string | {
236
- name: string;
237
- owners: string[];
238
- extends: typeof import("pmcf").Base;
239
- key: string;
240
- attributes: {
241
- networkInterfaces: {
242
- type: string;
243
- collection: boolean;
244
- isKey: boolean;
245
- writable: boolean;
246
- mandatory: boolean;
247
- constructor?: Function;
248
- private?: boolean;
249
- credential?: boolean;
250
- persistent?: boolean;
251
- depends?: string;
252
- description?: string;
253
- default?: any;
254
- set?: Function;
255
- get?: Function;
256
- toInternal?: Function;
257
- toExternal?: Function;
258
- values?: Set<any>;
259
- externalName?: string;
260
- env?: string[] | string;
261
- additionalValues?: object;
262
- };
263
- services: {
264
- type: string;
265
- collection: boolean;
266
- isKey: boolean;
267
- writable: boolean;
268
- mandatory: boolean;
269
- constructor?: Function;
270
- private?: boolean;
271
- credential?: boolean;
272
- persistent?: boolean;
273
- depends?: string;
274
- description?: string;
275
- default?: any;
276
- set?: Function;
277
- get?: Function;
278
- toInternal?: Function;
279
- toExternal?: Function;
280
- values?: Set<any>;
281
- externalName?: string;
282
- env?: string[] | string;
283
- additionalValues?: object;
284
- };
285
- aliases: import("pacc").AttributeDefinition;
286
- os: {
287
- values: string[];
288
- type: object;
289
- isKey: boolean;
290
- writable: boolean;
291
- mandatory: boolean;
292
- collection: boolean;
293
- constructor?: Function;
294
- private?: boolean;
295
- credential?: boolean;
296
- persistent?: boolean;
297
- depends?: string;
298
- description?: string;
299
- default?: any;
300
- set?: Function;
301
- get?: Function;
302
- toInternal?: Function;
303
- toExternal?: Function;
304
- externalName?: string;
305
- env?: string[] | string;
306
- additionalValues?: object;
307
- };
308
- "machine-id": import("pacc").AttributeDefinition;
309
- distribution: import("pacc").AttributeDefinition;
310
- deployment: {
311
- values: string[];
312
- type: object;
313
- isKey: boolean;
314
- writable: boolean;
315
- mandatory: boolean;
316
- collection: boolean;
317
- constructor?: Function;
318
- private?: boolean;
319
- credential?: boolean;
320
- persistent?: boolean;
321
- depends?: string;
322
- description?: string;
323
- default?: any;
324
- set?: Function;
325
- get?: Function;
326
- toInternal?: Function;
327
- toExternal?: Function;
328
- externalName?: string;
329
- env?: string[] | string;
330
- additionalValues?: object;
331
- };
332
- weight: import("pacc").AttributeDefinition;
333
- serial: import("pacc").AttributeDefinition;
334
- vendor: import("pacc").AttributeDefinition;
335
- keymap: import("pacc").AttributeDefinition;
336
- chassis: {
337
- values: string[];
338
- type: object;
339
- isKey: boolean;
340
- writable: boolean;
341
- mandatory: boolean;
342
- collection: boolean;
343
- constructor?: Function;
344
- private?: boolean;
345
- credential?: boolean;
346
- persistent?: boolean;
347
- depends?: string;
348
- description?: string;
349
- default?: any;
350
- set?: Function;
351
- get?: Function;
352
- toInternal?: Function;
353
- toExternal?: Function;
354
- externalName?: string;
355
- env?: string[] | string;
356
- additionalValues?: object;
357
- };
358
- architecture: {
359
- values: string[];
360
- type: object;
361
- isKey: boolean;
362
- writable: boolean;
363
- mandatory: boolean;
364
- collection: boolean;
365
- constructor?: Function;
366
- private?: boolean;
367
- credential?: boolean;
368
- persistent?: boolean;
369
- depends?: string;
370
- description?: string;
371
- default?: any;
372
- set?: Function;
373
- get?: Function;
374
- toInternal?: Function;
375
- toExternal?: Function;
376
- externalName?: string;
377
- env?: string[] | string;
378
- additionalValues?: object;
379
- };
380
- replaces: import("pacc").AttributeDefinition;
381
- depends: import("pacc").AttributeDefinition;
382
- provides: import("pacc").AttributeDefinition;
383
- extends: {
384
- type: string;
385
- collection: boolean;
386
- isKey: boolean;
387
- writable: boolean;
388
- mandatory: boolean;
389
- constructor?: Function;
390
- private?: boolean;
391
- credential?: boolean;
392
- persistent?: boolean;
393
- depends?: string;
394
- description?: string;
395
- default?: any;
396
- set?: Function;
397
- get?: Function;
398
- toInternal?: Function;
399
- toExternal?: Function;
400
- values?: Set<any>;
401
- externalName?: string;
402
- env?: string[] | string;
403
- additionalValues?: object;
404
- };
405
- model: import("pacc").AttributeDefinition;
406
- isModel: import("pacc").AttributeDefinition;
407
- hostName: {
408
- writable: boolean;
409
- type: object;
410
- isKey: boolean;
411
- mandatory: boolean;
412
- collection: boolean;
413
- constructor?: Function;
414
- private?: boolean;
415
- credential?: boolean;
416
- persistent?: boolean;
417
- depends?: string;
418
- description?: string;
419
- default?: any;
420
- set?: Function;
421
- get?: Function;
422
- toInternal?: Function;
423
- toExternal?: Function;
424
- values?: Set<any>;
425
- externalName?: string;
426
- env?: string[] | string;
427
- additionalValues?: object;
428
- };
429
- cidrAddresses: import("pacc").AttributeDefinition;
430
- cidrAddress: import("pacc").AttributeDefinition;
431
- addresses: import("pacc").AttributeDefinition;
432
- address: import("pacc").AttributeDefinition;
433
- };
434
- })[];
435
- extends: typeof import("pmcf").Base;
436
- specializations: {};
437
- factoryFor(owner: any, value: any): any;
438
- key: string;
439
- attributes: {
440
- alias: import("pacc").AttributeDefinition;
441
- weight: {
442
- type: object;
443
- isKey: boolean;
444
- writable: boolean;
445
- mandatory: boolean;
446
- collection: boolean;
447
- constructor?: Function;
448
- private?: boolean;
449
- credential?: boolean;
450
- persistent?: boolean;
451
- depends?: string;
452
- description?: string;
453
- default?: any;
454
- set?: Function;
455
- get?: Function;
456
- toInternal?: Function;
457
- toExternal?: Function;
458
- values?: Set<any>;
459
- externalName?: string;
460
- env?: string[] | string;
461
- additionalValues?: object;
462
- };
463
- systemdService: import("pacc").AttributeDefinition;
464
- port: import("pacc").AttributeDefinition;
465
- protocol: {
466
- values: string[];
467
- type: object;
468
- isKey: boolean;
469
- writable: boolean;
470
- mandatory: boolean;
471
- collection: boolean;
472
- constructor?: Function;
473
- private?: boolean;
474
- credential?: boolean;
475
- persistent?: boolean;
476
- depends?: string;
477
- description?: string;
478
- default?: any;
479
- set?: Function;
480
- get?: Function;
481
- toInternal?: Function;
482
- toExternal?: Function;
483
- externalName?: string;
484
- env?: string[] | string;
485
- additionalValues?: object;
486
- };
487
- type: import("pacc").AttributeDefinition;
488
- types: import("pacc").AttributeDefinition;
489
- tls: import("pacc").AttributeDefinition;
490
- hostName: {
491
- writable: boolean;
492
- type: object;
493
- isKey: boolean;
494
- mandatory: boolean;
495
- collection: boolean;
496
- constructor?: Function;
497
- private?: boolean;
498
- credential?: boolean;
499
- persistent?: boolean;
500
- depends?: string;
501
- description?: string;
502
- default?: any;
503
- set?: Function;
504
- get?: Function;
505
- toInternal?: Function;
506
- toExternal?: Function;
507
- values?: Set<any>;
508
- externalName?: string;
509
- env?: string[] | string;
510
- additionalValues?: object;
511
- };
512
- cidrAddresses: import("pacc").AttributeDefinition;
513
- cidrAddress: import("pacc").AttributeDefinition;
514
- addresses: import("pacc").AttributeDefinition;
515
- address: import("pacc").AttributeDefinition;
516
- };
517
- };
518
- specializationOf: {
519
- name: string;
520
- owners: (string | {
521
- name: string;
522
- owners: string[];
523
- extends: typeof import("pmcf").Base;
524
- key: string;
525
- attributes: {
526
- networkInterfaces: {
527
- type: string;
528
- collection: boolean;
529
- isKey: boolean;
530
- writable: boolean;
531
- mandatory: boolean;
532
- constructor?: Function;
533
- private?: boolean;
534
- credential?: boolean;
535
- persistent?: boolean;
536
- depends?: string;
537
- description?: string;
538
- default?: any;
539
- set?: Function;
540
- get?: Function;
541
- toInternal?: Function;
542
- toExternal?: Function;
543
- values?: Set<any>;
544
- externalName?: string;
545
- env?: string[] | string;
546
- additionalValues?: object;
547
- };
548
- services: {
549
- type: string;
550
- collection: boolean;
551
- isKey: boolean;
552
- writable: boolean;
553
- mandatory: boolean;
554
- constructor?: Function;
555
- private?: boolean;
556
- credential?: boolean;
557
- persistent?: boolean;
558
- depends?: string;
559
- description?: string;
560
- default?: any;
561
- set?: Function;
562
- get?: Function;
563
- toInternal?: Function;
564
- toExternal?: Function;
565
- values?: Set<any>;
566
- externalName?: string;
567
- env?: string[] | string;
568
- additionalValues?: object;
569
- };
570
- aliases: import("pacc").AttributeDefinition;
571
- os: {
572
- values: string[];
573
- type: object;
574
- isKey: boolean;
575
- writable: boolean;
576
- mandatory: boolean;
577
- collection: boolean;
578
- constructor?: Function;
579
- private?: boolean;
580
- credential?: boolean;
581
- persistent?: boolean;
582
- depends?: string;
583
- description?: string;
584
- default?: any;
585
- set?: Function;
586
- get?: Function;
587
- toInternal?: Function;
588
- toExternal?: Function;
589
- externalName?: string;
590
- env?: string[] | string;
591
- additionalValues?: object;
592
- };
593
- "machine-id": import("pacc").AttributeDefinition;
594
- distribution: import("pacc").AttributeDefinition;
595
- deployment: {
596
- values: string[];
597
- type: object;
598
- isKey: boolean;
599
- writable: boolean;
600
- mandatory: boolean;
601
- collection: boolean;
602
- constructor?: Function;
603
- private?: boolean;
604
- credential?: boolean;
605
- persistent?: boolean;
606
- depends?: string;
607
- description?: string;
608
- default?: any;
609
- set?: Function;
610
- get?: Function;
611
- toInternal?: Function;
612
- toExternal?: Function;
613
- externalName?: string;
614
- env?: string[] | string;
615
- additionalValues?: object;
616
- };
617
- weight: import("pacc").AttributeDefinition;
618
- serial: import("pacc").AttributeDefinition;
619
- vendor: import("pacc").AttributeDefinition;
620
- keymap: import("pacc").AttributeDefinition;
621
- chassis: {
622
- values: string[];
623
- type: object;
624
- isKey: boolean;
625
- writable: boolean;
626
- mandatory: boolean;
627
- collection: boolean;
628
- constructor?: Function;
629
- private?: boolean;
630
- credential?: boolean;
631
- persistent?: boolean;
632
- depends?: string;
633
- description?: string;
634
- default?: any;
635
- set?: Function;
636
- get?: Function;
637
- toInternal?: Function;
638
- toExternal?: Function;
639
- externalName?: string;
640
- env?: string[] | string;
641
- additionalValues?: object;
642
- };
643
- architecture: {
644
- values: string[];
645
- type: object;
646
- isKey: boolean;
647
- writable: boolean;
648
- mandatory: boolean;
649
- collection: boolean;
650
- constructor?: Function;
651
- private?: boolean;
652
- credential?: boolean;
653
- persistent?: boolean;
654
- depends?: string;
655
- description?: string;
656
- default?: any;
657
- set?: Function;
658
- get?: Function;
659
- toInternal?: Function;
660
- toExternal?: Function;
661
- externalName?: string;
662
- env?: string[] | string;
663
- additionalValues?: object;
664
- };
665
- replaces: import("pacc").AttributeDefinition;
666
- depends: import("pacc").AttributeDefinition;
667
- provides: import("pacc").AttributeDefinition;
668
- extends: {
669
- type: string;
670
- collection: boolean;
671
- isKey: boolean;
672
- writable: boolean;
673
- mandatory: boolean;
674
- constructor?: Function;
675
- private?: boolean;
676
- credential?: boolean;
677
- persistent?: boolean;
678
- depends?: string;
679
- description?: string;
680
- default?: any;
681
- set?: Function;
682
- get?: Function;
683
- toInternal?: Function;
684
- toExternal?: Function;
685
- values?: Set<any>;
686
- externalName?: string;
687
- env?: string[] | string;
688
- additionalValues?: object;
689
- };
690
- model: import("pacc").AttributeDefinition;
691
- isModel: import("pacc").AttributeDefinition;
692
- hostName: {
693
- writable: boolean;
694
- type: object;
695
- isKey: boolean;
696
- mandatory: boolean;
697
- collection: boolean;
698
- constructor?: Function;
699
- private?: boolean;
700
- credential?: boolean;
701
- persistent?: boolean;
702
- depends?: string;
703
- description?: string;
704
- default?: any;
705
- set?: Function;
706
- get?: Function;
707
- toInternal?: Function;
708
- toExternal?: Function;
709
- values?: Set<any>;
710
- externalName?: string;
711
- env?: string[] | string;
712
- additionalValues?: object;
713
- };
714
- cidrAddresses: import("pacc").AttributeDefinition;
715
- cidrAddress: import("pacc").AttributeDefinition;
716
- addresses: import("pacc").AttributeDefinition;
717
- address: import("pacc").AttributeDefinition;
718
- };
719
- })[];
720
- extends: typeof import("pmcf").Base;
721
- specializations: {};
722
- factoryFor(owner: any, value: any): any;
723
- key: string;
724
- attributes: {
725
- alias: import("pacc").AttributeDefinition;
726
- weight: {
727
- type: object;
728
- isKey: boolean;
729
- writable: boolean;
730
- mandatory: boolean;
731
- collection: boolean;
732
- constructor?: Function;
733
- private?: boolean;
734
- credential?: boolean;
735
- persistent?: boolean;
736
- depends?: string;
737
- description?: string;
738
- default?: any;
739
- set?: Function;
740
- get?: Function;
741
- toInternal?: Function;
742
- toExternal?: Function;
743
- values?: Set<any>;
744
- externalName?: string;
745
- env?: string[] | string;
746
- additionalValues?: object;
747
- };
748
- systemdService: import("pacc").AttributeDefinition;
749
- port: import("pacc").AttributeDefinition;
750
- protocol: {
751
- values: string[];
752
- type: object;
753
- isKey: boolean;
754
- writable: boolean;
755
- mandatory: boolean;
756
- collection: boolean;
757
- constructor?: Function;
758
- private?: boolean;
759
- credential?: boolean;
760
- persistent?: boolean;
761
- depends?: string;
762
- description?: string;
763
- default?: any;
764
- set?: Function;
765
- get?: Function;
766
- toInternal?: Function;
767
- toExternal?: Function;
768
- externalName?: string;
769
- env?: string[] | string;
770
- additionalValues?: object;
771
- };
772
- type: import("pacc").AttributeDefinition;
773
- types: import("pacc").AttributeDefinition;
774
- tls: import("pacc").AttributeDefinition;
775
- hostName: {
776
- writable: boolean;
777
- type: object;
778
- isKey: boolean;
779
- mandatory: boolean;
780
- collection: boolean;
781
- constructor?: Function;
782
- private?: boolean;
783
- credential?: boolean;
784
- persistent?: boolean;
785
- depends?: string;
786
- description?: string;
787
- default?: any;
788
- set?: Function;
789
- get?: Function;
790
- toInternal?: Function;
791
- toExternal?: Function;
792
- values?: Set<any>;
793
- externalName?: string;
794
- env?: string[] | string;
795
- additionalValues?: object;
796
- };
797
- cidrAddresses: import("pacc").AttributeDefinition;
798
- cidrAddress: import("pacc").AttributeDefinition;
799
- addresses: import("pacc").AttributeDefinition;
800
- address: import("pacc").AttributeDefinition;
801
- };
802
- };
803
- owners: (string | {
804
- name: string;
805
- owners: string[];
806
- extends: typeof import("pmcf").Base;
807
- key: string;
808
- attributes: {
809
- networkInterfaces: {
810
- type: string;
811
- collection: boolean;
812
- isKey: boolean;
813
- writable: boolean;
814
- mandatory: boolean;
815
- constructor?: Function;
816
- private?: boolean;
817
- credential?: boolean;
818
- persistent?: boolean;
819
- depends?: string;
820
- description?: string;
821
- default?: any;
822
- set?: Function;
823
- get?: Function;
824
- toInternal?: Function;
825
- toExternal?: Function;
826
- values?: Set<any>;
827
- externalName?: string;
828
- env?: string[] | string;
829
- additionalValues?: object;
830
- };
831
- services: {
832
- type: string;
833
- collection: boolean;
834
- isKey: boolean;
835
- writable: boolean;
836
- mandatory: boolean;
837
- constructor?: Function;
838
- private?: boolean;
839
- credential?: boolean;
840
- persistent?: boolean;
841
- depends?: string;
842
- description?: string;
843
- default?: any;
844
- set?: Function;
845
- get?: Function;
846
- toInternal?: Function;
847
- toExternal?: Function;
848
- values?: Set<any>;
849
- externalName?: string;
850
- env?: string[] | string;
851
- additionalValues?: object;
852
- };
853
- aliases: import("pacc").AttributeDefinition;
854
- os: {
855
- values: string[];
856
- type: object;
857
- isKey: boolean;
858
- writable: boolean;
859
- mandatory: boolean;
860
- collection: boolean;
861
- constructor?: Function;
862
- private?: boolean;
863
- credential?: boolean;
864
- persistent?: boolean;
865
- depends?: string;
866
- description?: string;
867
- default?: any;
868
- set?: Function;
869
- get?: Function;
870
- toInternal?: Function;
871
- toExternal?: Function;
872
- externalName?: string;
873
- env?: string[] | string;
874
- additionalValues?: object;
875
- };
876
- "machine-id": import("pacc").AttributeDefinition;
877
- distribution: import("pacc").AttributeDefinition;
878
- deployment: {
879
- values: string[];
880
- type: object;
881
- isKey: boolean;
882
- writable: boolean;
883
- mandatory: boolean;
884
- collection: boolean;
885
- constructor?: Function;
886
- private?: boolean;
887
- credential?: boolean;
888
- persistent?: boolean;
889
- depends?: string;
890
- description?: string;
891
- default?: any;
892
- set?: Function;
893
- get?: Function;
894
- toInternal?: Function;
895
- toExternal?: Function;
896
- externalName?: string;
897
- env?: string[] | string;
898
- additionalValues?: object;
899
- };
900
- weight: import("pacc").AttributeDefinition;
901
- serial: import("pacc").AttributeDefinition;
902
- vendor: import("pacc").AttributeDefinition;
903
- keymap: import("pacc").AttributeDefinition;
904
- chassis: {
905
- values: string[];
906
- type: object;
907
- isKey: boolean;
908
- writable: boolean;
909
- mandatory: boolean;
910
- collection: boolean;
911
- constructor?: Function;
912
- private?: boolean;
913
- credential?: boolean;
914
- persistent?: boolean;
915
- depends?: string;
916
- description?: string;
917
- default?: any;
918
- set?: Function;
919
- get?: Function;
920
- toInternal?: Function;
921
- toExternal?: Function;
922
- externalName?: string;
923
- env?: string[] | string;
924
- additionalValues?: object;
925
- };
926
- architecture: {
927
- values: string[];
928
- type: object;
929
- isKey: boolean;
930
- writable: boolean;
931
- mandatory: boolean;
932
- collection: boolean;
933
- constructor?: Function;
934
- private?: boolean;
935
- credential?: boolean;
936
- persistent?: boolean;
937
- depends?: string;
938
- description?: string;
939
- default?: any;
940
- set?: Function;
941
- get?: Function;
942
- toInternal?: Function;
943
- toExternal?: Function;
944
- externalName?: string;
945
- env?: string[] | string;
946
- additionalValues?: object;
947
- };
948
- replaces: import("pacc").AttributeDefinition;
949
- depends: import("pacc").AttributeDefinition;
950
- provides: import("pacc").AttributeDefinition;
951
- extends: {
952
- type: string;
953
- collection: boolean;
954
- isKey: boolean;
955
- writable: boolean;
956
- mandatory: boolean;
957
- constructor?: Function;
958
- private?: boolean;
959
- credential?: boolean;
960
- persistent?: boolean;
961
- depends?: string;
962
- description?: string;
963
- default?: any;
964
- set?: Function;
965
- get?: Function;
966
- toInternal?: Function;
967
- toExternal?: Function;
968
- values?: Set<any>;
969
- externalName?: string;
970
- env?: string[] | string;
971
- additionalValues?: object;
972
- };
973
- model: import("pacc").AttributeDefinition;
974
- isModel: import("pacc").AttributeDefinition;
975
- hostName: {
976
- writable: boolean;
977
- type: object;
978
- isKey: boolean;
979
- mandatory: boolean;
980
- collection: boolean;
981
- constructor?: Function;
982
- private?: boolean;
983
- credential?: boolean;
984
- persistent?: boolean;
985
- depends?: string;
986
- description?: string;
987
- default?: any;
988
- set?: Function;
989
- get?: Function;
990
- toInternal?: Function;
991
- toExternal?: Function;
992
- values?: Set<any>;
993
- externalName?: string;
994
- env?: string[] | string;
995
- additionalValues?: object;
996
- };
997
- cidrAddresses: import("pacc").AttributeDefinition;
998
- cidrAddress: import("pacc").AttributeDefinition;
999
- addresses: import("pacc").AttributeDefinition;
1000
- address: import("pacc").AttributeDefinition;
1001
- };
1002
- })[];
1003
- attributes: {
1004
- source: {
1005
- type: string;
1006
- collection: boolean;
1007
- isKey: boolean;
1008
- writable: boolean;
1009
- mandatory: boolean;
1010
- constructor?: Function;
1011
- private?: boolean;
1012
- credential?: boolean;
1013
- persistent?: boolean;
1014
- depends?: string;
1015
- description?: string;
1016
- default?: any;
1017
- set?: Function;
1018
- get?: Function;
1019
- toInternal?: Function;
1020
- toExternal?: Function;
1021
- values?: Set<any>;
1022
- externalName?: string;
1023
- env?: string[] | string;
1024
- additionalValues?: object;
1025
- };
1026
- };
1027
- };
1028
- source: any[];
1029
- get type(): string;
1030
- findServices(filter: any): Generator<any, void, any>;
1031
- }
1032
- import { ServiceTypeDefinition } from "./service.mjs";
1033
- import { Service } from "./service.mjs";