- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewAdsTest (0.37 sec)
-
pilot/pkg/xds/adstest.go
"google.golang.org/genproto/googleapis/rpc/status" "google.golang.org/grpc" "istio.io/istio/pilot/pkg/model" v3 "istio.io/istio/pilot/pkg/xds/v3" "istio.io/istio/pkg/test" ) func NewAdsTest(t test.Failer, conn *grpc.ClientConn) *AdsTest { return NewXdsTest(t, conn, func(conn *grpc.ClientConn) (DiscoveryClient, error) { xds := discovery.NewAggregatedDiscoveryServiceClient(conn)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 04 03:39:42 UTC 2024 - 6K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
return a }) meta := proxyConfigToMetadata(t, a.ProxyConfig) if err := test.Wrap(func(t test.Failer) { conn := setupDownstreamConnectionUDS(t, a.AgentConfig.XdsUdsPath) xdsc := xds.NewAdsTest(t, conn).WithMetadata(meta) _ = xdsc.RequestResponseAck(t, nil) }); err == nil { t.Fatalf("connect success with wrong CA") } // change ROOT CA, XDS will success
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 33.4K bytes - Viewed (0) -
pilot/test/xds/fake.go
grpc.WithBlock(), grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) { return f.BufListener.Dial() })) if err != nil { f.t.Fatalf("failed to connect: %v", err) } return xds.NewAdsTest(f.t, conn) } // ConnectDeltaADS starts a Delta ADS connection to the server. It will automatically be cleaned up when the test ends func (f *FakeDiscoveryServer) ConnectDeltaADS() *xds.DeltaAdsTest {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 16:08:52 UTC 2024 - 18.4K bytes - Viewed (0)