- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AnyResource (0.16 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/meta/priority_test.go
{Group: "two", Version: "b", Resource: "second"}, }}, resourcePatterns: []schema.GroupVersionResource{ {Group: "fail", Version: AnyVersion, Resource: AnyResource}, {Group: "one", Version: AnyVersion, Resource: AnyResource}, }, result: schema.GroupVersionResource{Group: "one", Version: "a", Resource: "first"}, }, { name: "group followed by version selection",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 06 15:24:58 UTC 2018 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/testrestmapper/test_restmapper.go
resourcePriority = append(resourcePriority, availableVersions[0].WithResource(meta.AnyResource)) kindPriority = append(kindPriority, availableVersions[0].WithKind(meta.AnyKind)) } } for _, group := range groups { resourcePriority = append(resourcePriority, schema.GroupVersionResource{Group: group, Version: meta.AnyVersion, Resource: meta.AnyResource})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 06 09:07:02 UTC 2023 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go
limitations under the License. */ package meta import ( "fmt" "k8s.io/apimachinery/pkg/runtime/schema" ) const ( AnyGroup = "*" AnyVersion = "*" AnyResource = "*" AnyKind = "*" ) var ( _ ResettableRESTMapper = PriorityRESTMapper{} ) // PriorityRESTMapper is a wrapper for automatically choosing a particular Resource or Kind
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 23:44:02 UTC 2021 - 7.6K bytes - Viewed (0)