pmcf
Version:
Poor mans configuration management
397 lines (396 loc) • 14.8 kB
text/typescript
export class WireguardNetworkInterface extends SkeletonNetworkInterface {
static get typeDefinition(): {
name: string;
specializationOf: {
name: string;
priority: number;
owners: string[];
extends: {
name: string;
owners: any[];
attributes: {
owner: {
type: string;
collection: boolean;
writable: boolean;
};
type: import("pacc").AttributeDefinition;
name: import("pacc").AttributeDefinition;
description: {
writable: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
priority: import("pacc").AttributeDefinition;
directory: import("pacc").AttributeDefinition;
packaging: import("pacc").AttributeDefinition;
disabled: import("pacc").AttributeDefinition;
tags: import("pacc").AttributeDefinition;
};
};
specializations: {};
factoryFor(owner: any, value: any): any;
attributes: {
services: {
type: string;
collection: boolean;
writable: boolean;
};
hostName: {
writable: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
ipAddresses: {
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
hwaddr: {
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
network: {
type: string;
collection: boolean;
writable: boolean;
};
destination: {
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
cidrAddresses: import("pacc").AttributeDefinition;
cidrAddress: import("pacc").AttributeDefinition;
addresses: import("pacc").AttributeDefinition;
address: import("pacc").AttributeDefinition;
scope: {
values: string[];
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
class: {
values: string[];
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
kind: {
values: string[];
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
ssid: import("pacc").AttributeDefinition;
psk: import("pacc").AttributeDefinition;
secretName: import("pacc").AttributeDefinition;
metric: {
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
mtu: {
default: number;
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
set?: Function;
get?: Function;
env?: string[] | string;
};
gateway: {
type: string;
collection: boolean;
writable: boolean;
};
multicastDNS: import("pacc").AttributeDefinition;
};
};
owners: string[];
extends: {
name: string;
priority: number;
owners: string[];
extends: {
name: string;
owners: any[];
attributes: {
owner: {
type: string;
collection: boolean;
writable: boolean;
};
type: import("pacc").AttributeDefinition;
name: import("pacc").AttributeDefinition;
description: {
writable: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
priority: import("pacc").AttributeDefinition;
directory: import("pacc").AttributeDefinition;
packaging: import("pacc").AttributeDefinition;
disabled: import("pacc").AttributeDefinition;
tags: import("pacc").AttributeDefinition;
};
};
specializations: {};
factoryFor(owner: any, value: any): any;
attributes: {
services: {
type: string;
collection: boolean;
writable: boolean;
};
hostName: {
writable: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
ipAddresses: {
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
hwaddr: {
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
network: {
type: string;
collection: boolean;
writable: boolean;
};
destination: {
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
cidrAddresses: import("pacc").AttributeDefinition;
cidrAddress: import("pacc").AttributeDefinition;
addresses: import("pacc").AttributeDefinition;
address: import("pacc").AttributeDefinition;
scope: {
values: string[];
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
class: {
values: string[];
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
kind: {
values: string[];
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
ssid: import("pacc").AttributeDefinition;
psk: import("pacc").AttributeDefinition;
secretName: import("pacc").AttributeDefinition;
metric: {
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
mtu: {
default: number;
type: string;
isKey: boolean;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
set?: Function;
get?: Function;
env?: string[] | string;
};
gateway: {
type: string;
collection: boolean;
writable: boolean;
};
multicastDNS: import("pacc").AttributeDefinition;
};
};
priority: number;
attributes: {};
};
get kind(): string;
}
import { SkeletonNetworkInterface } from "./skeleton.mjs";