Modifier and Type | Class and Description |
---|---|
class |
AWSEC2TemplateOptions
Contains options supported in the
ComputeService#runNode operation on
the "ec2" provider. |
Modifier and Type | Class and Description |
---|---|
class |
CloudStackTemplateOptions
Contains options supported by the
ComputeService#createNodesInGroup(String, int, TemplateOptions) and
ComputeService#createNodesInGroup(String, int, TemplateOptions)
operations on the gogrid provider. |
Modifier and Type | Method and Description |
---|---|
RunScriptOptions |
RunScriptOnNodesException.getOptions() |
Modifier and Type | Method and Description |
---|---|
ExecResponse |
ComputeService.runScriptOnNode(String id,
Statement runScript,
RunScriptOptions options)
Run the script on a specific node
|
ExecResponse |
ComputeService.runScriptOnNode(String id,
String runScript,
RunScriptOptions options) |
Map<? extends NodeMetadata,ExecResponse> |
ComputeService.runScriptOnNodesMatching(com.google.common.base.Predicate<NodeMetadata> filter,
Statement runScript,
RunScriptOptions options)
Run the script on all nodes with the specific predicate.
|
Map<? extends NodeMetadata,ExecResponse> |
ComputeService.runScriptOnNodesMatching(com.google.common.base.Predicate<NodeMetadata> filter,
String runScript,
RunScriptOptions options) |
com.google.common.util.concurrent.ListenableFuture<ExecResponse> |
ComputeService.submitScriptOnNode(String id,
Statement runScript,
RunScriptOptions options) |
com.google.common.util.concurrent.ListenableFuture<ExecResponse> |
ComputeService.submitScriptOnNode(String id,
String runScript,
RunScriptOptions options)
Run the script on a specific node in the background, typically as
nohup |
Constructor and Description |
---|
RunScriptOnNodesException(Statement runScript,
RunScriptOptions options,
Map<NodeMetadata,ExecResponse> successfulNodes,
Map<?,Exception> executionExceptions,
Map<? extends NodeMetadata,? extends Throwable> failedNodes) |
Modifier and Type | Method and Description |
---|---|
RunScriptOnNode |
RunScriptOnNode.Factory.create(NodeMetadata node,
Statement script,
RunScriptOptions options) |
com.google.common.util.concurrent.ListenableFuture<ExecResponse> |
RunScriptOnNode.Factory.submit(NodeMetadata node,
Statement script,
RunScriptOptions options) |
Constructor and Description |
---|
RunScriptOnNodeAsInitScriptUsingSsh(com.google.common.base.Function<NodeMetadata,SshClient> sshFactory,
com.google.common.eventbus.EventBus eventBus,
InitScriptConfigurationForTasks initScriptConfiguration,
NodeMetadata node,
Statement script,
RunScriptOptions options) |
RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete(BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory statusFactory,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.base.Function<NodeMetadata,SshClient> sshFactory,
com.google.common.eventbus.EventBus eventBus,
InitScriptConfigurationForTasks initScriptConfiguration,
NodeMetadata node,
Statement script,
RunScriptOptions options) |
RunScriptOnNodeUsingSsh(com.google.common.base.Function<NodeMetadata,SshClient> sshFactory,
com.google.common.eventbus.EventBus eventBus,
NodeMetadata node,
Statement statement,
RunScriptOptions options) |
Modifier and Type | Method and Description |
---|---|
RunScriptOnNode |
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl.create(NodeMetadata node,
Statement runScript,
RunScriptOptions options) |
BlockUntilInitScriptStatusIsZeroThenReturnOutput |
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl.submit(NodeMetadata node,
Statement script,
RunScriptOptions options) |
Modifier and Type | Method and Description |
---|---|
static LoginCredentials |
DefaultCredentialsFromImageOrOverridingCredentials.overrideDefaultCredentialsWithOptionsIfPresent(LoginCredentials defaultCreds,
RunScriptOptions options) |
Modifier and Type | Method and Description |
---|---|
ExecResponse |
BaseComputeService.runScriptOnNode(String id,
Statement runScript,
RunScriptOptions options)
Run the script on a specific node
|
ExecResponse |
BaseComputeService.runScriptOnNode(String id,
String runScript,
RunScriptOptions options) |
Map<NodeMetadata,ExecResponse> |
BaseComputeService.runScriptOnNodesMatching(com.google.common.base.Predicate<NodeMetadata> filter,
Statement runScript,
RunScriptOptions options)
Run the script on all nodes with the specific predicate.
|
Map<? extends NodeMetadata,ExecResponse> |
BaseComputeService.runScriptOnNodesMatching(com.google.common.base.Predicate<NodeMetadata> filter,
String runScript,
RunScriptOptions options) |
com.google.common.util.concurrent.ListenableFuture<ExecResponse> |
BaseComputeService.submitScriptOnNode(String id,
Statement runScript,
RunScriptOptions options) |
com.google.common.util.concurrent.ListenableFuture<ExecResponse> |
BaseComputeService.submitScriptOnNode(String id,
String runScript,
RunScriptOptions options)
Run the script on a specific node in the background, typically as
nohup |
protected NodeMetadata |
BaseComputeService.updateNodeWithCredentialsIfPresent(NodeMetadata node,
RunScriptOptions options) |
Modifier and Type | Class and Description |
---|---|
static class |
RunScriptOptions.ImmutableRunScriptOptions |
class |
TemplateOptions
Contains options supported in the
ComputeService#createNodesInGroup
operation. |
static class |
TemplateOptions.ImmutableTemplateOptions |
Modifier and Type | Field and Description |
---|---|
static RunScriptOptions |
RunScriptOptions.NONE
Default options.
|
Modifier and Type | Method and Description |
---|---|
RunScriptOptions |
RunScriptOptions.blockOnComplete(boolean blockOnComplete)
As of version 1.1.0, we cannot kick off a script unless a node is in
RUNNING state.
|
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.blockOnComplete(boolean blockOnComplete) |
static RunScriptOptions |
RunScriptOptions.Builder.blockOnComplete(boolean value) |
RunScriptOptions |
RunScriptOptions.blockOnPort(int port,
int seconds)
When the node is started, wait until the following port is active
|
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.blockOnPort(int port,
int seconds) |
static RunScriptOptions |
RunScriptOptions.Builder.blockOnPort(int port,
int seconds) |
RunScriptOptions |
RunScriptOptions.nameTask(String name) |
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.nameTask(String name) |
static RunScriptOptions |
RunScriptOptions.Builder.nameTask(String name) |
RunScriptOptions |
RunScriptOptions.overrideAuthenticateSudo(boolean authenticateSudo) |
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.overrideAuthenticateSudo(boolean authenticateSudo) |
static RunScriptOptions |
RunScriptOptions.Builder.overrideAuthenticateSudo(boolean authenticateSudo) |
RunScriptOptions |
RunScriptOptions.overrideLoginCredentials(LoginCredentials overridingCredentials) |
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.overrideLoginCredentials(LoginCredentials overridingCredentials) |
static RunScriptOptions |
RunScriptOptions.Builder.overrideLoginCredentials(LoginCredentials credentials) |
RunScriptOptions |
RunScriptOptions.overrideLoginPassword(com.google.common.base.Optional<String> password) |
RunScriptOptions |
RunScriptOptions.overrideLoginPassword(String password) |
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.overrideLoginPassword(String password) |
static RunScriptOptions |
RunScriptOptions.Builder.overrideLoginPassword(String password) |
RunScriptOptions |
RunScriptOptions.overrideLoginPrivateKey(com.google.common.base.Optional<String> privateKey) |
RunScriptOptions |
RunScriptOptions.overrideLoginPrivateKey(String privateKey) |
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.overrideLoginPrivateKey(String privateKey) |
static RunScriptOptions |
RunScriptOptions.Builder.overrideLoginPrivateKey(String privateKey) |
RunScriptOptions |
RunScriptOptions.overrideLoginUser(String loginUser) |
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.overrideLoginUser(String loginUser) |
static RunScriptOptions |
RunScriptOptions.Builder.overrideLoginUser(String user) |
RunScriptOptions |
RunScriptOptions.runAsRoot(boolean runAsRoot) |
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.runAsRoot(boolean runAsRoot) |
static RunScriptOptions |
RunScriptOptions.Builder.runAsRoot(boolean value) |
RunScriptOptions |
RunScriptOptions.wrapInInitScript(boolean wrapInInitScript)
default true
|
RunScriptOptions |
RunScriptOptions.ImmutableRunScriptOptions.wrapInInitScript(boolean wrapInInitScript) |
static RunScriptOptions |
RunScriptOptions.Builder.wrapInInitScript(boolean value) |
Modifier and Type | Method and Description |
---|---|
void |
RunScriptOptions.copyTo(RunScriptOptions to) |
Constructor and Description |
---|
RunScriptOptions.ImmutableRunScriptOptions(RunScriptOptions delegate) |
Modifier and Type | Method and Description |
---|---|
Callable<RunScriptOnNode> |
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory.create(NodeMetadata node,
Statement script,
RunScriptOptions options,
Map<NodeMetadata,Exception> badNodes) |
Modifier and Type | Class and Description |
---|---|
class |
EC2TemplateOptions
Contains options supported in the
ComputeService#runNode operation on
the "ec2" provider. |
Modifier and Type | Class and Description |
---|---|
class |
GleSYSTemplateOptions
Contains options supported by the
ComputeService#createNodesInGroup(String, int, TemplateOptions) and
ComputeService#createNodesInGroup(String, int, TemplateOptions)
operations on the glesys provider. |
Modifier and Type | Class and Description |
---|---|
class |
GoGridTemplateOptions
Contains options supported by the
ComputeService#createNodesInGroup(String, int, TemplateOptions) and
ComputeService#createNodesInGroup(String, int, TemplateOptions)
operations on the gogrid provider. |
Modifier and Type | Class and Description |
---|---|
class |
NovaTemplateOptions
Contains options supported in the
ComputeService#runNode operation on the
"openstack-nova" provider. |
Modifier and Type | Class and Description |
---|---|
class |
SoftLayerTemplateOptions
Contains options supported by the
ComputeService.createNodesInGroup(String, int, TemplateOptions) and
ComputeService.createNodesInGroup(String, int, TemplateOptions)
operations on the gogrid provider. |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.