- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for token_cache (0.08 sec)
-
security/pkg/credentialfetcher/plugin/gce.go
} } } func (p *GCEPlugin) shouldRotate(now time.Time) bool { p.tokenMutex.RLock() defer p.tokenMutex.RUnlock() if p.tokenCache == "" { return true } exp, err := util.GetExp(p.tokenCache) // When fails to get expiration time from token, always refresh the token. if err != nil || exp.IsZero() { return true } rotate := now.After(exp.Add(-gracePeriod))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 4.7K bytes - Viewed (0)