Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ConfigFuture (0.12 sec)

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

    					namespace.Future(&echo1NS),
    				},
    				Configs: echo.ConfigFuture(&customConfig),
    			}
    			err := addDefaultConfig(ctx, config, &customConfig)
    			if err != nil {
    				return err
    			}
    			return nil
    		}).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    				namespace.Future(&echo1NS),
    			},
    			Configs: echo.ConfigFuture(&customConfig),
    		})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. tests/integration/security/sds_ingress/quic/ingress_test.go

    				return err
    			}
    			return nil
    		}).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    				namespace.Future(&echo1NS),
    			},
    			Configs: echo.ConfigFuture(&customConfig),
    		})).
    		Setup(func(ctx resource.Context) error {
    			return ingressutil.CreateCustomInstances(&apps)
    		}).
    		Run()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tests/integration/telemetry/api/setup_test.go

    		TLSSettings: &common.TLSSettings{
    			ProxyProvision: true,
    		},
    		Ports: []echo.Port{},
    	}
    	echos = append(echos, prom)
    
    	if err := cdeployment.SetupSingleNamespace(&apps, cdeployment.Config{Configs: echo.ConfigFuture(&echos)})(ctx); err != nil {
    		return err
    	}
    
    	if err != nil {
    		return err
    	}
    	for _, c := range ctx.Clusters() {
    		ingr = append(ingr, ist.IngressFor(c))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. tests/integration/security/filebased_tls_origination/main_test.go

    			}
    			return nil
    		}).
    		Setup(deployment.SetupTwoNamespaces(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    				namespace.Future(&appNS),
    				namespace.Future(&serviceNS),
    			},
    			Configs: echo.ConfigFuture(&customConfig),
    		})).
    		Setup(func(ctx resource.Context) error {
    			return createCustomInstances(&apps)
    		}).
    		Run()
    }
    
    func setupConfig(ctx resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. tests/integration/security/file_mounted_certs/main_test.go

    				return err
    			}
    			return nil
    		}).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    				namespace.Future(&echo1NS),
    			},
    			Configs: echo.ConfigFuture(&customConfig),
    		})).
    		Setup(func(ctx resource.Context) error {
    			return createCustomInstances(&apps)
    		}).
    		Run()
    }
    
    func setupConfig(_ resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/common/deployment/echos.go

    	g, _ := errgroup.WithContext(context.TODO())
    
    	if c.Echos == nil {
    		c.Echos = &Echos{}
    	}
    
    	if c.Configs == nil {
    		defaultConfigs := c.DefaultEchoConfigs(ctx)
    		c.Configs = echo.ConfigFuture(&defaultConfigs)
    	}
    
    	// Verify the namespace for any custom deployments.
    	for _, config := range c.Configs.Get() {
    		if config.Namespace != nil {
    			found := false
    			for _, ns := range c.Namespaces {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/config.go

    }
    
    // Future creates a Getter for a variable the custom echo deployment that will be set at sometime in the future.
    // This is helpful for configuring a setup chain for a test suite that operates on global variables.
    func ConfigFuture(custom *[]Config) ConfigGetter {
    	return func() []Config {
    		return *custom
    	}
    }
    
    // NamespaceName returns the string name of the namespace.
    func (c Config) NamespaceName() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. tests/integration/security/sds_ingress/ingress_test.go

    				return err
    			}
    			return nil
    		}).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    				namespace.Future(&echo1NS),
    			},
    			Configs: echo.ConfigFuture(&customConfig),
    		})).
    		Setup(func(ctx resource.Context) error {
    			return ingressutil.CreateCustomInstances(&apps)
    		}).
    		Run()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top