Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addDelayedHealthChecks (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/healthz.go

    	checksInstalled bool
    	clock           clock.Clock
    }
    
    func (reg *healthCheckRegistry) addHealthChecks(checks ...healthz.HealthChecker) error {
    	return reg.addDelayedHealthChecks(0, checks...)
    }
    
    func (reg *healthCheckRegistry) addDelayedHealthChecks(delay time.Duration, checks ...healthz.HealthChecker) error {
    	if delay > 0 && reg.clock == nil {
    		return fmt.Errorf("nil clock in healthCheckRegistry for %s endpoint", reg.path)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top