Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OperatorHealthChecker is a health checker for the operator, which will use operatorStatus to determine the status OperatorHealthChecker healthz.Checker = func(_ *http.Request) error { operatorStatusSync.RLock() defer operatorStatusSync.RUnlock() if operatorStatus != nil { return operatorStatus } return nil } )
Functions ¶
func SetOperatorStatusError ¶
func SetOperatorStatusError(status error)
SetOperatorStatusError will set the operator status to the given error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.