Class DockerTemplateOptions.Builder
- java.lang.Object
-
- org.jclouds.docker.compute.options.DockerTemplateOptions.Builder
-
- Enclosing class:
- DockerTemplateOptions
public static class DockerTemplateOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
volumes
public static DockerTemplateOptions volumes(Map<String,String> volumes)
- See Also:
DockerTemplateOptions.volumes(Map)
-
dns
public static DockerTemplateOptions dns(String... dns)
- See Also:
DockerTemplateOptions.dns(String...)
-
dns
public static DockerTemplateOptions dns(Iterable<String> dns)
- See Also:
DockerTemplateOptions#dns(List)
-
hostname
public static DockerTemplateOptions hostname(@Nullable String hostname)
- See Also:
DockerTemplateOptions.hostname(String)
-
memory
public static DockerTemplateOptions memory(@Nullable Integer memory)
- See Also:
DockerTemplateOptions.memory(Integer)
-
entrypoint
public static DockerTemplateOptions entrypoint(String... entrypoint)
-
entrypoint
public static DockerTemplateOptions entrypoint(Iterable<String> entrypoint)
-
commands
public static DockerTemplateOptions commands(String... commands)
-
commands
public static DockerTemplateOptions commands(Iterable<String> commands)
- See Also:
DockerTemplateOptions.commands(Iterable)
-
cpuShares
public static DockerTemplateOptions cpuShares(@Nullable Integer cpuShares)
- See Also:
DockerTemplateOptions.cpuShares(Integer)
-
env
public static DockerTemplateOptions env(String... env)
- See Also:
DockerTemplateOptions.env(String...)
-
env
public static DockerTemplateOptions env(Iterable<String> env)
- See Also:
DockerTemplateOptions.env(Iterable)
-
portBindings
public static DockerTemplateOptions portBindings(Map<Integer,Integer> portBindings)
- See Also:
DockerTemplateOptions.portBindings(Map)
-
networkMode
public static DockerTemplateOptions networkMode(@Nullable String networkMode)
-
extraHosts
public static DockerTemplateOptions extraHosts(Map<String,String> extraHosts)
- See Also:
DockerTemplateOptions.extraHosts(Map)
-
privileged
public static DockerTemplateOptions privileged(boolean privileged)
-
openStdin
public static DockerTemplateOptions openStdin(boolean openStdin)
- See Also:
DockerTemplateOptions.openStdin(boolean)
-
configBuilder
public static DockerTemplateOptions configBuilder(Config.Builder configBuilder)
-
volumesFrom
public static DockerTemplateOptions volumesFrom(Iterable<String> volumesFrom)
-
inboundPorts
public static DockerTemplateOptions inboundPorts(int... ports)
- See Also:
TemplateOptions.inboundPorts(int...)
-
blockOnPort
public static DockerTemplateOptions blockOnPort(int port, int seconds)
- See Also:
TemplateOptions.blockOnPort(int, int)
-
installPrivateKey
public static DockerTemplateOptions installPrivateKey(String rsaKey)
-
authorizePublicKey
public static DockerTemplateOptions authorizePublicKey(String rsaKey)
-
userMetadata
public static DockerTemplateOptions userMetadata(Map<String,String> userMetadata)
- See Also:
TemplateOptions.userMetadata(Map)
-
nodeNames
public static DockerTemplateOptions nodeNames(Iterable<String> nodeNames)
- See Also:
TemplateOptions.nodeNames(Iterable)
-
networks
public static DockerTemplateOptions networks(Iterable<String> networks)
- See Also:
TemplateOptions.networks(Iterable)
-
overrideLoginUser
public static DockerTemplateOptions overrideLoginUser(String user)
-
overrideLoginPassword
public static DockerTemplateOptions overrideLoginPassword(String password)
-
overrideLoginPrivateKey
public static DockerTemplateOptions overrideLoginPrivateKey(String privateKey)
-
overrideAuthenticateSudo
public static DockerTemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
-
overrideLoginCredentials
public static DockerTemplateOptions overrideLoginCredentials(LoginCredentials credentials)
-
blockUntilRunning
public static DockerTemplateOptions blockUntilRunning(boolean blockUntilRunning)
-
-