- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for KindsFor (0.12 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go
type doNothingRESTMapper struct{} func (doNothingRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error) { return schema.GroupVersionKind{}, nil } func (doNothingRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error) { return nil, nil } func (doNothingRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go
Resource: resource, } resolved, err := c.RestMapper.KindsFor(gvr) if err != nil { if restMapperRefreshAttempted { // RESTMapper refresh happens at most once per policy continue } c.tryRefreshRESTMapper() restMapperRefreshAttempted = true resolved, err = c.RestMapper.KindsFor(gvr) if err != nil { continue } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 15.3K bytes - Viewed (0) -
plugin/pkg/admission/gc/gc_admission_test.go
// this ok because if the test works, this method should never be called. panic("test failed") } func (r *neverReturningRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error) { // this ok because if the test works, this method should never be called. panic("test failed") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 24.5K bytes - Viewed (0)