Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for EndpointConditions (0.31 sec)

  1. pkg/proxy/iptables/proxier_test.go

    			Addresses:  []string{"10.0.1.1"},
    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To(testHostname),
    		}, {
    			Addresses:  []string{"10.0.1.2"},
    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To(testHostname),
    		}, {
    			Addresses:  []string{"10.0.1.3"},
    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To(testHostname),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (1)
  2. pkg/controller/endpointslicemirroring/utils_test.go

    			Name:       "foo",
    		},
    	}
    	ready := true
    	expectedEndpoint := discovery.Endpoint{
    		Addresses: []string{"10.1.2.3"},
    		Hostname:  pointer.String("foo"),
    		Conditions: discovery.EndpointConditions{
    			Ready: pointer.BoolPtr(true),
    		},
    		TargetRef: &v1.ObjectReference{
    			APIVersion: "v1",
    			Kind:       "Pod",
    			Namespace:  "default",
    			Name:       "foo",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 23 15:40:23 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/utils.go

    // EndpointSlice endpoint.
    func addressToEndpoint(address corev1.EndpointAddress, ready bool) *discovery.Endpoint {
    	endpoint := &discovery.Endpoint{
    		Addresses: []string{address.IP},
    		Conditions: discovery.EndpointConditions{
    			Ready: &ready,
    		},
    		TargetRef: address.TargetRef,
    	}
    
    	if address.NodeName != nil {
    		endpoint.NodeName = address.NodeName
    	}
    	if address.Hostname != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. pkg/controlplane/reconcilers/endpointsadapter.go

    func endpointFromAddress(address corev1.EndpointAddress, ready bool) discovery.Endpoint {
    	ep := discovery.Endpoint{
    		Addresses:  []string{address.IP},
    		Conditions: discovery.EndpointConditions{Ready: &ready},
    		TargetRef:  address.TargetRef,
    	}
    
    	if address.NodeName != nil {
    		ep.NodeName = address.NodeName
    	}
    
    	return ep
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  5. pkg/controlplane/reconcilers/endpointsadapter_test.go

    		epSlice.Endpoints = append(epSlice.Endpoints, discovery.Endpoint{
    			Addresses:  []string{endpointAddress.IP},
    			TargetRef:  endpointAddress.TargetRef,
    			Conditions: discovery.EndpointConditions{Ready: &trueBool},
    		})
    	}
    
    	return &corev1.Endpoints{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: namespace,
    			Labels: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/mesh_network_test.go

    				}},
    			},
    		},
    		&discoveryv1.EndpointSlice{
    			ObjectMeta: baseMeta,
    			Endpoints: []discoveryv1.Endpoint{{
    				Addresses:  []string{w.ip},
    				Conditions: discoveryv1.EndpointConditions{},
    				Hostname:   nil,
    				TargetRef: &corev1.ObjectReference{
    					APIVersion: "v1",
    					Kind:       "Pod",
    					Name:       podMeta.Name,
    					Namespace:  podMeta.Namespace,
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. pkg/proxy/endpointslicecache_test.go

    		serving := ptr.To(readyCondition)
    		terminating := ptr.To(terminatingCondition)
    
    		endpoint := discovery.Endpoint{
    			Addresses: []string{fmt.Sprintf("10.0.%d.%d", offset, i)},
    			Conditions: discovery.EndpointConditions{
    				Ready:       ready,
    				Serving:     serving,
    				Terminating: terminating,
    			},
    		}
    
    		if len(hosts) > 0 {
    			hostname := hosts[i%len(hosts)]
    			endpoint.NodeName = &hostname
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. pkg/proxy/winkernel/proxier_test.go

    			Protocol: ptr.To(v1.ProtocolTCP),
    		}},
    		AddressType: discovery.AddressTypeIPv4,
    		Endpoints: []discovery.Endpoint{{
    			Addresses:  []string{"192.168.2.3"},
    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To("testhost2"),
    		}},
    	}
    
    	proxier.OnEndpointSliceAdd(endpointSlice)
    	proxier.setInitialized(true)
    	proxier.syncProxyRules()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. pkg/proxy/endpointschangetracker_test.go

    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	unnamedPortReady := func(eps *discovery.EndpointSlice) {
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"1.1.1.1"},
    			Conditions: discovery.EndpointConditions{
    				Ready:       ptr.To(true),
    				Serving:     ptr.To(true),
    				Terminating: ptr.To(false),
    			},
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To(""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__discovery.k8s.io__v1_openapi.json

                "type": "string"
              }
            },
            "required": [
              "addresses"
            ],
            "type": "object"
          },
          "io.k8s.api.discovery.v1.EndpointConditions": {
            "description": "EndpointConditions represents the current condition of an endpoint.",
            "properties": {
              "ready": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 146.6K bytes
    - Viewed (0)
Back to top