Documentation ¶
Index ¶
- func New(funcs ...Modification) corev1.Probe
- type Modification
- func Apply(funcs ...Modification) Modification
- func WithExecCommand(cmd []string) Modification
- func WithFailureThreshold(failureThreshold int) Modification
- func WithHandler(handler corev1.Handler) Modification
- func WithInitialDelaySeconds(initialDelaySeconds int) Modification
- func WithPeriodSeconds(periodSeconds int) Modification
- func WithSuccessThreshold(successThreshold int) Modification
- func WithTimeoutSeconds(initialDelaySeconds int) Modification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(funcs ...Modification) corev1.Probe
Types ¶
type Modification ¶
func Apply ¶
func Apply(funcs ...Modification) Modification
func WithExecCommand ¶
func WithExecCommand(cmd []string) Modification
func WithFailureThreshold ¶
func WithFailureThreshold(failureThreshold int) Modification
func WithHandler ¶
func WithHandler(handler corev1.Handler) Modification
func WithInitialDelaySeconds ¶
func WithInitialDelaySeconds(initialDelaySeconds int) Modification
func WithPeriodSeconds ¶
func WithPeriodSeconds(periodSeconds int) Modification
func WithSuccessThreshold ¶
func WithSuccessThreshold(successThreshold int) Modification
func WithTimeoutSeconds ¶
func WithTimeoutSeconds(initialDelaySeconds int) Modification
Click to show internal directories.
Click to hide internal directories.