public class SingularityExecutorModule
extends com.google.inject.AbstractModule
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCKER_TEMPLATE |
static String |
ENVIRONMENT_TEMPLATE |
static String |
LOCAL_DOWNLOAD_HTTP_CLIENT |
static String |
LOGROTATE_TEMPLATE |
static String |
RUNNER_TEMPLATE |
| Constructor and Description |
|---|
SingularityExecutorModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
com.spotify.docker.client.DockerClient |
providesDockerClient() |
com.github.jknack.handlebars.Template |
providesDockerTempalte(com.github.jknack.handlebars.Handlebars handlebars) |
com.github.jknack.handlebars.Template |
providesEnvironmentTemplate(com.github.jknack.handlebars.Handlebars handlebars) |
com.github.jknack.handlebars.Handlebars |
providesHandlebars() |
com.ning.http.client.AsyncHttpClient |
providesHttpClient(SingularityExecutorConfiguration configuration) |
com.github.jknack.handlebars.Template |
providesLogrotateTemplate(com.github.jknack.handlebars.Handlebars handlebars) |
com.github.jknack.handlebars.Template |
providesRunnerTemplate(com.github.jknack.handlebars.Handlebars handlebars) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic static final String RUNNER_TEMPLATE
public static final String ENVIRONMENT_TEMPLATE
public static final String LOGROTATE_TEMPLATE
public static final String DOCKER_TEMPLATE
public static final String LOCAL_DOWNLOAD_HTTP_CLIENT
protected void configure()
configure in class com.google.inject.AbstractModule@Provides public com.ning.http.client.AsyncHttpClient providesHttpClient(SingularityExecutorConfiguration configuration)
@Provides
public com.github.jknack.handlebars.Template providesRunnerTemplate(com.github.jknack.handlebars.Handlebars handlebars)
throws IOException
IOException@Provides
public com.github.jknack.handlebars.Template providesEnvironmentTemplate(com.github.jknack.handlebars.Handlebars handlebars)
throws IOException
IOException@Provides
public com.github.jknack.handlebars.Template providesLogrotateTemplate(com.github.jknack.handlebars.Handlebars handlebars)
throws IOException
IOException@Provides
public com.github.jknack.handlebars.Template providesDockerTempalte(com.github.jknack.handlebars.Handlebars handlebars)
throws IOException
IOException@Provides public com.github.jknack.handlebars.Handlebars providesHandlebars()
@Provides public com.spotify.docker.client.DockerClient providesDockerClient()
Copyright © 2015. All rights reserved.