Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EquivalentResourcesFor (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/storageversion/manager.go

    		s.managedResourceInfos[r] = struct{}{}
    		s.addPendingManagedStatusLocked(r)
    	}
    }
    
    func (s *defaultManager) addPendingManagedStatusLocked(r *ResourceInfo) {
    	gvrs := r.EquivalentResourceMapper.EquivalentResourcesFor(r.GroupResource.WithVersion(""), "")
    	for _, gvr := range gvrs {
    		gr := gvr.GroupResource()
    		if _, ok := s.managedStatus[gr]; !ok {
    			s.managedStatus[gr] = &updateStatus{}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:47:19 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go

    type EquivalentResourceMapper interface {
    	// EquivalentResourcesFor returns a list of resources that address the same underlying data as resource.
    	// If subresource is specified, only equivalent resources which also have the same subresource are included.
    	// The specified resource can be included in the returned list.
    	EquivalentResourcesFor(resource schema.GroupVersionResource, subresource string) []schema.GroupVersionResource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top