pmcf 3.20.3 → 3.21.1
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/README.md +40 -28
- package/package.json +2 -2
- package/src/base.mjs +38 -7
- package/src/host.mjs +4 -7
- package/src/services/systemd-journal-remote.mjs +36 -45
- package/src/services/systemd-journal-upload.mjs +16 -24
- package/src/services/systemd-journal.mjs +53 -41
- package/src/services/systemd-resolved.mjs +25 -26
- package/src/services/systemd-timesyncd.mjs +22 -3
- package/src/utils.mjs +3 -0
- package/types/base.d.mts +6 -0
- package/types/services/systemd-journal-remote.d.mts +16 -8
- package/types/services/systemd-journal-upload.d.mts +28 -1
- package/types/services/systemd-journal.d.mts +24 -0
- package/types/services/systemd-resolved.d.mts +276 -15
- package/types/services/systemd-timesyncd.d.mts +158 -4
- package/types/utils.d.mts +1 -0
|
@@ -1235,26 +1235,288 @@ export class SystemdResolvedService extends ExtraSourceService {
|
|
|
1235
1235
|
})[];
|
|
1236
1236
|
key: string;
|
|
1237
1237
|
attributes: {
|
|
1238
|
-
DNS:
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1238
|
+
DNS: {
|
|
1239
|
+
configurable: boolean;
|
|
1240
|
+
type: object;
|
|
1241
|
+
isKey: boolean;
|
|
1242
|
+
writable: boolean;
|
|
1243
|
+
mandatory: boolean;
|
|
1244
|
+
collection: boolean;
|
|
1245
|
+
private?: boolean;
|
|
1246
|
+
credential?: boolean;
|
|
1247
|
+
persistent?: boolean;
|
|
1248
|
+
depends?: string;
|
|
1249
|
+
description?: string;
|
|
1250
|
+
default?: any;
|
|
1251
|
+
set?: Function;
|
|
1252
|
+
get?: Function;
|
|
1253
|
+
toInternal?: Function;
|
|
1254
|
+
toExternal?: Function;
|
|
1255
|
+
values?: Set<any>;
|
|
1256
|
+
externalName?: string;
|
|
1257
|
+
env?: string[] | string;
|
|
1258
|
+
additionalValues?: object;
|
|
1259
|
+
};
|
|
1260
|
+
FallbackDNS: {
|
|
1261
|
+
configurable: boolean;
|
|
1262
|
+
type: object;
|
|
1263
|
+
isKey: boolean;
|
|
1264
|
+
writable: boolean;
|
|
1265
|
+
mandatory: boolean;
|
|
1266
|
+
collection: boolean;
|
|
1267
|
+
private?: boolean;
|
|
1268
|
+
credential?: boolean;
|
|
1269
|
+
persistent?: boolean;
|
|
1270
|
+
depends?: string;
|
|
1271
|
+
description?: string;
|
|
1272
|
+
default?: any;
|
|
1273
|
+
set?: Function;
|
|
1274
|
+
get?: Function;
|
|
1275
|
+
toInternal?: Function;
|
|
1276
|
+
toExternal?: Function;
|
|
1277
|
+
values?: Set<any>;
|
|
1278
|
+
externalName?: string;
|
|
1279
|
+
env?: string[] | string;
|
|
1280
|
+
additionalValues?: object;
|
|
1281
|
+
};
|
|
1282
|
+
Domains: {
|
|
1283
|
+
configurable: boolean;
|
|
1284
|
+
type: object;
|
|
1285
|
+
isKey: boolean;
|
|
1286
|
+
writable: boolean;
|
|
1287
|
+
mandatory: boolean;
|
|
1288
|
+
collection: boolean;
|
|
1289
|
+
private?: boolean;
|
|
1290
|
+
credential?: boolean;
|
|
1291
|
+
persistent?: boolean;
|
|
1292
|
+
depends?: string;
|
|
1293
|
+
description?: string;
|
|
1294
|
+
default?: any;
|
|
1295
|
+
set?: Function;
|
|
1296
|
+
get?: Function;
|
|
1297
|
+
toInternal?: Function;
|
|
1298
|
+
toExternal?: Function;
|
|
1299
|
+
values?: Set<any>;
|
|
1300
|
+
externalName?: string;
|
|
1301
|
+
env?: string[] | string;
|
|
1302
|
+
additionalValues?: object;
|
|
1303
|
+
};
|
|
1304
|
+
MulticastDNS: {
|
|
1305
|
+
configurable: boolean;
|
|
1306
|
+
type: object;
|
|
1307
|
+
isKey: boolean;
|
|
1308
|
+
writable: boolean;
|
|
1309
|
+
mandatory: boolean;
|
|
1310
|
+
collection: boolean;
|
|
1311
|
+
private?: boolean;
|
|
1312
|
+
credential?: boolean;
|
|
1313
|
+
persistent?: boolean;
|
|
1314
|
+
depends?: string;
|
|
1315
|
+
description?: string;
|
|
1316
|
+
default?: any;
|
|
1317
|
+
set?: Function;
|
|
1318
|
+
get?: Function;
|
|
1319
|
+
toInternal?: Function;
|
|
1320
|
+
toExternal?: Function;
|
|
1321
|
+
values?: Set<any>;
|
|
1322
|
+
externalName?: string;
|
|
1323
|
+
env?: string[] | string;
|
|
1324
|
+
additionalValues?: object;
|
|
1325
|
+
};
|
|
1326
|
+
Cache: {
|
|
1327
|
+
configurable: boolean;
|
|
1328
|
+
type: object;
|
|
1329
|
+
isKey: boolean;
|
|
1330
|
+
writable: boolean;
|
|
1331
|
+
mandatory: boolean;
|
|
1332
|
+
collection: boolean;
|
|
1333
|
+
private?: boolean;
|
|
1334
|
+
credential?: boolean;
|
|
1335
|
+
persistent?: boolean;
|
|
1336
|
+
depends?: string;
|
|
1337
|
+
description?: string;
|
|
1338
|
+
default?: any;
|
|
1339
|
+
set?: Function;
|
|
1340
|
+
get?: Function;
|
|
1341
|
+
toInternal?: Function;
|
|
1342
|
+
toExternal?: Function;
|
|
1343
|
+
values?: Set<any>;
|
|
1344
|
+
externalName?: string;
|
|
1345
|
+
env?: string[] | string;
|
|
1346
|
+
additionalValues?: object;
|
|
1347
|
+
};
|
|
1348
|
+
CacheFromLocalhost: {
|
|
1349
|
+
configurable: boolean;
|
|
1350
|
+
type: object;
|
|
1351
|
+
isKey: boolean;
|
|
1352
|
+
writable: boolean;
|
|
1353
|
+
mandatory: boolean;
|
|
1354
|
+
collection: boolean;
|
|
1355
|
+
private?: boolean;
|
|
1356
|
+
credential?: boolean;
|
|
1357
|
+
persistent?: boolean;
|
|
1358
|
+
depends?: string;
|
|
1359
|
+
description?: string;
|
|
1360
|
+
default?: any;
|
|
1361
|
+
set?: Function;
|
|
1362
|
+
get?: Function;
|
|
1363
|
+
toInternal?: Function;
|
|
1364
|
+
toExternal?: Function;
|
|
1365
|
+
values?: Set<any>;
|
|
1366
|
+
externalName?: string;
|
|
1367
|
+
env?: string[] | string;
|
|
1368
|
+
additionalValues?: object;
|
|
1369
|
+
};
|
|
1370
|
+
DNSStubListener: {
|
|
1371
|
+
configurable: boolean;
|
|
1372
|
+
type: object;
|
|
1373
|
+
isKey: boolean;
|
|
1374
|
+
writable: boolean;
|
|
1375
|
+
mandatory: boolean;
|
|
1376
|
+
collection: boolean;
|
|
1377
|
+
private?: boolean;
|
|
1378
|
+
credential?: boolean;
|
|
1379
|
+
persistent?: boolean;
|
|
1380
|
+
depends?: string;
|
|
1381
|
+
description?: string;
|
|
1382
|
+
default?: any;
|
|
1383
|
+
set?: Function;
|
|
1384
|
+
get?: Function;
|
|
1385
|
+
toInternal?: Function;
|
|
1386
|
+
toExternal?: Function;
|
|
1387
|
+
values?: Set<any>;
|
|
1388
|
+
externalName?: string;
|
|
1389
|
+
env?: string[] | string;
|
|
1390
|
+
additionalValues?: object;
|
|
1391
|
+
};
|
|
1392
|
+
DNSStubListenerExtra: {
|
|
1393
|
+
configurable: boolean;
|
|
1394
|
+
type: object;
|
|
1395
|
+
isKey: boolean;
|
|
1396
|
+
writable: boolean;
|
|
1397
|
+
mandatory: boolean;
|
|
1398
|
+
collection: boolean;
|
|
1399
|
+
private?: boolean;
|
|
1400
|
+
credential?: boolean;
|
|
1401
|
+
persistent?: boolean;
|
|
1402
|
+
depends?: string;
|
|
1403
|
+
description?: string;
|
|
1404
|
+
default?: any;
|
|
1405
|
+
set?: Function;
|
|
1406
|
+
get?: Function;
|
|
1407
|
+
toInternal?: Function;
|
|
1408
|
+
toExternal?: Function;
|
|
1409
|
+
values?: Set<any>;
|
|
1410
|
+
externalName?: string;
|
|
1411
|
+
env?: string[] | string;
|
|
1412
|
+
additionalValues?: object;
|
|
1413
|
+
};
|
|
1414
|
+
ReadEtcHosts: {
|
|
1415
|
+
configurable: boolean;
|
|
1416
|
+
type: object;
|
|
1417
|
+
isKey: boolean;
|
|
1418
|
+
writable: boolean;
|
|
1419
|
+
mandatory: boolean;
|
|
1420
|
+
collection: boolean;
|
|
1421
|
+
private?: boolean;
|
|
1422
|
+
credential?: boolean;
|
|
1423
|
+
persistent?: boolean;
|
|
1424
|
+
depends?: string;
|
|
1425
|
+
description?: string;
|
|
1426
|
+
default?: any;
|
|
1427
|
+
set?: Function;
|
|
1428
|
+
get?: Function;
|
|
1429
|
+
toInternal?: Function;
|
|
1430
|
+
toExternal?: Function;
|
|
1431
|
+
values?: Set<any>;
|
|
1432
|
+
externalName?: string;
|
|
1433
|
+
env?: string[] | string;
|
|
1434
|
+
additionalValues?: object;
|
|
1435
|
+
};
|
|
1436
|
+
ResolveUnicastSingleLabel: {
|
|
1437
|
+
configurable: boolean;
|
|
1438
|
+
type: object;
|
|
1439
|
+
isKey: boolean;
|
|
1440
|
+
writable: boolean;
|
|
1441
|
+
mandatory: boolean;
|
|
1442
|
+
collection: boolean;
|
|
1443
|
+
private?: boolean;
|
|
1444
|
+
credential?: boolean;
|
|
1445
|
+
persistent?: boolean;
|
|
1446
|
+
depends?: string;
|
|
1447
|
+
description?: string;
|
|
1448
|
+
default?: any;
|
|
1449
|
+
set?: Function;
|
|
1450
|
+
get?: Function;
|
|
1451
|
+
toInternal?: Function;
|
|
1452
|
+
toExternal?: Function;
|
|
1453
|
+
values?: Set<any>;
|
|
1454
|
+
externalName?: string;
|
|
1455
|
+
env?: string[] | string;
|
|
1456
|
+
additionalValues?: object;
|
|
1457
|
+
};
|
|
1458
|
+
StaleRetentionSec: {
|
|
1459
|
+
configurable: boolean;
|
|
1460
|
+
type: object;
|
|
1461
|
+
isKey: boolean;
|
|
1462
|
+
writable: boolean;
|
|
1463
|
+
mandatory: boolean;
|
|
1464
|
+
collection: boolean;
|
|
1465
|
+
private?: boolean;
|
|
1466
|
+
credential?: boolean;
|
|
1467
|
+
persistent?: boolean;
|
|
1468
|
+
depends?: string;
|
|
1469
|
+
description?: string;
|
|
1470
|
+
default?: any;
|
|
1471
|
+
set?: Function;
|
|
1472
|
+
get?: Function;
|
|
1473
|
+
toInternal?: Function;
|
|
1474
|
+
toExternal?: Function;
|
|
1475
|
+
values?: Set<any>;
|
|
1476
|
+
externalName?: string;
|
|
1477
|
+
env?: string[] | string;
|
|
1478
|
+
additionalValues?: object;
|
|
1479
|
+
};
|
|
1480
|
+
RefuseRecordTypes: {
|
|
1481
|
+
configurable: boolean;
|
|
1482
|
+
type: object;
|
|
1483
|
+
isKey: boolean;
|
|
1484
|
+
writable: boolean;
|
|
1485
|
+
mandatory: boolean;
|
|
1486
|
+
collection: boolean;
|
|
1487
|
+
private?: boolean;
|
|
1488
|
+
credential?: boolean;
|
|
1489
|
+
persistent?: boolean;
|
|
1490
|
+
depends?: string;
|
|
1491
|
+
description?: string;
|
|
1492
|
+
default?: any;
|
|
1493
|
+
set?: Function;
|
|
1494
|
+
get?: Function;
|
|
1495
|
+
toInternal?: Function;
|
|
1496
|
+
toExternal?: Function;
|
|
1497
|
+
values?: Set<any>;
|
|
1498
|
+
externalName?: string;
|
|
1499
|
+
env?: string[] | string;
|
|
1500
|
+
additionalValues?: object;
|
|
1501
|
+
};
|
|
1250
1502
|
DNSSEC: {
|
|
1251
1503
|
default: boolean;
|
|
1504
|
+
configurable: boolean;
|
|
1505
|
+
writable: boolean;
|
|
1506
|
+
collection: boolean;
|
|
1507
|
+
};
|
|
1508
|
+
DNSOverTLS: {
|
|
1509
|
+
configurable: boolean;
|
|
1510
|
+
writable: boolean;
|
|
1511
|
+
collection: boolean;
|
|
1512
|
+
};
|
|
1513
|
+
LLMNR: {
|
|
1514
|
+
configurable: boolean;
|
|
1252
1515
|
writable: boolean;
|
|
1253
1516
|
collection: boolean;
|
|
1254
1517
|
};
|
|
1255
|
-
DNSOverTLS: typeof yesno_attribute_writable;
|
|
1256
|
-
LLMNR: typeof yesno_attribute_writable;
|
|
1257
1518
|
};
|
|
1519
|
+
service: {};
|
|
1258
1520
|
};
|
|
1259
1521
|
get systemdServices(): string;
|
|
1260
1522
|
systemdConfigs(name: any): {
|
|
@@ -1264,4 +1526,3 @@ export class SystemdResolvedService extends ExtraSourceService {
|
|
|
1264
1526
|
};
|
|
1265
1527
|
}
|
|
1266
1528
|
import { ExtraSourceService } from "pmcf";
|
|
1267
|
-
import { yesno_attribute_writable } from "pacc";
|
|
@@ -1233,15 +1233,169 @@ export class SystemdTimesyncdService extends ExtraSourceService {
|
|
|
1233
1233
|
address: import("pacc").AttributeDefinition;
|
|
1234
1234
|
};
|
|
1235
1235
|
})[];
|
|
1236
|
+
attributes: {
|
|
1237
|
+
NTP: {
|
|
1238
|
+
configurable: boolean;
|
|
1239
|
+
type: object;
|
|
1240
|
+
isKey: boolean;
|
|
1241
|
+
writable: boolean;
|
|
1242
|
+
mandatory: boolean;
|
|
1243
|
+
collection: boolean;
|
|
1244
|
+
private?: boolean;
|
|
1245
|
+
credential?: boolean;
|
|
1246
|
+
persistent?: boolean;
|
|
1247
|
+
depends?: string;
|
|
1248
|
+
description?: string;
|
|
1249
|
+
default?: any;
|
|
1250
|
+
set?: Function;
|
|
1251
|
+
get?: Function;
|
|
1252
|
+
toInternal?: Function;
|
|
1253
|
+
toExternal?: Function;
|
|
1254
|
+
values?: Set<any>;
|
|
1255
|
+
externalName?: string;
|
|
1256
|
+
env?: string[] | string;
|
|
1257
|
+
additionalValues?: object;
|
|
1258
|
+
};
|
|
1259
|
+
FallbackNTP: {
|
|
1260
|
+
configurable: boolean;
|
|
1261
|
+
type: object;
|
|
1262
|
+
isKey: boolean;
|
|
1263
|
+
writable: boolean;
|
|
1264
|
+
mandatory: boolean;
|
|
1265
|
+
collection: boolean;
|
|
1266
|
+
private?: boolean;
|
|
1267
|
+
credential?: boolean;
|
|
1268
|
+
persistent?: boolean;
|
|
1269
|
+
depends?: string;
|
|
1270
|
+
description?: string;
|
|
1271
|
+
default?: any;
|
|
1272
|
+
set?: Function;
|
|
1273
|
+
get?: Function;
|
|
1274
|
+
toInternal?: Function;
|
|
1275
|
+
toExternal?: Function;
|
|
1276
|
+
values?: Set<any>;
|
|
1277
|
+
externalName?: string;
|
|
1278
|
+
env?: string[] | string;
|
|
1279
|
+
additionalValues?: object;
|
|
1280
|
+
};
|
|
1281
|
+
RootDistanceMaxSec: {
|
|
1282
|
+
configurable: boolean;
|
|
1283
|
+
type: object;
|
|
1284
|
+
isKey: boolean;
|
|
1285
|
+
writable: boolean;
|
|
1286
|
+
mandatory: boolean;
|
|
1287
|
+
collection: boolean;
|
|
1288
|
+
private?: boolean;
|
|
1289
|
+
credential?: boolean;
|
|
1290
|
+
persistent?: boolean;
|
|
1291
|
+
depends?: string;
|
|
1292
|
+
description?: string;
|
|
1293
|
+
default?: any;
|
|
1294
|
+
set?: Function;
|
|
1295
|
+
get?: Function;
|
|
1296
|
+
toInternal?: Function;
|
|
1297
|
+
toExternal?: Function;
|
|
1298
|
+
values?: Set<any>;
|
|
1299
|
+
externalName?: string;
|
|
1300
|
+
env?: string[] | string;
|
|
1301
|
+
additionalValues?: object;
|
|
1302
|
+
};
|
|
1303
|
+
PollIntervalMinSec: {
|
|
1304
|
+
configurable: boolean;
|
|
1305
|
+
type: object;
|
|
1306
|
+
isKey: boolean;
|
|
1307
|
+
writable: boolean;
|
|
1308
|
+
mandatory: boolean;
|
|
1309
|
+
collection: boolean;
|
|
1310
|
+
private?: boolean;
|
|
1311
|
+
credential?: boolean;
|
|
1312
|
+
persistent?: boolean;
|
|
1313
|
+
depends?: string;
|
|
1314
|
+
description?: string;
|
|
1315
|
+
default?: any;
|
|
1316
|
+
set?: Function;
|
|
1317
|
+
get?: Function;
|
|
1318
|
+
toInternal?: Function;
|
|
1319
|
+
toExternal?: Function;
|
|
1320
|
+
values?: Set<any>;
|
|
1321
|
+
externalName?: string;
|
|
1322
|
+
env?: string[] | string;
|
|
1323
|
+
additionalValues?: object;
|
|
1324
|
+
};
|
|
1325
|
+
PollIntervalMaxSec: {
|
|
1326
|
+
configurable: boolean;
|
|
1327
|
+
type: object;
|
|
1328
|
+
isKey: boolean;
|
|
1329
|
+
writable: boolean;
|
|
1330
|
+
mandatory: boolean;
|
|
1331
|
+
collection: boolean;
|
|
1332
|
+
private?: boolean;
|
|
1333
|
+
credential?: boolean;
|
|
1334
|
+
persistent?: boolean;
|
|
1335
|
+
depends?: string;
|
|
1336
|
+
description?: string;
|
|
1337
|
+
default?: any;
|
|
1338
|
+
set?: Function;
|
|
1339
|
+
get?: Function;
|
|
1340
|
+
toInternal?: Function;
|
|
1341
|
+
toExternal?: Function;
|
|
1342
|
+
values?: Set<any>;
|
|
1343
|
+
externalName?: string;
|
|
1344
|
+
env?: string[] | string;
|
|
1345
|
+
additionalValues?: object;
|
|
1346
|
+
};
|
|
1347
|
+
ConnectionRetrySec: {
|
|
1348
|
+
configurable: boolean;
|
|
1349
|
+
type: object;
|
|
1350
|
+
isKey: boolean;
|
|
1351
|
+
writable: boolean;
|
|
1352
|
+
mandatory: boolean;
|
|
1353
|
+
collection: boolean;
|
|
1354
|
+
private?: boolean;
|
|
1355
|
+
credential?: boolean;
|
|
1356
|
+
persistent?: boolean;
|
|
1357
|
+
depends?: string;
|
|
1358
|
+
description?: string;
|
|
1359
|
+
default?: any;
|
|
1360
|
+
set?: Function;
|
|
1361
|
+
get?: Function;
|
|
1362
|
+
toInternal?: Function;
|
|
1363
|
+
toExternal?: Function;
|
|
1364
|
+
values?: Set<any>;
|
|
1365
|
+
externalName?: string;
|
|
1366
|
+
env?: string[] | string;
|
|
1367
|
+
additionalValues?: object;
|
|
1368
|
+
};
|
|
1369
|
+
SaveIntervalSec: {
|
|
1370
|
+
configurable: boolean;
|
|
1371
|
+
type: object;
|
|
1372
|
+
isKey: boolean;
|
|
1373
|
+
writable: boolean;
|
|
1374
|
+
mandatory: boolean;
|
|
1375
|
+
collection: boolean;
|
|
1376
|
+
private?: boolean;
|
|
1377
|
+
credential?: boolean;
|
|
1378
|
+
persistent?: boolean;
|
|
1379
|
+
depends?: string;
|
|
1380
|
+
description?: string;
|
|
1381
|
+
default?: any;
|
|
1382
|
+
set?: Function;
|
|
1383
|
+
get?: Function;
|
|
1384
|
+
toInternal?: Function;
|
|
1385
|
+
toExternal?: Function;
|
|
1386
|
+
values?: Set<any>;
|
|
1387
|
+
externalName?: string;
|
|
1388
|
+
env?: string[] | string;
|
|
1389
|
+
additionalValues?: object;
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1392
|
+
service: {};
|
|
1236
1393
|
};
|
|
1237
1394
|
get systemdServices(): string;
|
|
1238
1395
|
systemdConfigs(name: any): {
|
|
1239
1396
|
serviceName: string;
|
|
1240
1397
|
configFileName: string;
|
|
1241
|
-
content:
|
|
1242
|
-
NTP: any;
|
|
1243
|
-
FallbackNTP: any;
|
|
1244
|
-
})[];
|
|
1398
|
+
content: any[];
|
|
1245
1399
|
};
|
|
1246
1400
|
}
|
|
1247
1401
|
import { ExtraSourceService } from "pmcf";
|
package/types/utils.d.mts
CHANGED