- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AnyKind (0.11 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/meta/priority_test.go
KindPriority: []schema.GroupVersionKind{{Version: "v1", Kind: AnyKind}, {Version: "v1alpha1", Kind: AnyKind}}, }, input: schema.GroupKind{Kind: "Foo"}, result: mapping2, }, { name: "return out of group match", mapper: PriorityRESTMapper{ Delegate: allMappers, KindPriority: []schema.GroupVersionKind{{Group: AnyGroup, Version: "v1", Kind: AnyKind}, {Group: "other", Version: AnyVersion, Kind: AnyKind}}, },
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
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}) kindPriority = append(kindPriority, schema.GroupVersionKind{Group: group, Version: meta.AnyVersion, Kind: meta.AnyKind}) } return resourcePriority, 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) -
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 // when multiple matches are possible
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 23:44:02 UTC 2021 - 7.6K bytes - Viewed (0)