- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newTrafficTest (0.29 sec)
-
tests/integration/security/authz_test.go
Source(config.File("testdata/authz/allow-principal.yaml.tmpl").WithParams( param.Params{ "Allowed": allowed, })). BuildAll(nil, to). Apply() newTrafficTest(t, fromAndTo). FromMatch(fromMatch). ToMatch(toMatch). Run(func(t framework.TestContext, from echo.Instance, to echo.Target) { allow := allowValue(from.NamespacedName() == allowed.NamespacedName())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
tests/integration/security/policy_attachment_only/jwt_gateway_test.go
opts.HTTP.Headers = headers.New(). WithHost(fmt.Sprintf("example.%s.com", to.ServiceName())). Build() opts.Check = check.OK() }, }, } newTrafficTest(t, apps.A.Append(apps.B)). RunViaGatewayIngress("istio", func(t framework.TestContext, from ingress.Instance, to echo.Target) { for _, c := range cases {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 9.7K bytes - Viewed (0) -
tests/integration/security/jwt_test.go
config.New(t). Source(config.File(policy).WithParams(param.Params{ "JWTServer": jwtServer, })). BuildAll(nil, apps.Ns1.All). Apply() } newTrafficTest(t, apps.Ns1.All.Instances()).Run(func(t framework.TestContext, from echo.Instance, to echo.Target) { for _, c := range cases { t.NewSubTest(c.name).Run(func(t framework.TestContext) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 25.3K bytes - Viewed (0) -
tests/integration/security/normalization_test.go
t.NewSubTest(tt.name).Run(func(t framework.TestContext) { istio.GetOrFail(t, t).PatchMeshConfigOrFail(t, t, fmt.Sprintf(` pathNormalization: normalization: %v`, tt.ntype.String())) newTrafficTest(t, apps.Ns1.All.Instances()). FromMatch(match.ServiceName(apps.Ns1.A.NamespacedName())). Run(func(t framework.TestContext, from echo.Instance, to echo.Target) { for _, expected := range tt.expectations {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.7K bytes - Viewed (0)