Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for CallOrFail (0.13 sec)

  1. tests/integration/security/cacert_rotation/main_test.go

    					opts := echo.CallOptions{
    						To: to,
    						Port: echo.Port{
    							Name: "http",
    						},
    					}
    					opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    
    					from.CallOrFail(t, opts)
    				})
    
    			// step 1: Update CA root cert with combined root
    			if err := cert.CreateCustomCASecret(t,
    				"ca-cert.pem", "ca-key.pem",
    				"cert-chain.pem", "root-cert-combined.pem"); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. tests/integration/security/ca_custom_root/secure_naming_test.go

    							opts := echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    							}
    							opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    							a.CallOrFail(t, opts)
    						})
    
    					secureNamingTestCases := []struct {
    						name            string
    						destinationRule string
    						expectSuccess   bool
    					}{
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tests/integration/pilot/original_src_addr_test.go

    				if r.IP == ip {
    					found = true
    				}
    			}
    			if !found {
    				return fmt.Errorf("unexpected IP %s, expected to be contained in %v",
    					r.IP, expected)
    			}
    		}
    
    		return nil
    	}
    	_ = from.CallOrFail(t, echo.CallOptions{
    		To: to,
    		Port: echo.Port{
    			Name: "http",
    		},
    		Count: 1,
    		Check: checker,
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. tests/integration/security/https_jwt/https_jwt_test.go

    							opts := echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    							}
    
    							c.customizeCall(t, from, &opts)
    
    							from.CallOrFail(t, opts)
    						})
    				})
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. tests/integration/pilot/multicluster_test.go

    					test.setup(t)
    					for _, source := range sources {
    						source := source
    						t.NewSubTest(source.Config().Cluster.StableName()).RunParallel(func(t framework.TestContext) {
    							source.CallOrFail(t, echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    								Check: check.And(
    									check.OK(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. tests/integration/pilot/multiplecontrolplanes/main_test.go

    					from:       apps.NS[2].B,
    					to:         apps.NS[0].B,
    				},
    			}
    
    			for _, tc := range testCases {
    				t.NewSubTest(tc.name).Run(func(t framework.TestContext) {
    					tc.from[0].CallOrFail(t, echo.CallOptions{
    						To: tc.to,
    						Port: echo.Port{
    							Protocol:    protocol.HTTP,
    							ServicePort: 80,
    						},
    						Check: check.And(
    							check.ErrorOrStatus(tc.statusCode),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    								opts := echo.CallOptions{
    									Port: echo.Port{
    										Protocol: protocol.HTTP,
    									},
    								}
    
    								c.customizeCall(&opts, to)
    
    								from.CallOrFail(t, opts)
    							})
    						}
    					})
    			})
    		})
    }
    
    func TestGatewayAPIAuthorizationPolicy(t *testing.T) {
    	framework.NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. tests/integration/security/remote_jwks/remote_jwks_test.go

    							opts := echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    							}
    
    							c.customizeCall(t, from, &opts)
    
    							from.CallOrFail(t, opts)
    						})
    				})
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. tests/integration/security/ca_custom_root/trust_domain_alias_secure_naming_test.go

    								Scheme:  s,
    							}
    							if success {
    								opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    							} else {
    								opts.Check = check.NotOK()
    							}
    
    							from.CallOrFail(t, opts)
    						})
    					}
    
    					client := match.Cluster(cluster).FirstOrFail(t, client)
    					cases := []struct {
    						src    echo.Instance
    						dest   echo.Instances
    						expect bool
    					}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/match/matchers_test.go

    func (f fakeInstance) Clusters() cluster.Clusters {
    	panic("implement me")
    }
    
    func (f fakeInstance) Call(echo.CallOptions) (echo.CallResult, error) {
    	panic("implement me")
    }
    
    func (f fakeInstance) CallOrFail(test.Failer, echo.CallOptions) echo.CallResult {
    	panic("implement me")
    }
    
    func (f fakeInstance) UpdateWorkloadLabel(add map[string]string, remove []string) error {
    	panic("implement me")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top