Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricProbeSuccess = promauto.NewCounter(prometheus.CounterOpts{ Name: "cap_probe_success_total", Help: "Total number of successful backend probes", }) MetricProbeErr = promauto.NewCounter(prometheus.CounterOpts{ Name: "cap_probe_errs_total", Help: "Total number of failed backend probes", }) )
Functions ¶
This section is empty.
Types ¶
type LivenessProbe ¶
type LivenessProbe struct {
// contains filtered or unexported fields
}
func NewLivenessProbe ¶
func NewLivenessProbe(ctx context.Context, target, path string, skipTLSVerify bool) *LivenessProbe
func (*LivenessProbe) IsAlive ¶
func (p *LivenessProbe) IsAlive() bool
Click to show internal directories.
Click to hide internal directories.