Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidateVolumes (0.2 sec)

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

    // This test is a little too top-to-bottom.  Ideally we would test each volume
    // type on its own, but we want to also make sure that the logic works through
    // the one-of wrapper, so we just do it all in one place.
    func TestValidateVolumes(t *testing.T) {
    	validInitiatorName := "iqn.2015-02.example.com:init"
    	invalidInitiatorName := "2015-02.example.com:init"
    
    	type verr struct {
    		etype  field.ErrorType
    		field  string
    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