Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 264 for subdomains (0.25 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/validation/generic.go

    // value that were not valid.  Otherwise this returns an empty list or nil.
    type ValidateNameFunc func(name string, prefix bool) []string
    
    // NameIsDNSSubdomain is a ValidateNameFunc for names that must be a DNS subdomain.
    func NameIsDNSSubdomain(name string, prefix bool) []string {
    	if prefix {
    		name = maskTrailingDash(name)
    	}
    	return validation.IsDNS1123Subdomain(name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 03 14:47:11 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. pkg/dns/server/name_table.go

    					// And for each individual pod, populate the dns table with the endpoint IP with a manufactured host name.
    					if instance.SubDomain != "" && sameNetwork {
    						// Follow k8s pods dns naming convention of "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>"
    						// i.e. "mysql-0.mysql.default.svc.cluster.local".
    						parts := strings.SplitN(hostName.String(), ".", 2)
    						if len(parts) != 2 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. pkg/apis/resource/namedresources.go

    // on its attributes.
    type NamedResourcesInstance struct {
    	// Name is unique identifier among all resource instances managed by
    	// the driver on the node. It must be a DNS subdomain.
    	Name string
    
    	// Attributes defines the attributes of this resource instance.
    	// The name of each attribute must be unique.
    	Attributes []NamedResourcesAttribute
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. pkg/apis/resource/validation/validation_resourceclass_test.go

    			class:        testClass("", goodName),
    		},
    		"bad-name": {
    			wantFailures: field.ErrorList{field.Invalid(field.NewPath("metadata", "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: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go

    	// If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
    	// If not specified, the pod will not have a domainname at all.
    	// +optional
    	Subdomain string `json:"subdomain,omitempty" protobuf:"bytes,17,opt,name=subdomain"`
    	// If specified, the pod will be dispatched by specified scheduler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. pkg/apis/resource/validation/validation_resourceslice_test.go

    			slice:        testResourceSlice("", goodName, driverName),
    		},
    		"bad-name": {
    			wantFailures: field.ErrorList{field.Invalid(field.NewPath("metadata", "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 14 17:07:36 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf_test.go

    				TypeMeta: metav1.TypeMeta{APIVersion: "group/version", Kind: "Carp"},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "namespace",
    				},
    				Spec: testapigroupv1.CarpSpec{
    					Subdomain: "carp.k8s.io",
    				},
    			},
    		},
    
    		{
    			name: "encode a runtime.Unknown obj",
    			obj:  &runtime.Unknown{TypeMeta: runtime.TypeMeta{APIVersion: "group/version", Kind: "Unknown"}, Raw: []byte("hello world")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 03:17:50 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    // on its attributes.
    type NamedResourcesInstance struct {
    	// Name is unique identifier among all resource instances managed by
    	// the driver on the node. It must be a DNS subdomain.
    	Name string `json:"name" protobuf:"bytes,1,name=name"`
    
    	// Attributes defines the attributes of this resource instance.
    	// The name of each attribute must be unique.
    	//
    	// +listType=atomic
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/types.go

    	// +optional
    	Hostname string
    	// If specified, the fully qualified Carp hostname will be "<hostname>.<subdomain>.<carp namespace>.svc.<cluster domain>".
    	// If not specified, the carp will not have a domainname at all.
    	// +optional
    	Subdomain string
    	// If specified, the carp will be dispatched by specified scheduler.
    	// If not specified, the carp will be dispatched by default scheduler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 03 06:34:52 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.conversion.go

    	// INFO: in.HostNetwork opted out of conversion generation
    	// INFO: in.HostPID opted out of conversion generation
    	// INFO: in.HostIPC opted out of conversion generation
    	out.Hostname = in.Hostname
    	out.Subdomain = in.Subdomain
    	out.SchedulerName = in.SchedulerName
    	return nil
    }
    
    // Convert_v1_PodSpec_To_example_PodSpec is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
Back to top