Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 237 for SubDomain (0.18 sec)

  1. pkg/scheduler/util/utils.go

    )
    
    // GetPodFullName returns a name that uniquely identifies a pod.
    func GetPodFullName(pod *v1.Pod) string {
    	// Use underscore as the delimiter because it is not allowed in pod name
    	// (DNS subdomain format).
    	return pod.Name + "_" + pod.Namespace
    }
    
    // GetPodStartTime returns start time of the given pod or current timestamp
    // if it hasn't started yet.
    func GetPodStartTime(pod *v1.Pod) *metav1.Time {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    		MaxRegexSize: 30,
    	},
    	"qualifiedName": {
    		Name:         "QualifiedName",
    		ValidateFunc: validation.IsQualifiedName,
    		MaxRegexSize: 60, // uses subdomain regex
    	},
    
    	"dns1123LabelPrefix": {
    		Name:         "DNS1123LabelPrefix",
    		ValidateFunc: func(s string) []string { return apimachineryvalidation.NameIsDNSLabel(s, true) },
    		MaxRegexSize: 30,
    	},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. pkg/apis/certificates/validation/validation_test.go

    					Request:    newCSRPEM(t),
    					SignerName: "example.com/",
    				},
    			},
    			errs: field.ErrorList{
    				field.Invalid(specPath.Child("signerName"), "", `validating label "": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')`),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/config/common_test.go

    		name              string
    		cfg               string
    		expectedError     bool
    		allowExperimental bool
    	}{
    		{
    			name: "invalid subdomain",
    			cfg: dedent.Dedent(fmt.Sprintf(`
    			apiVersion: %s
    			kind: InitConfiguration
    			  name: foo bar # not a valid subdomain
    			`, gv)),
    			expectedError: true,
    		},
    		{
    			name: "unknown API GVK",
    			cfg: dedent.Dedent(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InternetDomainName.java

       *
       * @since 6.0
       */
      public boolean isUnderPublicSuffix() {
        return publicSuffixIndex() > 0;
      }
    
      /**
       * Indicates whether this domain name is composed of exactly one subdomain component followed by a
       * {@linkplain #isPublicSuffix() public suffix}. For example, returns {@code true} for {@code
       * google.com} {@code foo.co.uk}, and {@code myblog.blogspot.com}, but not for {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. src/net/http/cookiejar/jar.go

    		// Hostnames can't contain : or %, so this is definitely not a valid host.
    		// Treating it as an IP is the more conservative option, and avoids the risk
    		// of interpreting ::1%.www.example.com as a subdomain of www.example.com.
    		return true
    	}
    	return net.ParseIP(host) != nil
    }
    
    // defaultPath returns the directory part of a URL's path according to
    // RFC 6265 section 5.1.4.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InternetDomainName.java

       *
       * @since 6.0
       */
      public boolean isUnderPublicSuffix() {
        return publicSuffixIndex() > 0;
      }
    
      /**
       * Indicates whether this domain name is composed of exactly one subdomain component followed by a
       * {@linkplain #isPublicSuffix() public suffix}. For example, returns {@code true} for {@code
       * google.com} {@code foo.co.uk}, and {@code myblog.blogspot.com}, but not for {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. pkg/kube/util.go

    			ServiceAccountName: oldSpec.ServiceAccountName,
    			NodeName:           oldSpec.NodeName,
    			HostNetwork:        oldSpec.HostNetwork,
    			Hostname:           oldSpec.Hostname,
    			Subdomain:          oldSpec.Subdomain,
    		}
    		pod.Spec = newSpec
    		pod.Status.InitContainerStatuses = nil
    		pod.Status.ContainerStatuses = nil
    	}
    
    	return obj, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. pkg/apis/apiserverinternal/validation/validation.go

    		}
    	default:
    		return append(errs, "an apiVersion is "+utilvalidation.RegexError(dns1035LabelErrMsg, dns1035LabelFmt, "my-name", "abc-123")+
    			" with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyVersion')")
    	}
    
    	if len(version) == 0 {
    		errs = append(errs, "version part: "+utilvalidation.EmptyError())
    	} else if msgs := utilvalidation.IsDNS1035Label(version); len(msgs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 21:43:49 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. pkg/apis/resource/structured/namedresources/validation/validation_test.go

    		},
    		"bad-name": {
    			wantFailures: field.ErrorList{field.Invalid(field.NewPath("instances").Index(0).Child("name"), badName, "a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top