pmcf
Version:
Poor mans configuration management
291 lines (290 loc) • 10.9 kB
text/typescript
export class Root extends Location {
static get typeDefinition(): {
name: string;
owners: any[];
priority: number;
extends: {
name: string;
owners: (string | {
name: string;
owners: string[];
priority: number;
extends: {
name: string;
owners: any[];
properties: {
owner: {
type: string;
collection: boolean;
writeable: boolean;
};
type: {
type: string;
collection: boolean;
writeable: boolean;
};
name: {
type: string;
collection: boolean;
identifier: boolean;
writeable: boolean;
};
description: {
type: string;
collection: boolean;
writeable: boolean;
};
priority: {
type: string;
collection: boolean;
writeable: boolean;
};
directory: {
type: string;
collection: boolean;
writeable: boolean;
};
packaging: {
type: string;
collection: boolean;
writeable: boolean;
};
tags: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
hosts: {
type: string;
collection: boolean;
writeable: boolean;
};
clusters: {
type: string;
collection: boolean;
writeable: boolean;
};
subnets: {
type: {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
properties: {
address: {
type: string;
collection: boolean;
writeable: boolean;
identifier: boolean;
};
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
prefixLength: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
collection: boolean;
writeable: boolean;
};
country: {
type: string;
collection: boolean;
writeable: boolean;
};
domain: {
type: string;
collection: boolean;
writeable: boolean;
};
domains: {
type: string;
collection: boolean;
writeable: boolean;
};
timezone: {
type: string;
collection: boolean;
writeable: boolean;
};
architectures: {
type: string;
collection: boolean;
writeable: boolean;
};
locales: {
type: string;
collection: boolean;
writeable: boolean;
};
administratorEmail: {
type: string;
collection: boolean;
writeable: boolean;
};
};
})[];
priority: number;
extends: {
name: string;
owners: string[];
priority: number;
extends: {
name: string;
owners: any[];
properties: {
owner: {
type: string;
collection: boolean;
writeable: boolean;
};
type: {
type: string;
collection: boolean;
writeable: boolean;
};
name: {
type: string;
collection: boolean;
identifier: boolean;
writeable: boolean;
};
description: {
type: string;
collection: boolean;
writeable: boolean;
};
priority: {
type: string;
collection: boolean;
writeable: boolean;
};
directory: {
type: string;
collection: boolean;
writeable: boolean;
};
packaging: {
type: string;
collection: boolean;
writeable: boolean;
};
tags: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
hosts: {
type: string;
collection: boolean;
writeable: boolean;
};
clusters: {
type: string;
collection: boolean;
writeable: boolean;
};
subnets: {
type: {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
properties: {
address: {
type: string;
collection: boolean;
writeable: boolean;
identifier: boolean;
};
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
prefixLength: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
collection: boolean;
writeable: boolean;
};
country: {
type: string;
collection: boolean;
writeable: boolean;
};
domain: {
type: string;
collection: boolean;
writeable: boolean;
};
domains: {
type: string;
collection: boolean;
writeable: boolean;
};
timezone: {
type: string;
collection: boolean;
writeable: boolean;
};
architectures: {
type: string;
collection: boolean;
writeable: boolean;
};
locales: {
type: string;
collection: boolean;
writeable: boolean;
};
administratorEmail: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {
locales: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {};
};
constructor(directory: any);
get fullName(): string;
get root(): this;
_load(name: any, type: any): any;
load(name: any, options: any): any;
loadAll(): Promise<void>;
}
import { Location } from "./location.mjs";