| Server IP : 34.87.99.72 / Your IP : 216.73.217.31 Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 User : bitnami ( 1000) PHP Version : 7.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/nami/node_modules/provisioner/lib/ |
Upload File : |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class NamiRegistryModule {
constructor(namiRegistry, registryData) {
this.namiRegistry = namiRegistry;
this.id = registryData.id;
this.name = registryData.name;
this.version = registryData.version;
this.revision = registryData.revision;
this.installdir = registryData.installdir;
this.values = registryData.values || {};
this.lifecycle = registryData.lifecycle || "unpacked";
this.exports = registryData.exports || [];
this.monitFile = this.values.monitFile;
this.logrotateFile = this.values.logrotateFile;
this.cronFile = this.values.cronFile;
}
get registry() {
return this.namiRegistry;
}
get logger() {
return this.namiRegistry.logger;
}
isService() {
return this.exportsFunction("start") && this.exportsFunction("stop");
}
exportsFunction(name) {
return this.exports.indexOf(name) >= 0;
}
}
exports.NamiRegistryModule = NamiRegistryModule;