pmcf
Version:
Poor mans configuration management
125 lines (124 loc) • 3.91 kB
text/typescript
export function extractFrom(object: any, typeDefinition?: any): any;
/**
*
*/
export class Base {
static get typeName(): string;
static get typeDefinition(): {
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;
};
};
static get typeFileName(): string;
static get fileNameGlob(): string;
constructor(owner: any, data: any);
owner: any;
description: any;
name: string;
_tags: Set<any>;
_packaging: Set<any>;
_directory: any;
_finalize: any;
_properties: any;
ownerFor(property: any, data: any): any;
read(data: any, type?: any): void;
named(name: any): void;
typeNamed(typeName: any, name: any): any;
addObject(object: any): any;
forOwner(owner: any): any;
isNamed(name: any): boolean;
relativeName(name: any): any;
get typeName(): any;
/**
* @return {Iterable<Base>}
*/
get extends(): Iterable<Base>;
_extendedPropertyIterator(propertyName: any, seen: any): any;
_extendedProperty(propertyName: any, seen: any): any;
extendedProperty(propertyName: any): any;
get root(): any;
get location(): any;
get host(): any;
get network(): any;
get domain(): any;
get domains(): any;
get localDomains(): any;
get administratorEmail(): any;
get locales(): any;
get country(): any;
get timezone(): any;
set priority(value: any);
get priority(): any;
_priority: any;
get smtp(): any;
/**
*
* @param {any} filter
* @returns service with the highest priority
*/
findService(filter: any): any;
findServices(filter: any): Generator<any, void, any>;
set directory(directory: any);
get directory(): any;
get fullName(): any;
set packaging(value: Set<any>);
get packaging(): Set<any>;
get derivedPackaging(): any;
get outputs(): Set<typeof import("npm-pkgbuild").OCI | typeof import("npm-pkgbuild").DOCKER>;
preparePackages(stagingDir: any): AsyncGenerator<never, void, unknown>;
set tags(value: Set<any>);
get tags(): Set<any>;
get isTemplate(): boolean;
get properties(): any;
property(name: any): any;
expand(object: any): any;
finalize(action: any): void;
execFinalize(): void;
_execFinalize(): void;
traverse(visitor: any, ...args: any[]): Set<any>;
_traverse(visited: any, visitor: any, ...args: any[]): boolean;
error(...args: any[]): void;
info(...args: any[]): void;
toString(): string;
toJSON(): any;
}