Skip to content

Commit f82b8f8

Browse files
authored
Merge pull request #168 from peka45/contribution
Add docker check support
2 parents aac8371 + a3c33f3 commit f82b8f8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/main/java/com/ecwid/consul/v1/agent/model/NewService.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ public static class Check {
1515

1616
@SerializedName("Script")
1717
private String script;
18+
19+
@SerializedName("DockerContainerID")
20+
private String dockerContainerID;
21+
22+
@SerializedName("Shell")
23+
private String shell;
1824

1925
@SerializedName("Interval")
2026
private String interval;
@@ -53,6 +59,22 @@ public String getScript() {
5359
public void setScript(String script) {
5460
this.script = script;
5561
}
62+
63+
public String getDockerContainerID() {
64+
return dockerContainerID;
65+
}
66+
67+
public void setDockerContainerID(String dockerContainerID) {
68+
this.dockerContainerID = dockerContainerID;
69+
}
70+
71+
public String getShell() {
72+
return shell;
73+
}
74+
75+
public void setShell(String shell) {
76+
this.shell = shell;
77+
}
5678

5779
public String getInterval() {
5880
return interval;
@@ -145,6 +167,8 @@ public String toString() {
145167
", header=" + header +
146168
", tcp='" + tcp + '\'' +
147169
", timeout='" + timeout + '\'' +
170+
", dockerContainerID='" + dockerContainerID + '\'' +
171+
", shell='" + shell + '\'' +
148172
", deregisterCriticalServiceAfter='" + deregisterCriticalServiceAfter + '\'' +
149173
", tlsSkipVerify=" + tlsSkipVerify +
150174
", status='" + status + '\'' +

0 commit comments

Comments
 (0)