Package org.jclouds.docker.domain
Class Config
- java.lang.Object
-
- org.jclouds.docker.domain.Config
-
public abstract class Config extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Config.Builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
memory
public abstract int memory()
-
memorySwap
public abstract int memorySwap()
-
cpuShares
public abstract int cpuShares()
-
attachStdin
public abstract boolean attachStdin()
-
attachStdout
public abstract boolean attachStdout()
-
attachStderr
public abstract boolean attachStderr()
-
tty
public abstract boolean tty()
-
openStdin
public abstract boolean openStdin()
-
stdinOnce
public abstract boolean stdinOnce()
-
image
public abstract String image()
-
networkDisabled
public abstract boolean networkDisabled()
-
hostConfig
@Nullable public abstract HostConfig hostConfig()
-
create
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)
-
builder
public static Config.Builder builder()
-
toBuilder
public Config.Builder toBuilder()
-
-