Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 185 for myname (0.61 sec)

  1. pkg/apis/resource/validation/validation_resourceslice_test.go

    				return slice
    			}(),
    		},
    	}
    
    	for name, scenario := range scenarios {
    		t.Run(name, func(t *testing.T) {
    			errs := ValidateResourceSlice(scenario.slice)
    			assert.Equal(t, scenario.wantFailures, errs)
    		})
    	}
    }
    
    func TestValidateResourceSliceUpdate(t *testing.T) {
    	name := "valid"
    	validResourceSlice := testResourceSlice(name, name, name)
    
    	scenarios := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/encoding/json/encode.go

    //
    //	// Field appears in JSON as key "myName".
    //	Field int `json:"myName"`
    //
    //	// Field appears in JSON as key "myName" and
    //	// the field is omitted from the object if its value is empty,
    //	// as defined above.
    //	Field int `json:"myName,omitempty"`
    //
    //	// Field appears in JSON as key "Field" (the default), but
    //	// the field is skipped if empty.
    //	// Note the leading comma.
    //	Field int `json:",omitempty"`
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. pkg/apis/resource/validation/validation_resourceclaimparameters_test.go

    			}(),
    		},
    	}
    
    	for name, scenario := range scenarios {
    		t.Run(name, func(t *testing.T) {
    			errs := ValidateResourceClaimParameters(scenario.parameters)
    			assert.Equal(t, scenario.wantFailures, errs)
    		})
    	}
    }
    
    func TestValidateResourceClaimParametersUpdate(t *testing.T) {
    	name := "valid"
    	validResourceClaimParameters := testResourceClaimParameters(name, name, nil)
    
    	scenarios := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/apis/resource/validation/validation_resourceclassparameters_test.go

    			}(),
    		},
    	}
    
    	for name, scenario := range scenarios {
    		t.Run(name, func(t *testing.T) {
    			errs := ValidateResourceClassParameters(scenario.parameters)
    			assert.Equal(t, scenario.wantFailures, errs)
    		})
    	}
    }
    
    func TestValidateResourceClassParametersUpdate(t *testing.T) {
    	name := "valid"
    	validResourceClassParameters := testResourceClassParameters(name, name, nil)
    
    	scenarios := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    			template: testClaimTemplate(goodName, goodNS, goodClaimSpec),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			template:     testClaimTemplate("", goodNS, goodClaimSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an
      // optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
      //
      // Required.
      optional string name = 1;
    
      // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. .idea/inspectionProfiles/Gradle.xml

          <extension name="InstanceMethodNamingConvention" enabled="true">
            <option name="m_regex" value="[a-z][A-Za-z\d]*" />
            <option name="m_minLength" value="2" />
            <option name="m_maxLength" value="999" />
          </extension>
          <extension name="StaticMethodNamingConvention" enabled="true">
            <option name="m_regex" value="[a-z][A-Za-z\d]*" />
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:43 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. pkg/apis/resource/validation/validation_resourceclass_test.go

    		},
    		"good-long-driver-name": {
    			class: testClass(goodName, "acme.example.com"),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			class:        testClass("", goodName),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an
      // optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
      //
      // Required.
      optional string name = 1;
    
      // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/validation/validation_test.go

    		expectedError: `[webhooks[0].matchConditions[0].name: Invalid value: ".io": name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]'), webhooks[1].matchConditions[0].name: Invalid value: "some name": name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
Back to top