Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for SubDomain (1.96 sec)

  1. pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go

    	hostname string
    	// If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
    	subDomain string
    	// If in k8s, the node where the pod resides
    	nodeName string
    }
    
    func (c *Controller) NewEndpointBuilder(pod *v1.Pod) *EndpointBuilder {
    	var locality, sa, namespace, hostname, subdomain, ip, node string
    	var podLabels labels.Instance
    	if pod != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. pkg/config/host/name_test.go

    			"bar.com", "foo.com", false,
    		},
    		{
    			"non-wildcard domain - order doesn't matter",
    			"foo.com", "bar.com", false,
    		},
    
    		{
    			"domain does not match subdomain",
    			"bar.foo.com", "foo.com", false,
    		},
    		{
    			"domain does not match subdomain - order doesn't matter",
    			"foo.com", "bar.foo.com", false,
    		},
    
    		{
    			"wildcard matches subdomains",
    			"*.com", "foo.com", true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 29 15:57:39 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  3. pkg/kubelet/util/util_test.go

    		hostDomain:        "svc.subdomain.local",
    		setHostnameAsFQDN: false,
    		expectedHostname:  "test.pod.hostname",
    		expectError:       false,
    	}, {
    		description:       "valid hostDomain, setHostnameAsFQDN true",
    		hostname:          "test.pod.hostname",
    		hostDomain:        "svc.subdomain.local",
    		setHostnameAsFQDN: true,
    		expectedHostname:  "test.pod.hostname.svc.subdomain.local",
    		expectError:       false,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 14:16:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/attributes_test.go

    	assert.Equal(t, annotations["foo.admission.k8s.io/key1"], "value1", "admission annotations should not be overwritten")
    
    	// test invalid plugin names
    	var testCases = map[string]string{
    		"invalid dns subdomain": "INVALID-DNS-Subdomain/policy",
    		"no plugin name":        "policy",
    		"no key name":           "foo.admission.k8s.io",
    		"empty key":             "",
    	}
    	for name, invalidKey := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 19:44:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_advanced_middleware/test_tutorial002.py

    
    def test_middleware():
        client = TestClient(app, base_url="http://example.com")
        response = client.get("/")
        assert response.status_code == 200, response.text
        client = TestClient(app, base_url="http://subdomain.example.com")
        response = client.get("/")
        assert response.status_code == 200, response.text
        client = TestClient(app, base_url="http://invalidhost")
        response = client.get("/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 570 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go

    const wildcardDNS1123SubdomainErrMsg = "a wildcard DNS-1123 subdomain must start with '*.', followed by a valid DNS subdomain, which must consist of lower case alphanumeric characters, '-' or '.' and end with an alphanumeric character"
    
    // IsWildcardDNS1123Subdomain tests for a string that conforms to the definition of a
    // wildcard subdomain in DNS (RFC 1034 section 4.3.3).
    func IsWildcardDNS1123Subdomain(value string) []string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 16:08:43 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/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_CarpSpec_To_testapigroup_CarpSpec is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 11.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/types.go

    	// 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 `json:"subdomain,omitempty" protobuf:"bytes,17,opt,name=subdomain"`
    	// If specified, the carp 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.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top