Job(JobId id,
String image,
String hostname,
Long created,
List<String> command,
Map<String,String> env,
Resources resources,
Map<String,PortMapping> ports,
Map<ServiceEndpoint,ServicePorts> registration,
Integer gracePeriod,
Map<String,String> volumes,
Date expires,
String registrationDomain,
String creatingUser,
String token,
HealthCheck healthCheck,
List<String> securityOpt,
String networkMode,
Map<String,String> metadata,
Set<String> addCapabilities,
Set<String> dropCapabilities,
Integer secondsToWaitBeforeKill)
Create a Job.
|