Documentation ¶
Index ¶
- func MakeLivenessProbeHTTP(host, path string, port int) *corev1.Probe
- func MakeLivenessProbeTCP(host string, port int) *corev1.Probe
- func MakeProbe(kind ProbeKind, host, path string, port int, scheme corev1.URIScheme, ...) *corev1.Probe
- func MakeReadinessProbeHTTP(host, path string, port int) *corev1.Probe
- func MakeReadinessProbeTCP(host string, port int) *corev1.Probe
- func SetProbeArgs(probe *corev1.Probe, ...)
- type ProbeKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeLivenessProbeHTTP ¶
MakeLivenessProbeHTTP -
func MakeLivenessProbeTCP ¶
MakeLivenessProbeTCP -
func MakeProbe ¶
func MakeProbe(kind ProbeKind, host, path string, port int, scheme corev1.URIScheme, headers []corev1.HTTPHeader) *corev1.Probe
MakeProbe -
func MakeReadinessProbeHTTP ¶
MakeReadinessProbeHTTP -
func MakeReadinessProbeTCP ¶
MakeReadinessProbeTCP -
func SetProbeArgs ¶
func SetProbeArgs(probe *corev1.Probe, initialDelay, timeout, period, successThreshold, failureThreshold int32)
SetProbeArgs if arguments is illegal, reset to default value
Types ¶
Click to show internal directories.
Click to hide internal directories.