Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for myname (0.12 sec)

  1. plugin/pkg/admission/serviceaccount/admission_test.go

    	sa := &corev1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      DefaultServiceAccountName,
    			Namespace: ns,
    		},
    		ImagePullSecrets: []corev1.LocalObjectReference{
    			{Name: "foo"},
    			{Name: "bar"},
    		},
    	}
    	originalSA := sa.DeepCopy()
    	expected := []api.LocalObjectReference{
    		{Name: "foo"},
    		{Name: "bar"},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/extensions/MultiTestLifecycleSpec.groovy

        }
    
        static class SampleRule extends ExternalResource {
            private final String name
    
            // We add a constructor parameter here, so this class can't be instantiated by the default constructor.
            // This way we can test if the class has been initialized correctly by Spock.
            SampleRule(String name) {
                this.name = name
            }
    
            @Override
            protected void before() throws Throwable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    [source,groovy]
    ----
    import org.gradle.api.Named
    
    interface MyType : Named {
        // Other properties and methods...
    }
    
    class MyTypeImpl(override val name: String) : MyType {
        // Implement other properties and methods...
    }
    
    // Usage
    val instance = MyTypeImpl("myName")
    println(instance.name) // Prints: myName
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    			name:        "qualifiedName",
    			expr:        `format.qualifiedName().validate("contains a space")`,
    			expectValue: types.OptionalOf(types.NewStringList(types.DefaultTypeAdapter, []string{`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]')`})),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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)
  10. internal/config/config.go

    				region)
    			return
    		}
    		s.region = region
    	}
    
    	name := env.Get(EnvSiteName, siteKV.Get(NameKey))
    	if name != "" {
    		if !validSiteNameRegex.MatchString(name) {
    			err = Errorf(
    				"site name '%s' is invalid, expected simple characters such as [cal-rack0, myname...]",
    				name)
    			return
    		}
    		s.name = name
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top