Class CreateContainerRemoteCallable
java.lang.Object
jenkins.security.MasterToSlaveCallable<String,Exception>
org.jenkinsci.plugins.dockerbuildstep.cmd.remote.CreateContainerRemoteCallable
- All Implemented Interfaces:
hudson.remoting.Callable<String,
,Exception> Serializable
,org.jenkinsci.remoting.RoleSensitive
A Callable wrapping the commands necessary to create a container.
It can be sent through a Channel to execute on the correct build node.
- Author:
- David Csakvari
- See Also:
-
Constructor Summary
ConstructorDescriptionCreateContainerRemoteCallable
(DockerBuilder.Config cfgData, Descriptor<?> descriptor, String imageRes, String[] commandRes, String hostNameRes, String containerNameRes, String linksRes, String[] envVarsRes, String exposedPortsRes, Integer cpuSharesRes, Long memoryLimitRes, String[] dnsRes, String[] extraHostsRes, String networkModeRes, String portBindingsRes, String bindMountsRes, boolean alwaysRestart, boolean publishAllPorts, boolean privileged) -
Method Summary
Methods inherited from class jenkins.security.MasterToSlaveCallable
checkRoles
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.remoting.Callable
getChannelOrFail, getOpenChannelOrFail
-
Constructor Details
-
CreateContainerRemoteCallable
public CreateContainerRemoteCallable(DockerBuilder.Config cfgData, Descriptor<?> descriptor, String imageRes, String[] commandRes, String hostNameRes, String containerNameRes, String linksRes, String[] envVarsRes, String exposedPortsRes, Integer cpuSharesRes, Long memoryLimitRes, String[] dnsRes, String[] extraHostsRes, String networkModeRes, String portBindingsRes, String bindMountsRes, boolean alwaysRestart, boolean publishAllPorts, boolean privileged)
-
-
Method Details
-
call
- Throws:
Exception
-