- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 4,116 for _instances (0.26 sec)
-
pkg/test/framework/components/echo/match/matchers.go
return func(i echo.Instance) bool { return n == i.NamespacedName() } } // AnyServiceName matches instances if they have the same Service and Namespace as any of the provided instances. func AnyServiceName(expected echo.NamespacedNames) Matcher { return func(instance echo.Instance) bool { serviceName := instance.NamespacedName() for _, expectedName := range expected { if serviceName == expectedName {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 5.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/store.go
continue } if _, f := s.instances[ikey]; !f { s.instances[ikey] = map[configKeyWithParent][]*model.ServiceInstance{} } s.instancesByHostAndPort.Insert(hostPort) s.instances[ikey][key] = append(s.instances[ikey][key], instance) if instance.Endpoint.Address != "" { s.ip2instance[instance.Endpoint.Address] = append(s.ip2instance[instance.Endpoint.Address], instance) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/run.go
// destination instance. This is for ingress gateway testing when source instance // destination instances. This can be used when we're not using echo workloads // as the source of traffic, such as from the ingress gateway. For example: // // RunFromClusters(func(t framework.TestContext, src cluster.Cluster, dst echo.Instances)) { // ingr := ist.IngressFor(src) // ingr.CallWithRetryOrFail(...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 22:08:42 UTC 2023 - 13K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/index.go
defer i.mu.RUnlock() keys := i.ipToKeys[ip] if len(keys) == 0 { return nil } instances := make([]*model.WorkloadInstance, 0, len(keys)) for _, key := range sets.SortedList(keys) { if instance, exists := i.keyToInstance[key]; exists { instances = append(instances, instance) } } return instances } // Empty implements Index. func (i *index) Empty() bool { i.mu.RLock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 16 05:45:36 UTC 2023 - 4.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/selector.go
func FindAllInIndex(index Index, predicate func(*model.WorkloadInstance) bool) []*model.WorkloadInstance { var instances []*model.WorkloadInstance index.ForEach(func(instance *model.WorkloadInstance) { if predicate(instance) { instances = append(instances, instance) } }) return instances
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 07 04:26:56 UTC 2023 - 1.4K bytes - Viewed (0) -
pkg/test/framework/components/echo/caller.go
} type Caller interface { // Call from this Instance to a target Instance. Call(options CallOptions) (CallResult, error) CallOrFail(t test.Failer, options CallOptions) CallResult } type Callers []Caller // Instances returns an Instances if all callers are Instance, otherwise returns nil. func (c Callers) Instances() Instances { var out Instances for _, caller := range c { c, ok := caller.(Instance)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 12 22:50:35 UTC 2022 - 1.3K bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ComponentGraphResolveState.java
/** * Does this instance represent some temporary or mutated view of the component? * * Generally you should avoid retaining ad hoc instances in memory, whereas non-ad hoc instances can safely be cached for the lifetime of the build tree. * * @return true when this instance is ad hoc, false when this instance is not ad hoc and can be cached. */ boolean isAdHoc();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/context.go
if inst == nil || Identical(inst, e.instance) { return e.instance } if debug { // Panic during development to surface any imperfections in our hash. panic(fmt.Sprintf("%s and %s are not identical", inst, e.instance)) } } ctxt.typeMap[h] = append(ctxt.typeMap[h], ctxtEntry{ orig: orig, targs: targs, instance: inst, }) return inst }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:29:21 UTC 2023 - 4.3K bytes - Viewed (0) -
security/pkg/credentialfetcher/plugin/gce.go
rotateToken = enable } // GCEPlugin is the plugin object. type GCEPlugin struct { // aud is the unique URI agreed upon by both the instance and the system verifying the instance's identity. // For more info: https://cloud.google.com/compute/docs/instances/verifying-instance-identity aud string // The location to save the identity token jwtPath string // identity provider identityProvider string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 4.7K bytes - Viewed (0)