public class V1Probe extends Object
Constructor and Description |
---|
V1Probe() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
V1Probe |
exec(V1ExecAction exec) |
V1Probe |
failureThreshold(Integer failureThreshold) |
V1ExecAction |
getExec()
One and only one of the following should be specified.
|
Integer |
getFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
V1HTTPGetAction |
getHttpGet()
HTTPGet specifies the http request to perform.
|
Integer |
getInitialDelaySeconds()
Number of seconds after the container has started before liveness probes are initiated.
|
Integer |
getPeriodSeconds()
How often (in seconds) to perform the probe.
|
Integer |
getSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed.
|
V1TCPSocketAction |
getTcpSocket()
TCPSocket specifies an action involving a TCP port.
|
Integer |
getTimeoutSeconds()
Number of seconds after which the probe times out.
|
int |
hashCode() |
V1Probe |
httpGet(V1HTTPGetAction httpGet) |
V1Probe |
initialDelaySeconds(Integer initialDelaySeconds) |
V1Probe |
periodSeconds(Integer periodSeconds) |
void |
setExec(V1ExecAction exec) |
void |
setFailureThreshold(Integer failureThreshold) |
void |
setHttpGet(V1HTTPGetAction httpGet) |
void |
setInitialDelaySeconds(Integer initialDelaySeconds) |
void |
setPeriodSeconds(Integer periodSeconds) |
void |
setSuccessThreshold(Integer successThreshold) |
void |
setTcpSocket(V1TCPSocketAction tcpSocket) |
void |
setTimeoutSeconds(Integer timeoutSeconds) |
V1Probe |
successThreshold(Integer successThreshold) |
V1Probe |
tcpSocket(V1TCPSocketAction tcpSocket) |
V1Probe |
timeoutSeconds(Integer timeoutSeconds) |
String |
toString() |
public V1Probe exec(V1ExecAction exec)
public V1ExecAction getExec()
public void setExec(V1ExecAction exec)
public Integer getFailureThreshold()
public void setFailureThreshold(Integer failureThreshold)
public V1Probe httpGet(V1HTTPGetAction httpGet)
public V1HTTPGetAction getHttpGet()
public void setHttpGet(V1HTTPGetAction httpGet)
public Integer getInitialDelaySeconds()
public void setInitialDelaySeconds(Integer initialDelaySeconds)
public Integer getPeriodSeconds()
public void setPeriodSeconds(Integer periodSeconds)
public Integer getSuccessThreshold()
public void setSuccessThreshold(Integer successThreshold)
public V1Probe tcpSocket(V1TCPSocketAction tcpSocket)
public V1TCPSocketAction getTcpSocket()
public void setTcpSocket(V1TCPSocketAction tcpSocket)
public Integer getTimeoutSeconds()
public void setTimeoutSeconds(Integer timeoutSeconds)
Copyright © 2018. All rights reserved.