public class CosmosRenderer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.String,java.lang.String> |
renderSchedulerEnvironment(java.util.Map<java.lang.String,java.lang.String> customPackageOptions,
java.util.Map<java.lang.String,java.lang.String> customBuildTemplateParams)
Renders the Scheduler's environment for a given service with the provided options.
|
public static java.util.Map<java.lang.String,java.lang.String> renderSchedulerEnvironment(java.util.Map<java.lang.String,java.lang.String> customPackageOptions,
java.util.Map<java.lang.String,java.lang.String> customBuildTemplateParams)
customPackageOptions - map of any custom config settings as would be passed via an options.json file
when installing the service. these are provided to config.jsoncustomBuildTemplateParams - map of any custom template params that are normally provided as
TEMPLATE_X envvars when building the service at the commandline. these are provided to all universe
files (config.json, marathon.json.mustache, and resource.json)