pmcf
Version:
Poor mans configuration management
288 lines (287 loc) • 9.72 kB
text/typescript
export class Owner extends Base {
static get typeDefinition(): {
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;
};
};
};
_membersByType: Map<any, any>;
_bridges: Set<any>;
_traverse(...args: any[]): boolean;
find(pattern: any): Generator<any, void, unknown>;
named(name: any): any;
typeObject(typeName: any): any;
typeList(typeName: any): any;
addTypeObject(typeName: any, name: any, object: any): void;
addObject(object: any): void;
locationNamed(name: any): any;
locations(): any;
hostNamed(name: any): any;
directHosts(): Set<any>;
hosts(): Set<any>;
networkNamed(name: any): any;
networks(): any;
subnetNamed(name: any): any;
subnets(): Generator<any, void, any>;
addSubnet(address: any): any;
subnetForAddress(address: any): any;
clusterNamed(name: any): any;
clusters(): any;
get bridges(): Set<any>;
addBridge(network: any, destinationNetworks: any): any;
_resolveBridges(): void;
get derivedPackaging(): Set<any>;
networkAddresses(filter: any): Generator<any, void, any>;
_country: any;
set country(value: any);
get country(): any;
_locales: Set<any>;
set locales(value: any);
get locales(): any;
_timezone: any;
set timezone(value: any);
get timezone(): any;
_administratorEmail: any;
set administratorEmail(value: any);
get administratorEmail(): any;
_domain: any;
set domain(value: any);
get domain(): any;
get domains(): Set<any>;
get localDomains(): Set<any>;
get domainNames(): Set<any>;
_architectures: any;
set architectures(value: any);
get architectures(): any;
}
import { Base } from "./base.mjs";