Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for WithClusters (0.18 sec)

  1. pkg/test/framework/components/echo/deployment/builder.go

    	// TODO rename this to With, and the old method to WithInstance
    	WithConfig(cfg echo.Config) Builder
    
    	// WithClusters will cause subsequent With or WithConfig calls to be applied to the given clusters.
    	WithClusters(...cluster.Cluster) Builder
    
    	// Build and initialize all Echo Instances. Upon returning, the Instance pointers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. tests/integration/pilot/mcs/common/common.go

    			Prefix: nsPrefix,
    			Inject: true,
    		})
    		if err != nil {
    			return err
    		}
    		d.Namespace = ns
    
    		// Create echo instances in each cluster.
    		d.Instances, err = deployment.New(t).
    			WithClusters(t.Clusters()...).
    			WithConfig(echo.Config{
    				Service:   ServiceA,
    				Namespace: ns,
    				Ports:     ports.All(),
    			}).
    			WithConfig(echo.Config{
    				Service:   ServiceB,
    				Namespace: ns,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 27 17:09:00 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. tests/integration/pilot/cross_revision_test.go

      - hosts:
        - "*/*"`).ApplyOrFail(t)
    			// create an echo instance in each revisioned namespace, all these echo
    			// instances will be injected with proxies from their respective versions
    			builder := deployment.New(t).WithClusters(t.Clusters()...)
    			for _, ns := range namespaces {
    				builder = builder.WithConfig(echo.Config{
    					Service:   ns.revision,
    					Namespace: ns.namespace,
    					Ports:     ports.All(),
    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/pilot/revisions/revisions_test.go

    				Revision: "stable",
    			})
    			canary := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix:   "canary",
    				Inject:   true,
    				Revision: "canary",
    			})
    
    			echos := deployment.New(t).
    				WithClusters(t.Clusters()...).
    				WithConfig(echo.Config{
    					Service:   "client",
    					Namespace: stable,
    					Ports:     []echo.Port{},
    				}).
    				WithConfig(echo.Config{
    					Service:   "server",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 27 15:52:38 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. tests/integration/security/reachability_test.go

    				// Create a custom echo deployment in NS1 with subsets that allows us to test the
    				// migration of a workload to istio (from no sidecar to sidecar).
    				migrationApp = deployment.New(t).
    					WithClusters(t.Clusters()...).WithConfig(echo.Config{
    					Namespace:      echo1NS,
    					Service:        migrationServiceName,
    					ServiceAccount: true,
    					Ports:          ports.All(),
    					Subsets: []echo.SubsetConfig{
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. tests/integration/ambient/cnirepair/main_test.go

    		Prefix: "echo",
    		Inject: false,
    		Labels: map[string]string{
    			constants.DataplaneModeLabel: "ambient",
    		},
    	})
    	if err != nil {
    		return err
    	}
    
    	builder := deployment.New(t).
    		WithClusters(t.Clusters()...).
    		WithConfig(echo.Config{
    			Service:        Captured,
    			Namespace:      apps.Namespace,
    			Ports:          ports.All(),
    			ServiceAccount: true,
    			Subsets: []echo.SubsetConfig{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. tests/integration/ambient/main_test.go

    	headlessPorts := make([]echo.Port, len(ports.All()))
    	for i, p := range ports.All() {
    		p.ServicePort = p.WorkloadPort
    		headlessPorts[i] = p
    	}
    	builder := deployment.New(t).
    		WithClusters(t.Clusters()...).
    		WithConfig(echo.Config{
    			Service:               WorkloadAddressedWaypoint,
    			Namespace:             apps.Namespace,
    			Ports:                 ports.All(),
    			ServiceAccount:        true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/common/deployment/echos.go

    	for i, ns := range cfg.Namespaces {
    		apps.NS[i].Namespace = ns.Get()
    	}
    	if !cfg.NoExternalNamespace {
    		apps.External.Namespace = cfg.ExternalNamespace.Get()
    	}
    
    	builder := deployment.New(ctx).WithClusters(ctx.Clusters()...)
    	for _, n := range apps.NS {
    		builder = n.build(builder, cfg)
    	}
    
    	if !cfg.NoExternalNamespace {
    		builder = apps.External.Build(ctx, builder)
    	}
    
    	echos, err := builder.Build()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top