Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 550 for Instances (0.24 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. 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)
  4. pilot/pkg/serviceregistry/aggregate/controller_test.go

    		}
    	}
    
    	// Get Instances from mockAdapter2
    	instances = aggregateCtl.GetProxyServiceTargets(&model.Proxy{IPAddresses: []string{mock.MakeIP(mock.WorldService, 1)}})
    	if len(instances) != 6 {
    		t.Fatalf("Returned GetProxyServiceTargets' amount %d is not correct", len(instances))
    	}
    	for _, inst := range instances {
    		if inst.Service.Hostname != mock.WorldService.Hostname {
    			t.Fatal("Returned Instance is incorrect")
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/controller.go

    // got at t1 can accidentally override that got at t2 if multiple threads are
    // running this function. Queueing ensures latest updated wins.
    func (s *Controller) edsUpdate(instances []*model.ServiceInstance) {
    	// Find all keys we need to lookup
    	keys := sets.NewWithLength[instancesKey](len(instances))
    	for _, i := range instances {
    		keys.Insert(makeInstanceKey(i))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go

    	err := json.Unmarshal([]byte(smallInstance), &obj)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	instances := make([]map[string]interface{}, 0, b.N)
    	for i := 0; i < b.N; i++ {
    		instances = append(instances, runtime.DeepCopyJSON(obj))
    	}
    
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    		Prune(instances[i], schema, true)
    	}
    }
    
    func BenchmarkDeepCopy(b *testing.B) {
    	b.StopTimer()
    	b.ReportAllocs()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/named.go

    //
    // To prevent infinite expansion of named instances that are created outside of
    // type-checking, instances share a Context with other instances created during
    // their expansion. Via the pidgeonhole principle, this guarantees that in the
    // presence of a cycle of named types, expansion will eventually find an
    // existing instance in the Context and short-circuit the expansion.
    //
    // Once an instance is complete, we can nil out this shared Context to unpin
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. hack/make-rules/test-e2e-node.sh

        --image-project="${image_project}" --instance-name-prefix="${instance_prefix}" \
        --delete-instances="${delete_instances}" --test_args="${test_args}" --instance-metadata="${metadata}" \
        --image-config-file="${image_config_file}" --system-spec-name="${system_spec_name}" \
        --runtime-config="${runtime_config}" --preemptible-instances="${preemptible_instances}" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 09:46:28 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top