Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for addressTypes (0.17 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1.EndpointSlice.json

            "apiVersion": "apiVersionValue",
            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "addressType": "addressTypeValue",
      "endpoints": [
        {
          "addresses": [
            "addressesValue"
          ],
          "conditions": {
            "ready": true,
            "serving": true,
            "terminating": true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1.EndpointSlice.yaml

    addressType: addressTypeValue
    apiVersion: discovery.k8s.io/v1
    endpoints:
    - addresses:
      - addressesValue
      conditions:
        ready: true
        serving: true
        terminating: true
      deprecatedTopology:
        deprecatedTopologyKey: deprecatedTopologyValue
      hints:
        forZones:
        - name: nameValue
      hostname: hostnameValue
      nodeName: nodeNameValue
      targetRef:
        apiVersion: apiVersionValue
        fieldPath: fieldPathValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. pkg/proxy/config/api_test.go

    	_, ctx := klogtesting.NewTestContext(t)
    	endpoints1v1 := &discoveryv1.EndpointSlice{
    		ObjectMeta:  metav1.ObjectMeta{Namespace: "testnamespace", Name: "e1"},
    		AddressType: discoveryv1.AddressTypeIPv4,
    		Endpoints: []discoveryv1.Endpoint{{
    			Addresses: []string{
    				"1.2.3.4",
    			},
    		}},
    		Ports: []discoveryv1.EndpointPort{{
    			Port:     ptr.To[int32](8080),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/discovery/v1/types_swagger_doc_generated.go

    	"metadata":    "Standard object's metadata.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 15:36:48 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/discovery/v1beta1/types_swagger_doc_generated.go

    	"metadata":    "Standard object's metadata.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:26:19 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. pkg/controller/endpointslicemirroring/reconciler_test.go

    				switch epSlice.AddressType {
    				case discovery.AddressTypeIPv4:
    					matchingEndpointsV4 = append(matchingEndpointsV4, epSlice.Endpoints...)
    				case discovery.AddressTypeIPv6:
    					matchingEndpointsV6 = append(matchingEndpointsV6, epSlice.Endpoints...)
    				default:
    					t.Fatalf("Unexpected EndpointSlice address type found: %v", epSlice.AddressType)
    				}
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  7. pkg/proxy/iptables/proxier_test.go

    			)
    
    			populateEndpointSlices(fp,
    				makeTestEndpointSlice("ns1", "svc1", 1, func(eps *discovery.EndpointSlice) {
    					if tc.family == v1.IPv4Protocol {
    						eps.AddressType = discovery.AddressTypeIPv4
    					} else {
    						eps.AddressType = discovery.AddressTypeIPv6
    					}
    					eps.Endpoints = []discovery.Endpoint{{
    						Addresses: []string{epIP1},
    						NodeName:  nil,
    					}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  8. pkg/util/node/node.go

    func GetPreferredNodeAddress(node *v1.Node, preferredAddressTypes []v1.NodeAddressType) (string, error) {
    	for _, addressType := range preferredAddressTypes {
    		for _, address := range node.Status.Addresses {
    			if address.Type == addressType {
    				return address.Address, nil
    			}
    		}
    	}
    	return "", &NoMatchError{addresses: node.Status.Addresses}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. pkg/controller/endpointslice/endpointslice_controller_test.go

    			},
    		},
    		AddressType: discovery.AddressTypeIPv4,
    	}, {
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            "matching-2",
    			Namespace:       ns,
    			OwnerReferences: []metav1.OwnerReference{*ownerRef},
    			Labels: map[string]string{
    				discovery.LabelServiceName: serviceName,
    				discovery.LabelManagedBy:   controllerName,
    			},
    		},
    		AddressType: discovery.AddressTypeIPv4,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/discovery/v1/generated.proto

    // Endpoint represents a single logical "backend" implementing a service.
    message Endpoint {
      // addresses of this endpoint. The contents of this field are interpreted
      // according to the corresponding EndpointSlice addressType field. Consumers
      // must handle different types of addresses in the context of their own
      // capabilities. This must contain at least one address but no more than
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top