UNPKG

pmcf

Version:

Poor mans configuration management

443 lines (442 loc) 16.2 kB
export class InfluxdbService extends Service { 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[]; 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: { "metrics-disabled": { isCommonOption: boolean; 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; }; }; service: { endpoints: { family: string; port: number; protocol: string; tls: boolean; }[]; }; }; get type(): string; preparePackages(dir: any): AsyncGenerator<{ dir: any; sources: FileContentProvider[]; outputs: Set<typeof import("npm-pkgbuild").OCI | typeof import("npm-pkgbuild").DOCKER>; properties: { name: string; description: string; access: string; dependencies: string[]; }; }, void, unknown>; } import { Service } from "../service.mjs"; import { FileContentProvider } from "npm-pkgbuild";