probeutil

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeLivenessProbeHTTP

func MakeLivenessProbeHTTP(host, path string, port int) *corev1.Probe

MakeLivenessProbeHTTP -

func MakeLivenessProbeTCP

func MakeLivenessProbeTCP(host string, port int) *corev1.Probe

MakeLivenessProbeTCP -

func MakeProbe

func MakeProbe(kind ProbeKind, host, path string, port int, scheme corev1.URIScheme, headers []corev1.HTTPHeader) *corev1.Probe

MakeProbe -

func MakeReadinessProbeHTTP

func MakeReadinessProbeHTTP(host, path string, port int) *corev1.Probe

MakeReadinessProbeHTTP -

func MakeReadinessProbeTCP

func MakeReadinessProbeTCP(host string, port int) *corev1.Probe

MakeReadinessProbeTCP -

func SetProbeArgs

func SetProbeArgs(probe *corev1.Probe, initialDelay, timeout, period, successThreshold, failureThreshold int32)

SetProbeArgs if arguments is illegal, reset to default value

Types

type ProbeKind

type ProbeKind string

ProbeKind -

var ProbeKindHTTP ProbeKind = "http"

ProbeKindHTTP -

var ProbeKindTCP ProbeKind = "tcp"

ProbeKindTCP -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL