MCPcopy
hub / github.com/kubernetes/client-go / read

Method read

plugin/pkg/client/auth/gcp/gcp_test.go:384–392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382}
383
384func (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
394type fakeTokenSource struct {
395 token *oauth2.Token

Callers 2

TestCachedTokenSourceFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected