- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 44 for CallOrFail (0.19 sec)
-
tests/integration/security/util/cert/cert.go
) // DumpCertFromSidecar gets the certificates served by the destination. func DumpCertFromSidecar(t test.Failer, from echo.Instance, to echo.Target, port string) []string { result := from.CallOrFail(t, echo.CallOptions{ To: to, Count: 1, Port: echo.Port{ Name: port, }, Scheme: scheme.TLS, TLS: echo.TLS{ Alpn: []string{"istio"}, }, Check: check.NoError(), })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 16:44:37 UTC 2023 - 6.2K bytes - Viewed (0) -
tests/integration/security/ca_custom_root/trust_domain_validation_test.go
Key: trustDomains[td].key, }, Check: check.OK(), } } if !allow { opt.Check = check.ErrorContains("tls: unknown certificate") } from.CallOrFail(t, opt) }) } // Request using plaintext should always allowed. verify(t, client, "plaintext", httpPlaintext, scheme.HTTP, true)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 5.9K bytes - Viewed (0) -
tests/integration/pilot/workloadentry_test.go
for _, src := range apps.A.Instances() { src := src // TODO possibly can run parallel t.NewSubTestf("from %s", src.Clusters().Default().Name()).Run(func(t framework.TestContext) { src.CallOrFail(t, echo.CallOptions{ // check that we lb to all the networks (we won't reach non-config clusters because of the topology.istio.io/cluster selector)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.1K bytes - Viewed (0) -
tests/integration/security/egress_gateway_origination_test.go
newTLSGatewayTest(t). Run(func(t framework.TestContext, from echo.Instance, to echo.Target) { callOpt := newTLSGatewayCallOpts(to, host, tc.statusCode, tc.useGateway) from.CallOrFail(t, callOpt) }) }) } }) } // TestMutualTlsOrigination test MUTUAL TLS mode with TLS origination happening at Gateway proxy
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 15.4K bytes - Viewed (0) -
tests/integration/security/normalization_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.7K bytes - Viewed (0) -
pkg/test/framework/components/istio/ingress.go
} return addrs } func (c *ingressImpl) Call(options echo.CallOptions) (echo.CallResult, error) { return c.callEcho(options) } func (c *ingressImpl) CallOrFail(t test.Failer, options echo.CallOptions) echo.CallResult { t.Helper() resp, err := c.Call(options) if err != nil { t.Fatal(err) } return resp }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 17:13:34 UTC 2024 - 8K bytes - Viewed (0) -
tests/integration/security/authz_test.go
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/pass_through_filter_chain_test.go
mtlsString = "plaintext" } testName := fmt.Sprintf("%s/%s(%s)", mtlsString, p.Name, allow) t.NewSubTest(testName).Run(func(t framework.TestContext) { from.CallOrFail(t, opts) }) } }) }) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.9K bytes - Viewed (0) -
tests/integration/security/egress_sidecar_tls_origination_test.go
tc.from.Config().Namespace) callOpt := newTLSSidecarCallOpts(apps.External.All[0], host, tc.expectedResponse) tc.from[0].CallOrFail(t, callOpt) }) } }) } // Authorize only specific sidecars in the namespace with secret listing permissions.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
tests/integration/telemetry/policy/helper_test.go
framework. NewTest(t). Run(func(t framework.TestContext) { client, to := setupEcho(t, mode) for _, tc := range cases { t.NewSubTest(tc.Name).Run(func(t framework.TestContext) { client.CallOrFail(t, echo.CallOptions{ To: to, Count: 1, Port: echo.Port{ Name: tc.PortName, }, HTTP: echo.HTTP{ HTTP2: tc.HTTP2,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 11.4K bytes - Viewed (0)