MCPcopy
hub / github.com/istio/istio / FakeAuthenticator

Struct FakeAuthenticator

pkg/security/mock.go:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67type FakeAuthenticator struct {
68 AllowedToken string
69 AllowedCert string
70 Name string
71
72 Successes *atomic.Int32
73 Failures *atomic.Int32
74
75 mu sync.Mutex
76}
77
78func NewFakeAuthenticator(name string) *FakeAuthenticator {
79 return &FakeAuthenticator{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected