Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for dns1123Label (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    //
    //  Example:
    //
    //    rule:              format.dns1123label.validate(object.metadata.name).hasValue()
    //    messageExpression: format.dns1123label.validate(object.metadata.name).value().join("\n")
    //
    // format.named(name: string) -> ?Format
    //
    //  Returns the Format with the given name, if it exists. Otherwise, optional.none
    //  Allowed names are:
    // 	 - `dns1123Label`
    // 	 - `dns1123Subdomain`
    // 	 - `dns1035Label`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    		},
    		{
    			name:        "example_usage_datetime",
    			expr:        `format.datetime().validate("2021-01-01T00:00:00Z")`,
    			expectValue: types.OptionalNone,
    		},
    		{
    			name:        "dns1123Label",
    			expr:        `format.dns1123Label().validate("contains a space")`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/names.go

    // <fqdn>/<resource-namespace>.<resource-name>.
    // The max length of a FQDN is 253 characters (DNS1123Subdomain max length)
    // The max length of a namespace name is 63 characters (DNS1123Label max length)
    // The max length of a resource name is 253 characters (DNS1123Subdomain max length)
    // We then add an additional 2 characters to account for the one '.' and one '/'.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			// using an estimated maximum regex length
    			expectEstimatedCost: checker.CostEstimate{Min: 34, Max: 34},
    			expectRuntimeCost:   17,
    		},
    		{
    			name:                "format.dns1123label.validate",
    			expr:                `format.named("dns1123Label").value().validate("my-name")`,
    			expectEstimatedCost: checker.CostEstimate{Min: 34, Max: 34},
    			expectRuntimeCost:   10,
    		},
    	}
    
    	for _, tc := range cases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  5. pkg/apis/certificates/validation/validation_test.go

    			// <fqdn>/<resource-namespace>.<resource-name>.
    			// The max length of a FQDN is 253 characters (DNS1123Subdomain max length)
    			// The max length of a namespace name is 63 characters (DNS1123Label max length)
    			// The max length of a resource name is 253 characters (DNS1123Subdomain max length)
    			// We then add an additional 2 characters to account for the one '.' and one '/'.
    			csr: capi.CertificateSigningRequest{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
Back to top