Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PollTimeout is set equal to the queue-proxy's ExecProbe timeout to take // advantage of the full window PollTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func DecodeProbes ¶ added in v0.41.0
DecodeProbes takes a json serialised *corev1.Probe OR []*corev1.Probe (depending on multiContainerProbes) and returns a slice of probes or an error.
func EncodeMultipleProbes ¶ added in v0.41.0
EncodeMultipleProbes takes []*corev1.Probe slice and returns marshalled slice of Probe JSON string and an error.
Types ¶
type Probe ¶
type Probe struct {
// contains filtered or unexported fields
}
Probe holds all wrapped *corev1.Probe along with a barrier to sync single probing execution
func NewProbeWithHTTP2AutoDetection ¶ added in v0.22.0
NewProbeWithHTTP2AutoDetection returns a pointer to a new Probe that has HTTP2 auto-detection enabled.
func (*Probe) ProbeContainer ¶
ProbeContainer executes the defined Probe against the user-container
Click to show internal directories.
Click to hide internal directories.