- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BootstrapContentsForTesting (0.64 sec)
-
pkg/test/echo/server/endpoint/grpc.go
return s.Config } func (s *grpcInstance) newServer(opts ...grpc.ServerOption) grpcServer { if s.Port.XDSServer { if len(s.Port.XDSTestBootstrap) > 0 { opts = append(opts, xds.BootstrapContentsForTesting(s.Port.XDSTestBootstrap)) } epLog.Infof("Using xDS for serverside gRPC on %d", s.Port.Port) grpcServer, err := xds.NewGRPCServer(opts...) if err != nil { return nil } return grpcServer }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 25 17:30:37 UTC 2023 - 8.7K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/grpcgen_test.go
} grpcOptions := []grpc.ServerOption{ grpc.Creds(creds), } bootstrapB := GRPCBootstrap("echo-rbac-mtls", "test", "127.0.1.1", xdsPort) grpcOptions = append(grpcOptions, xdsgrpc.BootstrapContentsForTesting(bootstrapB)) // Replaces: grpc NewServer grpcServer, err := xdsgrpc.NewGRPCServer(grpcOptions...) if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:04:02 UTC 2024 - 16.9K bytes - Viewed (0)