MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / getCheckThreshold

Function getCheckThreshold

pkg/certs/certs.go:512–518  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

510}
511
512func getCheckThreshold() time.Duration {
513 threshold := configuration.Current.ExpiringCheckThreshold
514 if threshold <= 0 {
515 return configuration.ExpiringCheckThreshold * 24 * time.Hour
516 }
517 return time.Duration(threshold) * 24 * time.Hour
518}

Callers 2

IsExpiringMethod · 0.85
certs_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected