pig-dam-cfg
Version:
Pig DAM's configuration information server
17 lines • 611 B
TypeScript
/**
* Date: 6/12/20
* Time: 11:16 PM
* @license MIT (see project's LICENSE file)
*/
import { ClusterConfiguration, ClusterManifest, ServiceConfiguration, ServiceName } from "./types";
/**
* Gets the entire cluster's configuration
* @throws {Error}
*/
export declare function getClusterConfiguration(manifest?: ClusterManifest): ClusterConfiguration;
/**
* Loads the configuration of the specified service
* @throws {Error}
*/
export declare function getServiceConfiguration<T extends ServiceConfiguration>(service: ServiceName, cluster?: ClusterConfiguration): T;
//# sourceMappingURL=cluster.d.ts.map