public class DockerVersion extends Object
{
"apiVersion" : "1.12",
"arch" : "amd64",
"gitCommit" : "688b5cf-dirty",
"goVersion" : "go1.2.1",
"kernelVersion" : "3.13.0-19-generic",
"os" : "linux",
"version" : "1.0.0"
}
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerVersion.Builder |
| Constructor and Description |
|---|
DockerVersion(String apiVersion,
String arch,
String gitCommit,
String goVersion,
String kernelVersion,
String os,
String version) |
| Modifier and Type | Method and Description |
|---|---|
static DockerVersion.Builder |
builder() |
boolean |
equals(Object o) |
String |
getApiVersion() |
String |
getArch() |
String |
getGitCommit() |
String |
getGoVersion() |
String |
getKernelVersion() |
String |
getOs() |
String |
getVersion() |
int |
hashCode() |
String |
toString() |
public DockerVersion(String apiVersion, String arch, String gitCommit, String goVersion, String kernelVersion, String os, String version)
apiVersion - The Docker api version supported.arch - The architecture of the machine.gitCommit - The git commit from which Docker was built.goVersion - The version of the Go compiler used to build Docker.kernelVersion - The kernel version of the Agent.os - The operating system of the Agent.version - The Docker version.public String getApiVersion()
public String getArch()
public String getGitCommit()
public String getGoVersion()
public String getKernelVersion()
public String getOs()
public String getVersion()
public static DockerVersion.Builder builder()
Copyright © 2016. All rights reserved.