Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthProbe ¶
type HealthProbe struct {
Path string
Port int32
Timeout time.Duration
// isHTTP corresponds to an httpGet probe with a scheme of HTTP or undefined.
// This helps inform what kind of Envoy config to add to the pod.
IsHTTP bool
// isTCPSocket indicates if the probe defines a TCPSocketAction.
IsTCPSocket bool
}
HealthProbe represents a health probe.
type HealthProbes ¶
type HealthProbes struct {
Liveness, Readiness, Startup *HealthProbe
}
HealthProbes is to serve as an indication of whether the given healthProbe has been rewritten
func (*HealthProbes) UsesTCP ¶
func (probes *HealthProbes) UsesTCP() bool
UsesTCP returns true if any of the configured probes uses a TCP probe.
Click to show internal directories.
Click to hide internal directories.