Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fakeRESTMapper (0.42 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    	name        string
    	patch       interface{}
    }
    
    func (a applyPatchOperation) Do(ctx *ratchetingTestContext) error {
    	// Lookup GVK from discovery
    	kind, ok := fakeRESTMapper[a.gvr]
    	if !ok {
    		return fmt.Errorf("no mapping found for Gvr %v, add entry to fakeRESTMapper", a.gvr)
    	}
    
    	patch := &unstructured.Unstructured{}
    	if obj, ok := a.patch.(map[string]interface{}); ok {
    		patch.Object = obj
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
Back to top