public class DockerCreateContainer extends hudson.model.AbstractDescribableImpl<DockerCreateContainer>
CreateContainerCmdImpl
Modifier and Type | Class and Description |
---|---|
static class |
DockerCreateContainer.DescriptorImpl |
Constructor and Description |
---|
DockerCreateContainer() |
@CheckForNull public Boolean getBindAllPorts()
@DataBoundSetter public void setBindAllPorts(Boolean bindAllPorts)
@CheckForNull public String getBindPorts()
@Nonnull public Iterable<com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.model.PortBinding> getPortMappings()
@DataBoundSetter public void setBindPorts(String bindPorts)
@CheckForNull public List<String> getDnsHosts()
@DataBoundSetter public void setDnsString(String dnsString)
@CheckForNull public String getHostname()
@DataBoundSetter public void setHostname(String hostname)
@CheckForNull public Long getMemoryLimit()
@DataBoundSetter public void setMemoryLimit(Long memoryLimit)
@CheckForNull public Boolean getPrivileged()
@DataBoundSetter public void setPrivileged(Boolean privileged)
@CheckForNull public Boolean getTty()
@DataBoundSetter public void setTty(Boolean tty)
@CheckForNull public List<String> getVolumes()
@DataBoundSetter public void setVolumesString(String volumesString)
@CheckForNull public List<String> getVolumesFrom()
@DataBoundSetter public void setVolumesFromString(String volumesFromString)
@CheckForNull public String getMacAddress()
@DataBoundSetter public void setMacAddress(String macAddress)
@CheckForNull public Integer getCpuShares()
@DataBoundSetter public void setCpuShares(Integer cpuShares)
@CheckForNull public String getCommand()
@DataBoundSetter public void setCommand(String command)
public String getEntrypoint()
public String[] getDockerEntrypointArray()
@DataBoundSetter public void setEntrypoint(String entrypoint)
@CheckForNull public List<String> getEnvironment()
@DataBoundSetter public void setEnvironmentString(String environmentString)
@DataBoundSetter public void setDockerLabelsString(String dockerLabelsString)
@CheckForNull public List<String> getExtraHosts()
@DataBoundSetter public void setExtraHostsString(String extraHostsString)
@Nonnull public String getExtraHostsString()
@CheckForNull public String getNetworkMode()
@DataBoundSetter public void setNetworkMode(String networkMode)
public String getDevicesString()
@DataBoundSetter public void setDevicesString(String devicesString)
public String getCpusetCpus()
@DataBoundSetter public void setCpusetCpus(String cpusetCpus)
public String getCpusetMems()
@DataBoundSetter public void setCpusetMems(String cpusetMems)
public String getLinksString()
@DataBoundSetter public void setLinksString(String devicesString)
@CheckForNull public Long getShmSize()
@DataBoundSetter public void setShmSize(Long shmSize)
@CheckForNull public DockerContainerRestartPolicy getRestartPolicy()
@DataBoundSetter public void setRestartPolicy(DockerContainerRestartPolicy restartPolicy)
@CheckForNull public String getWorkdir()
@DataBoundSetter public void setWorkdir(String workdir)
@CheckForNull public String getUser()
@DataBoundSetter public void setUser(String user)
public com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd fillContainerConfig(com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd containerConfig, @CheckForNull Function<String,String> resolveVar)
containerConfig
- config for filling valuespublic Object readResolve()
Copyright © 2016–2020. All rights reserved.