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.
- package/README.md +93 -72
- package/bin/pmcf-diagram +1 -1
- package/package.json +19 -19
- package/src/base.mjs +24 -237
- package/src/cli.mjs +4 -4
- package/src/cluster.mjs +15 -13
- package/src/extra-source-service.mjs +7 -10
- package/src/host.mjs +30 -44
- package/src/initialization-context.mjs +324 -0
- package/src/location.mjs +4 -14
- package/src/module.mjs +1 -0
- package/src/network-interfaces/ethernet.mjs +3 -5
- package/src/network-interfaces/loopback.mjs +2 -4
- package/src/network-interfaces/network-interface.mjs +3 -5
- package/src/network-interfaces/skeleton.mjs +9 -3
- package/src/network-interfaces/tun.mjs +2 -4
- package/src/network-interfaces/wireguard.mjs +3 -5
- package/src/network-interfaces/wlan.mjs +4 -7
- package/src/network.mjs +10 -8
- package/src/owner.mjs +8 -32
- package/src/root.mjs +4 -73
- package/src/service-owner.mjs +19 -18
- package/src/service.mjs +13 -18
- package/src/services/alpm.mjs +4 -9
- package/src/services/bind.mjs +424 -388
- package/src/services/chrony.mjs +3 -5
- package/src/services/headscale.mjs +2 -4
- package/src/services/influxdb.mjs +2 -4
- package/src/services/kea.mjs +6 -10
- package/src/services/mosquitto.mjs +2 -4
- package/src/services/openldap.mjs +2 -4
- package/src/services/postfix.mjs +2 -4
- package/src/services/systemd-journal-remote.mjs +2 -4
- package/src/services/systemd-journal-upload.mjs +9 -10
- package/src/services/systemd-journald.mjs +2 -4
- package/src/services/systemd-resolved.mjs +42 -42
- package/src/services/systemd-timesyncd.mjs +9 -13
- package/src/services/tailscale.mjs +5 -2
- package/src/subnet.mjs +9 -5
- package/types/base.d.mts +0 -179
- package/types/cli.d.mts +0 -10
- package/types/cluster.d.mts +0 -507
- package/types/dns-utils.d.mts +0 -14
- package/types/endpoint.d.mts +0 -79
- package/types/extra-source-service.d.mts +0 -1033
- package/types/hooks.d.mts +0 -2
- package/types/host-utils.d.mts +0 -1
- package/types/host.d.mts +0 -285
- package/types/location.d.mts +0 -379
- package/types/module.d.mts +0 -36
- package/types/network-address.d.mts +0 -41
- package/types/network-interfaces/ethernet.d.mts +0 -1189
- package/types/network-interfaces/loopback.d.mts +0 -1140
- package/types/network-interfaces/network-interface.d.mts +0 -1158
- package/types/network-interfaces/skeleton.d.mts +0 -30
- package/types/network-interfaces/tun.d.mts +0 -1131
- package/types/network-interfaces/wireguard.d.mts +0 -1131
- package/types/network-interfaces/wlan.d.mts +0 -1734
- package/types/network-support.d.mts +0 -193
- package/types/network.d.mts +0 -702
- package/types/owner.d.mts +0 -235
- package/types/root.d.mts +0 -10
- package/types/service-owner.d.mts +0 -14
- package/types/service-types.d.mts +0 -246
- package/types/service.d.mts +0 -689
- package/types/services/alpm.d.mts +0 -805
- package/types/services/bind.d.mts +0 -1574
- package/types/services/chrony.d.mts +0 -1310
- package/types/services/headscale.d.mts +0 -801
- package/types/services/influxdb.d.mts +0 -812
- package/types/services/kea.d.mts +0 -945
- package/types/services/mosquitto.d.mts +0 -876
- package/types/services/openldap.d.mts +0 -793
- package/types/services/postfix.d.mts +0 -784
- package/types/services/systemd-journal-remote.d.mts +0 -1030
- package/types/services/systemd-journal-upload.d.mts +0 -932
- package/types/services/systemd-journald.d.mts +0 -1317
- package/types/services/systemd-resolved.d.mts +0 -1644
- package/types/services/systemd-timesyncd.d.mts +0 -1459
- package/types/services/tailscale.d.mts +0 -781
- package/types/subnet.d.mts +0 -57
- package/types/utils.d.mts +0 -37
package/types/subnet.d.mts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export function subnets(sources: any): Set<any>;
|
|
2
|
-
export class Subnet extends Base {
|
|
3
|
-
static get typeDefinition(): {
|
|
4
|
-
name: string;
|
|
5
|
-
owners: string[];
|
|
6
|
-
constructWithIdentifierOnly: boolean;
|
|
7
|
-
key: string;
|
|
8
|
-
attributes: {
|
|
9
|
-
address: import("pacc").AttributeDefinition;
|
|
10
|
-
networks: {
|
|
11
|
-
type: string;
|
|
12
|
-
collection: boolean;
|
|
13
|
-
isKey: boolean;
|
|
14
|
-
writable: boolean;
|
|
15
|
-
mandatory: boolean;
|
|
16
|
-
constructor?: Function;
|
|
17
|
-
private?: boolean;
|
|
18
|
-
credential?: boolean;
|
|
19
|
-
persistent?: boolean;
|
|
20
|
-
depends?: string;
|
|
21
|
-
description?: string;
|
|
22
|
-
default?: any;
|
|
23
|
-
set?: Function;
|
|
24
|
-
get?: Function;
|
|
25
|
-
toInternal?: Function;
|
|
26
|
-
toExternal?: Function;
|
|
27
|
-
values?: Set<any>;
|
|
28
|
-
externalName?: string;
|
|
29
|
-
env?: string[] | string;
|
|
30
|
-
additionalValues?: object;
|
|
31
|
-
};
|
|
32
|
-
prefixLength: import("pacc").AttributeDefinition;
|
|
33
|
-
family: import("pacc").AttributeDefinition;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
constructor(owner: any, address: any);
|
|
37
|
-
networks: Set<any>;
|
|
38
|
-
prefix: any;
|
|
39
|
-
prefixLength: any;
|
|
40
|
-
longPrefix: any;
|
|
41
|
-
family: any;
|
|
42
|
-
get cidr(): string;
|
|
43
|
-
get fullName(): string;
|
|
44
|
-
matchesAddress(address: any): any;
|
|
45
|
-
get isLinkLocal(): any;
|
|
46
|
-
get addressRange(): any;
|
|
47
|
-
get dhcpPools(): any[];
|
|
48
|
-
get address(): string;
|
|
49
|
-
get longAddress(): string;
|
|
50
|
-
_traverse(...args: any[]): boolean;
|
|
51
|
-
}
|
|
52
|
-
export const SUBNET_GLOBAL_IPV4: Subnet;
|
|
53
|
-
export const SUBNET_GLOBAL_IPV6: Subnet;
|
|
54
|
-
export const SUBNET_LOCALHOST_IPV4: Subnet;
|
|
55
|
-
export const SUBNET_LOCALHOST_IPV6: Subnet;
|
|
56
|
-
export const SUBNET_LINK_LOCAL_IPV6: Subnet;
|
|
57
|
-
import { Base } from "./base.mjs";
|
package/types/utils.d.mts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export function yesno(flag: any): "no" | "yes";
|
|
2
|
-
/**
|
|
3
|
-
* Appends default domain if name does not already have a domain.
|
|
4
|
-
* @param {string} name
|
|
5
|
-
* @param {string} [defaultDomain]
|
|
6
|
-
* @returns {string|undefined}
|
|
7
|
-
*/
|
|
8
|
-
export function domainName(name: string, defaultDomain?: string): string | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* Extracts domain name from a name.
|
|
11
|
-
* @param {string} domainName
|
|
12
|
-
* @param {string} [defaultDomain]
|
|
13
|
-
* @returns {string|undefined}
|
|
14
|
-
*/
|
|
15
|
-
export function domainFromDominName(domainName: string, defaultDomain?: string): string | undefined;
|
|
16
|
-
export function writeLines(dir: any, name: any, lines: any): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param {string} sectionName
|
|
20
|
-
* @param {Object} values
|
|
21
|
-
* @returns {Array<string>}
|
|
22
|
-
*/
|
|
23
|
-
export function sectionLines(sectionName: string, values: any): Array<string>;
|
|
24
|
-
export function setionLinesFromPropertyIterator(properties: any): Generator<string, void, unknown>;
|
|
25
|
-
export function bridgeToJSON(bridge: any): any[];
|
|
26
|
-
/**
|
|
27
|
-
* @param {any} value
|
|
28
|
-
* @returns {Array<any>}
|
|
29
|
-
*/
|
|
30
|
-
export function asArray(value: any): Array<any>;
|
|
31
|
-
/**
|
|
32
|
-
* @param {any} value
|
|
33
|
-
* @returns {Iterable<any>}
|
|
34
|
-
*/
|
|
35
|
-
export function asIterator(value: any): Iterable<any>;
|
|
36
|
-
export function union(value: any, present?: Set<any>): Set<any>;
|
|
37
|
-
export function filterConfigurable(name: any, attribute: any): number;
|