- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewFakeAuthenticator (0.25 sec)
-
security/pkg/nodeagent/caclient/providers/citadel/client_test.go
} } certDir := filepath.Join(env.IstioSrc, "./tests/testdata/certs/pilot") t.Run("cert always present", func(t *testing.T) { server := mockCAServer{Certs: fakeCert, Err: nil, Authenticator: security.NewFakeAuthenticator("ca")} addr := serve(t, server, tlsOptions(t)) opts := &security.Options{ CAEndpoint: addr, CredFetcher: plugin.CreateTokenPlugin("testdata/token"), ProvCert: certDir, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 24 21:03:23 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
agent *Agent } func Setup(t *testing.T, opts ...func(a AgentTest) AgentTest) *AgentTest { d := t.TempDir() resp := AgentTest{ XdsAuthenticator: security.NewFakeAuthenticator("xds").Set("fake", ""), CaAuthenticator: security.NewFakeAuthenticator("ca").Set("fake", ""), ProxyConfig: mesh.DefaultProxyConfig(), } // Run through opts one time just to get the authenticators. for _, opt := range opts {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 33.4K bytes - Viewed (0)