UNPKG

pmcf

Version:

Poor mans configuration management

432 lines (431 loc) 16.5 kB
export class SystemdResolvedService extends ExtraSourceService { static get typeDefinition(): { name: string; specializationOf: { name: string; owners: string[]; priority: number; 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: { 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; }; packaging: import("pacc").AttributeDefinition; disabled: import("pacc").AttributeDefinition; tags: import("pacc").AttributeDefinition; }; }; specializations: {}; factoryFor(owner: any, value: any): any; attributes: { alias: { 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; }; weight: { 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; }; systemd: import("pacc").AttributeDefinition; port: { 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; }; protocol: { 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; }; type: { 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; }; types: typeof import("pacc").string_collection_attribute; tls: import("pacc").AttributeDefinition; 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; }; cidrAddresses: { 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; }; cidrAddress: { 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; }; addresses: { 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; }; address: { 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; }; }; }; owners: string[]; extends: { name: string; owners: string[]; extends: { name: string; owners: string[]; priority: number; 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: { 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; }; packaging: import("pacc").AttributeDefinition; disabled: import("pacc").AttributeDefinition; tags: import("pacc").AttributeDefinition; }; }; specializations: {}; factoryFor(owner: any, value: any): any; attributes: { alias: { 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; }; weight: { 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; }; systemd: import("pacc").AttributeDefinition; port: { 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; }; protocol: { 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; }; type: { 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; }; types: typeof import("pacc").string_collection_attribute; tls: import("pacc").AttributeDefinition; 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; }; cidrAddresses: { 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; }; cidrAddress: { 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; }; addresses: { 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; }; address: { 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; }; }; }; priority: number; attributes: { source: { type: string[]; collection: boolean; writable: boolean; }; }; }; priority: number; attributes: {}; service: {}; }; get systemdServices(): string; systemdConfigs(name: any): { serviceName: string; configFileName: string; content: (string | { DNS: any; FallbackDNS: any; Domains: string; DNSSEC: string; MulticastDNS: string; LLMNR: string; })[]; }; } import { ExtraSourceService } from "pmcf";