Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prober ¶
Prober is an interface defining the Probe object for container readiness/liveness checks.
type TimeoutError ¶
type TimeoutError struct {
// contains filtered or unexported fields
}
TimeoutError is an error returned on exec probe timeouts. It should be returned by CRI implementations in order for the exec prober to interpret exec timeouts as failed probes.
func NewTimeoutError ¶
func NewTimeoutError(err error, timeout time.Duration) *TimeoutError
NewTimeoutError returns a new TimeoutError.
func (*TimeoutError) Timeout ¶
func (t *TimeoutError) Timeout() time.Duration
Timeout returns the timeout duration of the exec probe.
Click to show internal directories.
Click to hide internal directories.