- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getDesiredTTLSeconds (0.15 sec)
-
pkg/controller/ttl/ttl_controller_test.go
ttlController.addNode(logger, &v1.Node{}) } if testCase.deleteNode { ttlController.deleteNode(&v1.Node{}) } assert.Equal(t, testCase.expectedTTL, ttlController.getDesiredTTLSeconds(), "%d: unexpected ttl: %d", i, ttlController.getDesiredTTLSeconds()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 7.1K bytes - Viewed (0) -
pkg/controller/ttl/ttl_controller.go
if err == nil { ttlc.queue.Forget(key) return true } ttlc.queue.AddRateLimited(key) utilruntime.HandleError(err) return true } func (ttlc *Controller) getDesiredTTLSeconds() int { ttlc.lock.RLock() defer ttlc.lock.RUnlock() return ttlc.desiredTTLSeconds } func getIntFromAnnotation(ctx context.Context, node *v1.Node, annotationKey string) (int, bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 8.5K bytes - Viewed (0)