pmcf 6.1.2 → 6.1.4
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 +28 -28
- package/package.json +1 -1
- package/src/base.mjs +0 -1
- package/src/cluster.mjs +1 -1
- package/src/services/openldap.mjs +0 -4
- package/src/type.mjs +0 -1
package/README.md
CHANGED
|
@@ -64,43 +64,43 @@ generates config packages for:
|
|
|
64
64
|
* [isTemplate](#istemplate)
|
|
65
65
|
* [expand](#expand)
|
|
66
66
|
* [Parameters](#parameters-9)
|
|
67
|
-
* [
|
|
67
|
+
* [serviceEndpoints](#serviceendpoints)
|
|
68
68
|
* [Parameters](#parameters-10)
|
|
69
|
+
* [PortEndpoint](#portendpoint)
|
|
70
|
+
* [Parameters](#parameters-11)
|
|
69
71
|
* [port](#port)
|
|
70
72
|
* [socketAddress](#socketaddress)
|
|
71
73
|
* [HTTPEndpoint](#httpendpoint)
|
|
72
|
-
* [Parameters](#parameters-
|
|
74
|
+
* [Parameters](#parameters-12)
|
|
73
75
|
* [port](#port-1)
|
|
74
76
|
* [id](#id)
|
|
75
77
|
* [domainNames](#domainnames)
|
|
76
78
|
* [InitializationContext](#initializationcontext)
|
|
77
|
-
* [Parameters](#parameters-
|
|
79
|
+
* [Parameters](#parameters-13)
|
|
78
80
|
* [SkeletonNetworkInterface](#skeletonnetworkinterface)
|
|
79
81
|
* [networkAddresses](#networkaddresses)
|
|
80
|
-
* [Parameters](#parameters-
|
|
82
|
+
* [Parameters](#parameters-14)
|
|
81
83
|
* [SystemdJournalRemoteService](#systemdjournalremoteservice)
|
|
82
84
|
* [Properties](#properties)
|
|
83
85
|
* [systemdConfigs](#systemdconfigs)
|
|
84
|
-
* [Parameters](#parameters-
|
|
86
|
+
* [Parameters](#parameters-15)
|
|
85
87
|
* [SystemdJournalUploadService](#systemdjournaluploadservice)
|
|
86
88
|
* [Properties](#properties-1)
|
|
87
89
|
* [systemdConfigs](#systemdconfigs-1)
|
|
88
|
-
* [Parameters](#parameters-
|
|
90
|
+
* [Parameters](#parameters-16)
|
|
89
91
|
* [NetworkAddress](#networkaddress)
|
|
90
|
-
* [Parameters](#parameters-
|
|
92
|
+
* [Parameters](#parameters-17)
|
|
91
93
|
* [subnet](#subnet)
|
|
92
94
|
* [networkInterface](#networkinterface)
|
|
93
95
|
* [address](#address)
|
|
94
96
|
* [addresses](#addresses)
|
|
95
|
-
* [Parameters](#parameters-17)
|
|
96
|
-
* [cidrAddresses](#cidraddresses)
|
|
97
97
|
* [Parameters](#parameters-18)
|
|
98
|
+
* [cidrAddresses](#cidraddresses)
|
|
99
|
+
* [Parameters](#parameters-19)
|
|
98
100
|
* [families](#families)
|
|
99
101
|
* [secretName](#secretname)
|
|
100
102
|
* [directHosts](#directhosts)
|
|
101
103
|
* [subnetForAddress](#subnetforaddress)
|
|
102
|
-
* [Parameters](#parameters-19)
|
|
103
|
-
* [serviceEndpoints](#serviceendpoints)
|
|
104
104
|
* [Parameters](#parameters-20)
|
|
105
105
|
* [domainName](#domainname)
|
|
106
106
|
* [Parameters](#parameters-21)
|
|
@@ -220,6 +220,21 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
220
220
|
|
|
221
221
|
Returns **any** 
|
|
222
222
|
|
|
223
|
+
## serviceEndpoints
|
|
224
|
+
|
|
225
|
+
### Parameters
|
|
226
|
+
|
|
227
|
+
* `sources` **any** 
|
|
228
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** (optional, default `{}`)
|
|
229
|
+
|
|
230
|
+
* `options.services` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** filter for services
|
|
231
|
+
* `options.endpoints` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** filter for endpoints
|
|
232
|
+
* `options.select` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** mapper from Endpoint into result
|
|
233
|
+
* `options.limit` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** upper limit of # result items
|
|
234
|
+
* `options.join` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** join result(s) into a string
|
|
235
|
+
|
|
236
|
+
Returns **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | any)** 
|
|
237
|
+
|
|
223
238
|
## PortEndpoint
|
|
224
239
|
|
|
225
240
|
**Extends BaseEndpoint**
|
|
@@ -285,7 +300,7 @@ Returns **Iterable<[NetworkAddress](#networkaddress)>** 
|
|
|
285
300
|
|
|
286
301
|
## SystemdJournalRemoteService
|
|
287
302
|
|
|
288
|
-
**Extends
|
|
303
|
+
**Extends CoreService**
|
|
289
304
|
|
|
290
305
|
### Properties
|
|
291
306
|
|
|
@@ -302,7 +317,7 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
302
317
|
|
|
303
318
|
## SystemdJournalUploadService
|
|
304
319
|
|
|
305
|
-
**Extends
|
|
320
|
+
**Extends CoreService**
|
|
306
321
|
|
|
307
322
|
### Properties
|
|
308
323
|
|
|
@@ -378,21 +393,6 @@ hosts we own direcly.
|
|
|
378
393
|
|
|
379
394
|
Returns **Subnet?** 
|
|
380
395
|
|
|
381
|
-
## serviceEndpoints
|
|
382
|
-
|
|
383
|
-
### Parameters
|
|
384
|
-
|
|
385
|
-
* `sources` **any** 
|
|
386
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** (optional, default `{}`)
|
|
387
|
-
|
|
388
|
-
* `options.services` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** filter for services
|
|
389
|
-
* `options.endpoints` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** filter for endpoints
|
|
390
|
-
* `options.select` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** mapper from Endpoint into result
|
|
391
|
-
* `options.limit` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** upper limit of # result items
|
|
392
|
-
* `options.join` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** join result(s) into a string
|
|
393
|
-
|
|
394
|
-
Returns **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | any)** 
|
|
395
|
-
|
|
396
396
|
## domainName
|
|
397
397
|
|
|
398
398
|
Appends default domain if name does not already have a domain.
|
package/package.json
CHANGED
package/src/base.mjs
CHANGED
package/src/cluster.mjs
CHANGED
|
@@ -40,10 +40,6 @@ export class openldap extends CoreService {
|
|
|
40
40
|
|
|
41
41
|
const packageData = this.packageData;
|
|
42
42
|
|
|
43
|
-
/*console.log(
|
|
44
|
-
[...this.walkDirections(["this", "extends"])].map(n => n.fullName)
|
|
45
|
-
);*/
|
|
46
|
-
|
|
47
43
|
packageData.sources = await Array.fromAsync(
|
|
48
44
|
this.templateContent(
|
|
49
45
|
{
|
package/src/type.mjs
CHANGED
|
@@ -42,7 +42,6 @@ export function assign(attribute, object, value) {
|
|
|
42
42
|
if (attribute.collection) {
|
|
43
43
|
const current = object[attribute.name];
|
|
44
44
|
|
|
45
|
-
//console.log("ASSIGN", object.fullName, attribute.name, value.name);
|
|
46
45
|
if (current) {
|
|
47
46
|
if (typeof current.set === "function") {
|
|
48
47
|
if (attribute.type.primitive) {
|