Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ResourcePriority (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/testrestmapper/test_restmapper.go

    	}
    
    	remainingResourcePriority, remainingKindPriority := prioritiesForGroups(scheme, remainingGroups.List()...)
    	resourcePriority = append(resourcePriority, remainingResourcePriority...)
    	kindPriority = append(kindPriority, remainingKindPriority...)
    
    	return meta.PriorityRESTMapper{Delegate: unionMapper, ResourcePriority: resourcePriority, KindPriority: kindPriority}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 09:07:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go

    	Delegate RESTMapper
    
    	// ResourcePriority is a list of priority patterns to apply to matching resources.
    	// The list of all matching resources is narrowed based on the patterns until only one remains.
    	// A pattern with no matches is skipped.  A pattern with more than one match uses its
    	// matches as the list to continue matching against.
    	ResourcePriority []schema.GroupVersionResource
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/priority_test.go

    			},
    			result: schema.GroupVersionResource{Group: "one", Version: "a", Resource: "second"},
    		},
    	}
    
    	for _, tc := range tcs {
    		mapper := PriorityRESTMapper{Delegate: tc.delegate, ResourcePriority: tc.resourcePatterns}
    
    		actualResult, actualErr := mapper.ResourceFor(schema.GroupVersionResource{})
    		if e, a := tc.result, actualResult; e != a {
    			t.Errorf("%s: expected %v, got %v", tc.name, e, a)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 06 15:24:58 UTC 2018
    - 13.6K bytes
    - Viewed (0)
Back to top