Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for WaitForConfig (0.26 sec)

  1. pkg/test/framework/config.go

    	// Wait for all each apply to complete.
    	if err := g.Wait(); err != nil {
    		return err
    	}
    
    	if options.Wait {
    		// TODO: wait for each namespace concurrently once WaitForConfig supports concurrency.
    		for ns, y := range c.yamlText {
    			if err := c.WaitForConfig(c.ctx, ns, y...); err != nil {
    				// TODO(https://github.com/istio/istio/issues/37148) fail hard in this case
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/sidecar.go

    	Config() (*admin.ConfigDump, error)
    	ConfigOrFail(t test.Failer) *admin.ConfigDump
    
    	// WaitForConfig queries the Envoy configuration an executes the given accept handler. If the
    	// response is not accepted, the request will be retried until either a timeout or a response
    	// has been accepted.
    	WaitForConfig(accept func(*admin.ConfigDump) (bool, error), options ...retry.Option) error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 03:49:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istioctl/istioctl.go

    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    // Instance represents "istioctl"
    type Instance interface {
    	// WaitForConfig will wait until all passed in config has been distributed
    	WaitForConfig(defaultNamespace string, configs string) error
    
    	// Invoke invokes an istioctl command and returns the output and exception.
    	// stdout and stderr will be returned as different strings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 14 22:20:09 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/sidecar.go

    	return msg, nil
    }
    
    func (s *sidecar) ConfigOrFail(t test.Failer) *admin.ConfigDump {
    	t.Helper()
    	cfg, err := s.Config()
    	if err != nil {
    		t.Fatal(err)
    	}
    	return cfg
    }
    
    func (s *sidecar) WaitForConfig(accept func(*admin.ConfigDump) (bool, error), options ...retry.Option) error {
    	options = append([]retry.Option{retry.BackoffDelay(defaultConfigDelay), retry.Timeout(defaultConfigTimeout)}, options...)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 03:49:49 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istioctl/kube.go

    	}
    	n := &kubeComponent{
    		config:     config,
    		kubeconfig: fn.Filename(),
    	}
    
    	return n, nil
    }
    
    // Invoke implements WaitForConfigs
    func (c *kubeComponent) WaitForConfig(defaultNamespace string, configs string) error {
    	cfgs, _, err := crd.ParseInputs(configs)
    	if err != nil {
    		return fmt.Errorf("failed to parse input: %v", err)
    	}
    	for _, cfg := range cfgs {
    		ns := cfg.Namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    	}
    
    	workloads, _ := c.Workloads()
    	// Wait for the outbound config to be received by each workload from Pilot.
    	for _, w := range workloads {
    		if w.Sidecar() != nil {
    			if err := w.Sidecar().WaitForConfig(accept, retry.Timeout(time.Second*10)); err != nil {
    				return err
    			}
    		}
    	}
    
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top