public abstract class Config extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Config.Builder |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
attachStderr() |
abstract boolean |
attachStdin() |
abstract boolean |
attachStdout() |
static Config.Builder |
builder() |
abstract List<String> |
cmd() |
abstract int |
cpuShares() |
static Config |
create(String hostname,
String domainname,
String user,
int memory,
int memorySwap,
int cpuShares,
boolean attachStdin,
boolean attachStdout,
boolean attachStderr,
boolean tty,
boolean openStdin,
boolean stdinOnce,
List<String> env,
List<String> cmd,
List<String> entrypoint,
String image,
Map<String,?> volumes,
String workingDir,
boolean networkDisabled,
Map<String,?> exposedPorts,
List<String> securityOpts,
HostConfig hostConfig) |
abstract String |
domainname() |
abstract List<String> |
entrypoint() |
abstract List<String> |
env() |
abstract Map<String,?> |
exposedPorts() |
abstract HostConfig |
hostConfig() |
abstract String |
hostname() |
abstract String |
image() |
abstract int |
memory() |
abstract int |
memorySwap() |
abstract boolean |
networkDisabled() |
abstract boolean |
openStdin() |
abstract List<String> |
securityOpts() |
abstract boolean |
stdinOnce() |
Config.Builder |
toBuilder() |
abstract boolean |
tty() |
abstract String |
user() |
abstract Map<String,?> |
volumes() |
abstract String |
workingDir() |
public abstract int memory()
public abstract int memorySwap()
public abstract int cpuShares()
public abstract boolean attachStdin()
public abstract boolean attachStdout()
public abstract boolean attachStderr()
public abstract boolean tty()
public abstract boolean openStdin()
public abstract boolean stdinOnce()
public abstract String image()
public abstract boolean networkDisabled()
@Nullable public abstract HostConfig hostConfig()
public static Config create(String hostname, String domainname, String user, int memory, int memorySwap, int cpuShares, boolean attachStdin, boolean attachStdout, boolean attachStderr, boolean tty, boolean openStdin, boolean stdinOnce, List<String> env, List<String> cmd, List<String> entrypoint, String image, Map<String,?> volumes, String workingDir, boolean networkDisabled, Map<String,?> exposedPorts, List<String> securityOpts, HostConfig hostConfig)
public static Config.Builder builder()
public Config.Builder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.