| 186 | func (g *gcpAuthProvider) Login() error { return nil } |
| 187 | |
| 188 | type cachedTokenSource struct { |
| 189 | lk sync.Mutex |
| 190 | source oauth2.TokenSource |
| 191 | accessToken string |
| 192 | expiry time.Time |
| 193 | persister restclient.AuthProviderConfigPersister |
| 194 | cache map[string]string |
| 195 | } |
| 196 | |
| 197 | func newCachedTokenSource(accessToken, expiry string, persister restclient.AuthProviderConfigPersister, ts oauth2.TokenSource, cache map[string]string) (*cachedTokenSource, error) { |
| 198 | var expiryTime time.Time |
nothing calls this directly
no outgoing calls
no test coverage detected