- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 209 for index (0.11 sec)
-
pkg/kube/krt/index.go
import ( "sync" "istio.io/istio/pkg/ptr" "istio.io/istio/pkg/util/sets" ) // Index maintains a simple index over an informer type Index[I any, K comparable] struct { mu sync.RWMutex objects map[K]sets.Set[Key[I]] c Collection[I] extract func(o I) []K } // Lookup finds all objects matching a given key func (i *Index[I, K]) Lookup(k K) []I { i.mu.RLock() defer i.mu.RUnlock() var res []I
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 04:53:45 UTC 2024 - 2.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/index.go
"istio.io/istio/pkg/util/sets" ) // Index reprensents an index over workload instances from workload entries. // // Indexes are thread-safe. type Index interface { // Insert adds/updates given workload instance to the index. // // Returns previous value in the index, or nil otherwise. Insert(*model.WorkloadInstance) *model.WorkloadInstance // Delete removes given workload instance from the index. //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 16 05:45:36 UTC 2023 - 4.1K bytes - Viewed (0) -
pkg/kube/kclient/index.go
"istio.io/istio/pkg/kube/controllers" "istio.io/istio/pkg/util/sets" ) // Index maintains a simple index over an informer type Index[K comparable, O controllers.ComparableObject] struct { mu sync.RWMutex objects map[K]sets.Set[types.NamespacedName] client Informer[O] } // Lookup finds all objects matching a given key func (i *Index[K, O]) Lookup(k K) []O { i.mu.RLock() defer i.mu.RUnlock() res := make([]O, 0)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 04 03:49:30 UTC 2023 - 3.5K bytes - Viewed (0) -
samples/bookinfo/src/productpage/templates/index.html
Peter Jausovec <******@****.***> 1716907681 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 14:48:01 UTC 2024 - 1.5K bytes - Viewed (0) -
manifests/charts/istiod-remote/files/gateway-injection-template.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 8.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/index_test.go
Address: "2.2.2.2", Labels: map[string]string{"app": "wle"}, }, } index := NewIndex() // test update index.Insert(wi1) index.Insert(wi2) index.Insert(wi3) index.Insert(wi4) // test search by service selector actual := FindAllInIndex(index, ByServiceSelector(selector.Namespace, labels.Instance{"app": "wle"})) want := []*model.WorkloadInstance{wi1, wi2}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5K bytes - Viewed (0) -
pkg/kube/inject/testdata/inputs/custom-template.yaml.40.template.gen.yaml
{{- end }} service.istio.io/canonical-name: {{ index .ObjectMeta.Labels `service.istio.io/canonical-name` | default (index .ObjectMeta.Labels `app.kubernetes.io/name`) | default (index .ObjectMeta.Labels `app`) | default .DeploymentMeta.Name | trunc 63 | trimSuffix "-" | quote }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 76.7K bytes - Viewed (0) -
pkg/kube/inject/testdata/inputs/hello-probes-noProxyHoldApplication-ProxyConfig.yaml.20.template.gen.yaml
{{- end }} service.istio.io/canonical-name: {{ index .ObjectMeta.Labels `service.istio.io/canonical-name` | default (index .ObjectMeta.Labels `app.kubernetes.io/name`) | default (index .ObjectMeta.Labels `app`) | default .DeploymentMeta.Name | trunc 63 | trimSuffix "-" | quote }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 75.9K bytes - Viewed (0) -
pkg/kube/inject/testdata/inputs/hello-probes.yaml.18.template.gen.yaml
{{- end }} service.istio.io/canonical-name: {{ index .ObjectMeta.Labels `service.istio.io/canonical-name` | default (index .ObjectMeta.Labels `app.kubernetes.io/name`) | default (index .ObjectMeta.Labels `app`) | default .DeploymentMeta.Name | trunc 63 | trimSuffix "-" | quote }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 75.9K bytes - Viewed (0) -
pkg/kube/inject/testdata/inputs/proxy-override-runas.yaml.34.template.gen.yaml
{{- end }} service.istio.io/canonical-name: {{ index .ObjectMeta.Labels `service.istio.io/canonical-name` | default (index .ObjectMeta.Labels `app.kubernetes.io/name`) | default (index .ObjectMeta.Labels `app`) | default .DeploymentMeta.Name | trunc 63 | trimSuffix "-" | quote }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 75.9K bytes - Viewed (0)