Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidateVolumeNodeAffinityUpdate (0.33 sec)

  1. pkg/apis/core/validation/validation_test.go

    		})
    	}
    
    	return &core.VolumeNodeAffinity{
    		Required: &core.NodeSelector{
    			NodeSelectorTerms: nodeSelectorTerms,
    		},
    	}
    }
    
    func TestValidateVolumeNodeAffinityUpdate(t *testing.T) {
    	scenarios := map[string]struct {
    		isExpectedFailure bool
    		oldPV             *core.PersistentVolume
    		newPV             *core.PersistentVolume
    	}{
    		"nil-nothing-changed": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top