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

Struct fakeTokenSource

plugin/pkg/client/auth/gcp/gcp_test.go:394–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394type fakeTokenSource struct {
395 token *oauth2.Token
396 err error
397}
398
399func (f *fakeTokenSource) Token() (*oauth2.Token, error) {
400 return f.token, f.err

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected