Class Probe.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.Probe.Jsii$Proxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.Probe
Probe.Builder, Probe.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Probe.Builder builder)Constructor that initializes the object based on literal property values passed by theProbe.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ExecActiongetExec()Exec specifies the action to take.NumbergetFailureThreshold()Minimum consecutive failures for the probe to be considered failed after having succeeded.GrpcActiongetGrpc()GRPC specifies an action involving a GRPC port.HttpGetActiongetHttpGet()HTTPGet specifies the http request to perform.NumbergetInitialDelaySeconds()Number of seconds after the container has started before liveness probes are initiated.NumbergetPeriodSeconds()How often (in seconds) to perform the probe.NumbergetSuccessThreshold()Minimum consecutive successes for the probe to be considered successful after having failed.TcpSocketActiongetTcpSocket()TCPSocket specifies an action involving a TCP port.NumbergetTerminationGracePeriodSeconds()Optional duration in seconds the pod needs to terminate gracefully upon probe failure.NumbergetTimeoutSeconds()Number of seconds after which the probe times out.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(Probe.Builder builder)
Constructor that initializes the object based on literal property values passed by theProbe.Builder.
-
-
Method Detail
-
getExec
public final ExecAction getExec()
Description copied from interface:ProbeExec specifies the action to take.
-
getFailureThreshold
public final Number getFailureThreshold()
Description copied from interface:ProbeMinimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
Default: 3. Minimum value is 1.
- Specified by:
getFailureThresholdin interfaceProbe
-
getGrpc
public final GrpcAction getGrpc()
Description copied from interface:ProbeGRPC specifies an action involving a GRPC port.This is a beta field and requires enabling GRPCContainerProbe feature gate.
-
getHttpGet
public final HttpGetAction getHttpGet()
Description copied from interface:ProbeHTTPGet specifies the http request to perform.- Specified by:
getHttpGetin interfaceProbe
-
getInitialDelaySeconds
public final Number getInitialDelaySeconds()
Description copied from interface:ProbeNumber of seconds after the container has started before liveness probes are initiated.More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Specified by:
getInitialDelaySecondsin interfaceProbe
-
getPeriodSeconds
public final Number getPeriodSeconds()
Description copied from interface:ProbeHow often (in seconds) to perform the probe.Default to 10 seconds. Minimum value is 1.
Default: 10 seconds. Minimum value is 1.
- Specified by:
getPeriodSecondsin interfaceProbe
-
getSuccessThreshold
public final Number getSuccessThreshold()
Description copied from interface:ProbeMinimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
Default: 1. Must be 1 for liveness and startup. Minimum value is 1.
- Specified by:
getSuccessThresholdin interfaceProbe
-
getTcpSocket
public final TcpSocketAction getTcpSocket()
Description copied from interface:ProbeTCPSocket specifies an action involving a TCP port.- Specified by:
getTcpSocketin interfaceProbe
-
getTerminationGracePeriodSeconds
public final Number getTerminationGracePeriodSeconds()
Description copied from interface:ProbeOptional duration in seconds the pod needs to terminate gracefully upon probe failure.The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
- Specified by:
getTerminationGracePeriodSecondsin interfaceProbe
-
getTimeoutSeconds
public final Number getTimeoutSeconds()
Description copied from interface:ProbeNumber of seconds after which the probe times out.Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Default: 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
- Specified by:
getTimeoutSecondsin interfaceProbe
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-