pmcf
Version:
Poor mans configuration management
514 lines (513 loc) • 19.3 kB
text/typescript
export class Location extends Owner {
static get typeDefinition(): {
name: string;
owners: (string | {
name: string;
owners: string[];
priority: number;
extends: {
name: string;
owners: any[];
properties: {
owner: {
type: string;
collection: boolean;
writable: boolean;
};
type: import("pacc").AttributeDefinition;
name: {
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;
};
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: {
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;
};
disabled: import("pacc").AttributeDefinition;
tags: import("pacc").AttributeDefinition;
};
};
properties: {
networks: {
type: string;
collection: boolean;
writable: boolean;
};
hosts: {
type: string;
collection: boolean;
writable: boolean;
};
clusters: {
type: string;
collection: boolean;
writable: boolean;
};
subnets: {
type: {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
properties: {
address: {
isKey: boolean;
type: string;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
networks: {
type: string;
collection: boolean;
writable: boolean;
};
prefixLength: {
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;
};
};
};
collection: boolean;
writable: boolean;
};
country: {
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;
};
domain: {
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;
};
domains: {
writable: boolean;
collection: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
private: boolean;
depends: string;
description: string;
default: any;
set: Function;
get: Function;
env: string[] | string;
};
timezone: {
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;
};
architectures: {
writable: boolean;
collection: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
private: boolean;
depends: string;
description: string;
default: any;
set: Function;
get: Function;
env: string[] | string;
};
locales: {
writable: boolean;
collection: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
private: boolean;
depends: string;
description: string;
default: any;
set: Function;
get: Function;
env: string[] | string;
};
administratorEmail: {
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: number;
extends: {
name: string;
owners: string[];
priority: number;
extends: {
name: string;
owners: any[];
properties: {
owner: {
type: string;
collection: boolean;
writable: boolean;
};
type: import("pacc").AttributeDefinition;
name: {
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;
};
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: {
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;
};
disabled: import("pacc").AttributeDefinition;
tags: import("pacc").AttributeDefinition;
};
};
properties: {
networks: {
type: string;
collection: boolean;
writable: boolean;
};
hosts: {
type: string;
collection: boolean;
writable: boolean;
};
clusters: {
type: string;
collection: boolean;
writable: boolean;
};
subnets: {
type: {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
properties: {
address: {
isKey: boolean;
type: string;
writable: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
networks: {
type: string;
collection: boolean;
writable: boolean;
};
prefixLength: {
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;
};
};
};
collection: boolean;
writable: boolean;
};
country: {
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;
};
domain: {
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;
};
domains: {
writable: boolean;
collection: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
private: boolean;
depends: string;
description: string;
default: any;
set: Function;
get: Function;
env: string[] | string;
};
timezone: {
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;
};
architectures: {
writable: boolean;
collection: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
private: boolean;
depends: string;
description: string;
default: any;
set: Function;
get: Function;
env: string[] | string;
};
locales: {
writable: boolean;
collection: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
private: boolean;
depends: string;
description: string;
default: any;
set: Function;
get: Function;
env: string[] | string;
};
administratorEmail: {
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;
};
};
};
properties: {
locales: {
writable: boolean;
collection: boolean;
type: string;
isKey: boolean;
mandatory: boolean;
private: boolean;
depends: string;
description: string;
default: any;
set: Function;
get: Function;
env: string[] | string;
};
};
};
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";