Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ResourceSingularizer (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    	return nil, nil
    }
    func (doNothingRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error) {
    	return nil, nil
    }
    func (doNothingRESTMapper) ResourceSingularizer(resource string) (singular string, err error) {
    	return "", nil
    }
    
    type doNothingAdmission struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. 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) ResourceSingularizer(resource string) (singular string, err error) {
    	// this ok because if the test works, this method should never be called.
    	panic("test failed")
    }
    
    func TestGCAdmission(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top