Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for customizeCall (0.17 sec)

  1. tests/integration/security/jwt_test.go

    								}
    
    								// Apply any custom options for the test.
    								c.customizeCall(t, from, &opts)
    
    								from.CallOrFail(t, opts)
    							})
    						}
    					})
    				}
    			}
    
    			t.NewSubTest("authn-only").Run(newTest("testdata/requestauthn/authn-only.yaml.tmpl", []testCase{
    				{
    					name: "valid-token-noauthz",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  2. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    				test.SetForTest(t, &features.EnableSelectorBasedK8sGatewayPolicy, false)
    				cases := []struct {
    					name          string
    					customizeCall func(opts *echo.CallOptions, to echo.Target)
    				}{
    					{
    						name: "deny without token",
    						customizeCall: func(opts *echo.CallOptions, to echo.Target) {
    							opts.HTTP.Path = "/"
    							opts.HTTP.Headers = headers.New().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. tests/integration/security/https_jwt/https_jwt_test.go

    			cases := []struct {
    				name          string
    				policyFile    string
    				customizeCall func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions)
    			}{
    				{
    					name:       "valid-token-forward-remote-jwks",
    					policyFile: "./testdata/remotehttps.yaml.tmpl",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. tests/integration/security/remote_jwks/remote_jwks_test.go

    				name          string
    				policyFile    string
    				delay         string
    				timeout       string
    				customizeCall func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions)
    			}{
    				{
    					name:       "remote-jwks-without-service-entry",
    					policyFile: "./testdata/requestauthn-no-se.yaml.tmpl",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top