()
| 382 | } |
| 383 | |
| 384 | func (f *fakePersister) read() map[string]string { |
| 385 | ret := map[string]string{} |
| 386 | f.lk.Lock() |
| 387 | defer f.lk.Unlock() |
| 388 | for k, v := range f.cache { |
| 389 | ret[k] = v |
| 390 | } |
| 391 | return ret |
| 392 | } |
| 393 | |
| 394 | type fakeTokenSource struct { |
| 395 | token *oauth2.Token |
no outgoing calls
no test coverage detected