pmcf
Version:
Poor mans configuration management
258 lines (257 loc) • 9.29 kB
text/typescript
export namespace ExtraSourceServiceTypeDefinition {
export let name: string;
export let owners: string[];
export { ServiceTypeDefinition as extends };
export let priority: number;
export namespace properties {
namespace source {
let type: string;
let collection: boolean;
let writable: boolean;
}
}
}
export class ExtraSourceService extends Service {
static get typeDefinition(): {
name: string;
owners: string[];
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;
};
};
specializations: {};
factoryFor(owner: any, value: any): any;
properties: {
alias: {
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;
};
weight: {
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;
};
systemd: import("pacc").AttributeDefinition;
port: {
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;
};
protocol: {
writable: boolean;
values: string[];
type: string;
isKey: boolean;
mandatory: boolean;
collection: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
env?: string[] | string;
};
type: {
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;
};
types: typeof import("pacc").string_collection_attribute;
tls: import("pacc").AttributeDefinition;
hostName: {
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;
};
cidrAddresses: {
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;
};
cidrAddress: {
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;
};
addresses: {
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;
};
address: {
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;
properties: {
source: {
type: string;
collection: boolean;
writable: boolean;
};
};
};
_source: any[];
get type(): string;
set source(value: any[]);
get source(): any[];
}
import { ServiceTypeDefinition } from "./service.mjs";
import { Service } from "./service.mjs";