ResourceWithEndpoints.WithHttpProbe
Method
func (ResourceWithEndpoints) WithHttpProbe( probeType ProbeType, options ...*WithHttpProbeOptions,) ResourceWithEndpointsSignature
method
WithHttpProbe builderAdds an HTTP health probe to the resource
WithHttpProbe( probeType ProbeType, options ...*WithHttpProbeOptions,) ResourceWithEndpointsParameters
probeType ProbeType options...*WithHttpProbeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithHttpProbeOptions argument.
Path*stringInitialDelaySeconds *float64PeriodSeconds *float64TimeoutSeconds *float64FailureThreshold *float64SuccessThreshold *float64EndpointName *stringReturns
ResourceWithEndpoints Returns a handle; failures surface later via Err().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: