FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Implemented the `SizeRw` field in the `InspectContainerResponse` class. by LarsSven · Pull Request #2216 · docker-java/docker-java · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (2) .json  (2) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ public class InspectContainerResponse extends DockerObject {
@JsonProperty("SizeRootFs")
private Integer sizeRootFs;

@JsonProperty("SizeRw")
private Integer sizeRw;

@JsonProperty("Image")
private String imageId;

Expand Down Expand Up @@ -125,6 +128,10 @@ public Integer getSizeRootFs() {
return sizeRootFs;
}

public Integer getSizeRw() {
return sizeRw;
}

public String getCreated() {
return created;
}
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ public void inspectContainerWithSize() throws DockerException {
if (isNotSwarm(dockerRule.getClient())) {
assertNotNull(containerInfo.getSizeRootFs());
assertTrue(containerInfo.getSizeRootFs().intValue() > 0);
assertNotNull(containerInfo.getSizeRw());
assertTrue(containerInfo.getSizeRw().intValue() == 0);
}
}

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"postgres"
],
"SizeRootFs" : null,
"SizeRw" : null,
"HostConfig" : {
"KernelMemory" : 0,
"MemorySwappiness" : -1,
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"Created": 1455662451,
"Ports": [],
"SizeRootFs": 1113554,
"SizeRw": 0,
"Labels": {},
"Status": "Up Less than a second",
"HostConfig": {
Expand Down

Back | FazBrowse Home | New Git URL