Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ResourceNames (0.35 sec)

  1. pilot/pkg/xds/delta.go

    				if wr == nil {
    					wr = &model.WatchedResource{TypeUrl: res.TypeUrl}
    				}
    				// some resources dynamically update ResourceNames. Most don't though
    				if newResourceNames != nil {
    					wr.ResourceNames = newResourceNames
    				}
    				wr.NonceSent = res.Nonce
    				if features.EnableUnsafeDeltaTest {
    					wr.LastResources = applyDelta(wr.LastResources, res)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. samples/addons/kiali.yaml

      - routes
      verbs:
      - get
    - apiGroups: ["authentication.k8s.io"]
      resources:
      - tokenreviews
      verbs:
      - create
    - apiGroups: ["oauth.openshift.io"]
      resources:
      - oauthclients
      resourceNames:
      - kiali-istio-system
      verbs:
      - get
    ...
    ---
    # Source: kiali-server/templates/rolebinding.yaml
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRoleBinding
    metadata:
      name: kiali
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. pilot/pkg/xds/ads.go

    	if strings.HasPrefix(req.TypeUrl, v3.DebugType) {
    		return s.pushXds(con,
    			&model.WatchedResource{TypeUrl: req.TypeUrl, ResourceNames: req.ResourceNames},
    			&model.PushRequest{Full: true, Push: con.proxy.LastPushContext})
    	}
    
    	if s.StatusReporter != nil {
    		s.StatusReporter.RegisterEvent(con.ID(), req.TypeUrl, req.ResponseNonce)
    	}
    
    	shouldRespond, delta := xds.ShouldRespond(con.proxy, con.ID(), req)
    	if !shouldRespond {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. pilot/pkg/xds/deltatest.go

    		return
    	}
    	newByName := slices.GroupUnique(sotwRes, (*discovery.Resource).GetName)
    	curByName := slices.GroupUnique(current, (*discovery.Resource).GetName)
    
    	watched := sets.New(w.ResourceNames...)
    
    	details := fmt.Sprintf("last:%v sotw:%v delta:%v-%v", len(current), len(sotwRes), len(deltaRes), len(deleted))
    	wantDeleted := sets.New[string]()
    	wantChanged := sets.New[string]()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster.go

    	servicePortClusters := make(map[string]map[int]string)
    	// Holds subset clusters per service, keyed by hostname.
    	subsetClusters := make(map[string]sets.String)
    
    	for _, cluster := range watched.ResourceNames {
    		// WatchedResources.ResourceNames will contain the names of the clusters it is subscribed to. We can
    		// check with the name of our service (cluster names are in the format outbound|<port>|<subset>|<hostname>).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. pilot/pkg/model/context.go

    	defer node.RUnlock()
    	wr := node.WatchedResources[v3.EndpointType]
    	if wr != nil {
    		return wr.ResourceNames
    	}
    	return nil
    }
    
    func (node *Proxy) NewWatchedResource(typeURL string, names []string) {
    	node.Lock()
    	defer node.Unlock()
    
    	node.WatchedResources[typeURL] = &WatchedResource{TypeUrl: typeURL, ResourceNames: names}
    	// For all EDS requests that we have already responded with in the same stream let us
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_test.go

    				proxy.PrevSidecarScope.SetDestinationRulesForTesting(tc.prevConfigs)
    			}
    			clusters, removed, delta := cg.DeltaClusters(proxy, tc.configUpdated,
    				&model.WatchedResource{ResourceNames: tc.watchedResourceNames})
    			if delta != tc.usedDelta {
    				t.Errorf("un expected delta, want %v got %v", tc.usedDelta, delta)
    			}
    			assert.Equal(t, removed, tc.removedClusters)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  8. pkg/generated/openapi/zz_generated.openapi.go

    				Type:        []string{"object"},
    				Properties: map[string]spec.Schema{
    					"resourceNames": {
    						VendorExtensible: spec.VendorExtensible{
    							Extensions: spec.Extensions{
    								"x-kubernetes-list-type": "atomic",
    							},
    						},
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  9. api/openapi-spec/swagger.json

              "items": {
                "type": "string"
              },
              "type": "array",
              "x-kubernetes-list-type": "atomic"
            },
            "resourceNames": {
              "description": "ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.",
              "items": {
                "type": "string"
              },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top