UNPKG

pmcf

Version:

Poor mans configuration management

317 lines (316 loc) 12.6 kB
export class Location extends Owner { static get typeDefinition(): { name: string; owners: (string | { name: string; owners: string[]; extends: typeof import("pmcf").Base; key: string; attributes: { networks: { type: string; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; hosts: { type: string; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; clusters: { type: string; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; subnets: { type: { name: string; owners: string[]; constructWithIdentifierOnly: boolean; key: string; attributes: { address: import("pacc").AttributeDefinition; networks: { type: string; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; prefixLength: import("pacc").AttributeDefinition; family: import("pacc").AttributeDefinition; }; }; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; country: import("pacc").AttributeDefinition; domain: import("pacc").AttributeDefinition; domains: import("pacc").AttributeDefinition; timezone: import("pacc").AttributeDefinition; architectures: import("pacc").AttributeDefinition; locales: import("pacc").AttributeDefinition; administratorEmail: { writable: boolean; type: object; isKey: boolean; mandatory: boolean; collection: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; }; })[]; extends: { name: string; owners: string[]; extends: typeof import("pmcf").Base; key: string; attributes: { networks: { type: string; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; hosts: { type: string; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; clusters: { type: string; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; subnets: { type: { name: string; owners: string[]; constructWithIdentifierOnly: boolean; key: string; attributes: { address: import("pacc").AttributeDefinition; networks: { type: string; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; prefixLength: import("pacc").AttributeDefinition; family: import("pacc").AttributeDefinition; }; }; collection: boolean; isKey: boolean; writable: boolean; mandatory: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; country: import("pacc").AttributeDefinition; domain: import("pacc").AttributeDefinition; domains: import("pacc").AttributeDefinition; timezone: import("pacc").AttributeDefinition; architectures: import("pacc").AttributeDefinition; locales: import("pacc").AttributeDefinition; administratorEmail: { writable: boolean; type: object; isKey: boolean; mandatory: boolean; collection: boolean; private?: boolean; credential?: boolean; persistent?: boolean; depends?: string; description?: string; default?: any; set?: Function; get?: Function; prepareValue?: Function; values?: Set<any>; externalName?: string; env?: string[] | string; additionalValues?: object; }; }; }; key: string; attributes: { locales: import("pacc").AttributeDefinition; }; }; get location(): this; 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: { jq: string; }; provides: string[]; replaces: string[]; hooks: any; }; }, void, unknown>; } import { Owner } from "pmcf"; import { FileContentProvider } from "npm-pkgbuild";