Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validatePVSecretReference (0.24 sec)

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

    		expectError:   false,
    		expectedError: "",
    	},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			errs := validatePVSecretReference(tt.args.secretRef, tt.args.fldPath)
    			if tt.expectError && len(errs) == 0 {
    				t.Errorf("Unexpected success")
    			}
    			if tt.expectError && len(errs) != 0 {
    				str := errs[0].Error()
    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