Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 290 for Instances (0.21 sec)

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

    }
    
    func assignRefs(refs []*echo.Instance, instances echo.Instances) error {
    	if len(refs) != len(instances) {
    		return fmt.Errorf("cannot set %d references, only %d instances were built", len(refs), len(instances))
    	}
    	for i, ref := range refs {
    		if ref != nil {
    			*ref = instances[i]
    		}
    	}
    	return nil
    }
    
    func (b *builder) BuildOrFail(t test.Failer) echo.Instances {
    	t.Helper()
    	out, err := b.Build()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/echotest/filters_test.go

    			filter: func(instances echo.Instances) echo.Instances {
    				return echotest.ReachableDestinations(naked1, instances)
    			},
    			expect: echo.Instances{
    				// only same network/cluster, no VMs
    				a1, a1Ns2, b1, c1, headless1, naked1, external1,
    			},
    		},
    		"ReachableDestinations from vm": {
    			filter: func(instances echo.Instances) echo.Instances {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/kube/builder.go

    )
    
    func Build(ctx resource.Context, configs []echo.Config) (echo.Instances, error) {
    	instances := make([]echo.Instance, len(configs))
    
    	g := multierror.Group{}
    	for i, cfg := range configs {
    		i, cfg := i, cfg
    		g.Go(func() (err error) {
    			instances[i], err = newInstance(ctx, cfg)
    			return
    		})
    	}
    
    	err := g.Wait().ErrorOrNil()
    	return instances, err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

        static abstract class ServiceImpl implements BuildService<Params> {
            static List<ServiceImpl> instances = []
    
            String getProp() {
                return getParameters().prop
            }
    
            static void reset() {
                instances.clear()
            }
    
            ServiceImpl() {
                instances.add(this)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. tests/integration/ambient/main_test.go

    	// Sidecar echo services with sidecar
    	Sidecar echo.Instances
    
    	// All echo services
    	All echo.Instances
    	// Echo services that are in the mesh
    	Mesh echo.Instances
    	// Echo services that are not in mesh
    	MeshExternal echo.Instances
    
    	MockExternal echo.Instances
    
    	// WaypointProxies by
    	WaypointProxies map[string]ambient.WaypointProxy
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster.go

    	}
    	for _, instance := range instances {
    		// For service instances with the same port,
    		// we still need to capture all the instances on this port, as its required to populate telemetry metadata
    		// The first instance will be used as the "primary" instance; this means if we have an conflicts between
    		// Services the first one wins
    		port := int(instance.Port.TargetPort)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. pilot/pkg/model/gateway_test.go

    			2,
    		},
    	}
    
    	for idx, tt := range tests {
    		t.Run(fmt.Sprintf("[%d] %s", idx, tt.name), func(t *testing.T) {
    			instances := []gatewayWithInstances{}
    			for _, c := range tt.gwConfig {
    				instances = append(instances, gatewayWithInstances{c, true, nil})
    			}
    			mgw := MergeGateways(instances, &Proxy{}, nil)
    			if len(mgw.MergedServers) != tt.mergedServersNum {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. docs/bucket/replication/test_del_marker_proxying.sh

    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/sitea
    	rm -rf /tmp/siteb
    	echo "done"
    }
    
    cleanup
    
    export MINIO_CI_CD=1
    export MINIO_BROWSER=off
    export MINIO_ROOT_USER="minio"
    export MINIO_ROOT_PASSWORD="minio123"
    
    # Start MinIO instances
    echo -n "Starting MinIO instances ..."
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 11:38:26 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. tests/integration/ambient/cnirepair/main_test.go

    )
    
    type EchoDeployments struct {
    	// Namespace echo apps will be deployed
    	Namespace namespace.Instance
    	// Captured echo service
    	Captured echo.Instances
    	// Uncaptured echo Service
    	Uncaptured echo.Instances
    	// Sidecar echo services with sidecar
    	Sidecar echo.Instances
    
    	// All echo services
    	All echo.Instances
    }
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/match/matchers_test.go

    			}
    		})
    	}
    }
    
    var _ echo.Instance = fakeInstance{}
    
    // fakeInstance wraps echo.Config for test-framework internals tests where we don't actually make calls
    type fakeInstance echo.Config
    
    func (f fakeInstance) WithWorkloads(wl ...echo.Workload) echo.Instance {
    	// TODO implement me
    	panic("implement me")
    }
    
    func (f fakeInstance) Instances() echo.Instances {
    	return echo.Instances{f}
    }
    
    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