Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for CallOrFail (0.09 sec)

  1. 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)
  2. tests/integration/security/util/reachability/context.go

    												// TODO use echotest to generate the cases that would work for multi-network + naked
    												t.Skip("https://github.com/istio/istio/issues/37307")
    											}
    
    											from.CallOrFail(t, opts)
    										})
    								}
    							}
    						}
    					})
    				}
    			}
    		})
    	}
    }
    
    // Exclude calls from naked->VM since naked has no Envoy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 23 21:20:43 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/kube/instance.go

    	// Setup default check. This is done here rather than in echo core package to avoid import loops
    	if opts.Check == nil {
    		opts.Check = check.OK()
    	}
    	return c.aggregateResponses(opts)
    }
    
    func (c *instance) CallOrFail(t test.Failer, opts echo.CallOptions) echo.CallResult {
    	t.Helper()
    	r, err := c.Call(opts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return r
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 18:55:23 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. 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)
  5. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    										return fmt.Errorf("expected to be handled by gateway. response: %s", r)
    									}
    									return nil
    								})),
    						}
    
    						internalClient[0].CallOrFail(t, opts)
    					})
    			}
    		})
    }
    
    const (
    	// Destination Rule configs
    	DestinationRuleConfigSimple = `
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/echotest/filters_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
    - 13.1K bytes
    - Viewed (0)
  7. tests/integration/security/reachability_test.go

    												opts.Check = check.And(opts.Check, check.ReachedClusters(t.Clusters(), expectedClusters))
    											}
    										}
    									} else {
    										opts.Check = check.NotOK()
    									}
    									from.CallOrFail(t, opts)
    								})
    						})
    					}
    				})
    			}
    		})
    }
    
    type condition func(from echo.Instance, opts echo.CallOptions) bool
    
    func not(c condition) condition {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. tests/integration/security/sds_ingress/util/util.go

    	}
    
    	if callType == Mtls {
    		opts.TLS.Key = tlsCtx.PrivateKey
    		opts.TLS.Cert = tlsCtx.Cert
    	}
    
    	// Certs occasionally take quite a while to become active in Envoy, so retry for a long time (2min)
    	ing.CallOrFail(ctx, opts)
    }
    
    // RotateSecrets deletes kubernetes secrets by name in credNames and creates same secrets using key/cert
    // from ingressCred.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
Back to top