File tree Expand file tree Collapse file tree
src/main/java/com/kpelykh/docker/client/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ public class Info {
5050
5151 @ JsonProperty ("NGoroutines" )
5252 private int NGoroutines ;
53+
54+ @ JsonProperty ("SwapLimit" )
55+ private int swapLimit ;
5356
5457 public boolean isDebug () {
5558 return debug ;
@@ -102,6 +105,10 @@ public int getNFd() {
102105 public int getNGoroutines () {
103106 return NGoroutines ;
104107 }
108+
109+ public int getSwapLimit () {
110+ return swapLimit ;
111+ }
105112
106113 @ Override
107114 public String toString () {
@@ -112,6 +119,7 @@ public String toString() {
112119 ", NFd=" + NFd +
113120 ", NGoroutines=" + NGoroutines +
114121 ", memoryLimit=" + memoryLimit +
122+ ", swapLimit=" + swapLimit +
115123 ", lxcVersion='" + lxcVersion + '\'' +
116124 ", nEventListener=" + nEventListener +
117125 ", kernelVersion='" + kernelVersion + '\'' +
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ public class Version {
1818
1919 @ JsonProperty ("GoVersion" )
2020 private String goVersion ;
21+
22+ @ JsonProperty ("KernelVersion" )
23+ private String kernelVersion ;
2124
2225 public String getVersion () {
2326 return version ;
@@ -31,12 +34,17 @@ public String getGoVersion() {
3134 return goVersion ;
3235 }
3336
37+ public String getKernelVersion () {
38+ return kernelVersion ;
39+ }
40+
3441 @ Override
3542 public String toString () {
3643 return "Version{" +
3744 "version='" + version + '\'' +
3845 ", gitCommit='" + gitCommit + '\'' +
3946 ", goVersion='" + goVersion + '\'' +
47+ ", kernelVersion='" + kernelVersion + '\'' +
4048 '}' ;
4149 }
4250
You can’t perform that action at this time.
0 commit comments