Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    		"binary data max size":            {binDataOverMaxSize, false},
    		"binary data non utf-8 bytes":     {binNonUtf8Value, true},
    	}
    
    	for name, tc := range tests {
    		errs := ValidateConfigMap(&tc.cfg)
    		if tc.isValid && len(errs) > 0 {
    			t.Errorf("%v: unexpected error: %v", name, errs)
    		}
    		if !tc.isValid && len(errs) == 0 {
    			t.Errorf("%v: unexpected non-error", name)
    		}
    	}
    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