Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for index (0.04 sec)

  1. 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)
  2. 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)
  3. manifests/charts/istiod-remote/files/gateway-injection-template.yaml

      annotations: {
        istio.io/rev: {{ .Revision | default "default" | quote }},
        {{- if eq (len $containers) 1 }}
        kubectl.kubernetes.io/default-logs-container: "{{ index $containers 0 }}",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/kube/inject/testdata/inputs/hello.yaml.17.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)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    	ByAddress        *krt.Index[model.WorkloadInfo, networkAddress]
    	ByServiceKey     *krt.Index[model.WorkloadInfo, string]
    	ByOwningWaypoint *krt.Index[model.WorkloadInfo, networkAddress]
    }
    
    type waypointsCollection struct {
    	krt.Collection[Waypoint]
    }
    
    type servicesCollection struct {
    	krt.Collection[model.ServiceInfo]
    	ByAddress        *krt.Index[model.ServiceInfo, networkAddress]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top