Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPVCProtectionController (0.31 sec)

  1. pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go

    			return true, nil, apierrors.NewForbidden(update.GetResource().GroupResource(), acc.GetName(), errors.New("Mock error"))
    		}
    		// Update succeeds
    		return false, nil, nil
    	}
    }
    
    func TestPVCProtectionController(t *testing.T) {
    	pvcGVR := schema.GroupVersionResource{
    		Group:    v1.GroupName,
    		Version:  "v1",
    		Resource: "persistentvolumeclaims",
    	}
    	podGVR := schema.GroupVersionResource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 15.5K bytes
    - Viewed (0)
Back to top