Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for targetRefs (0.15 sec)

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

    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

        terminating: true
      deprecatedTopology:
        deprecatedTopologyKey: deprecatedTopologyValue
      hints:
        forZones:
        - name: nameValue
      hostname: hostnameValue
      nodeName: nodeNameValue
      targetRef:
        apiVersion: apiVersionValue
        fieldPath: fieldPathValue
        kind: kindValue
        name: nameValue
        namespace: namespaceValue
        resourceVersion: resourceVersionValue
        uid: uidValue
      zone: zoneValue
    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/apis/discovery/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	in.Conditions.DeepCopyInto(&out.Conditions)
    	if in.Hostname != nil {
    		in, out := &in.Hostname, &out.Hostname
    		*out = new(string)
    		**out = **in
    	}
    	if in.TargetRef != nil {
    		in, out := &in.TargetRef, &out.TargetRef
    		*out = new(core.ObjectReference)
    		**out = **in
    	}
    	if in.DeprecatedTopology != nil {
    		in, out := &in.DeprecatedTopology, &out.DeprecatedTopology
    		*out = make(map[string]string, len(*in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/discovery/v1/types.go

    	// +optional
    	Hostname *string `json:"hostname,omitempty" protobuf:"bytes,3,opt,name=hostname"`
    
    	// targetRef is a reference to a Kubernetes object that represents this
    	// endpoint.
    	// +optional
    	TargetRef *v1.ObjectReference `json:"targetRef,omitempty" protobuf:"bytes,4,opt,name=targetRef"`
    
    	// deprecatedTopology contains topology information part of the v1beta1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. pkg/apis/discovery/v1/zz_generated.conversion.go

    		return err
    	}
    	out.Hostname = (*string)(unsafe.Pointer(in.Hostname))
    	out.TargetRef = (*core.ObjectReference)(unsafe.Pointer(in.TargetRef))
    	out.DeprecatedTopology = *(*map[string]string)(unsafe.Pointer(&in.DeprecatedTopology))
    	out.NodeName = (*string)(unsafe.Pointer(in.NodeName))
    	out.Zone = (*string)(unsafe.Pointer(in.Zone))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 14.4K bytes
    - Viewed (0)
  6. pkg/apis/discovery/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	out.Hostname = (*string)(unsafe.Pointer(in.Hostname))
    	out.TargetRef = (*core.ObjectReference)(unsafe.Pointer(in.TargetRef))
    	// WARNING: in.Topology requires manual conversion: does not exist in peer-type
    	out.NodeName = (*string)(unsafe.Pointer(in.NodeName))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 15.3K bytes
    - Viewed (0)
  7. pkg/registry/core/service/storage/storage.go

    	if pod == nil {
    		return fmt.Errorf("pod is missing, skipping (%s/%s)", addr.TargetRef.Namespace, addr.TargetRef.Name)
    	}
    	for _, podIP := range pod.Status.PodIPs {
    		if podIP.IP == addr.IP {
    			return nil
    		}
    	}
    	return fmt.Errorf("pod ip(s) doesn't match endpoint ip, skipping: %v vs %s (%s/%s)", pod.Status.PodIPs, addr.IP, addr.TargetRef.Namespace, addr.TargetRef.Name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			IP: address,
    			TargetRef: &corev1.ObjectReference{
    				Kind: "Pod",
    				Name: fmt.Sprintf("pod-%d", i),
    			},
    		}
    
    		subset.Addresses = append(subset.Addresses, endpointAddress)
    
    		epSlice.Endpoints = append(epSlice.Endpoints, discovery.Endpoint{
    			Addresses:  []string{endpointAddress.IP},
    			TargetRef:  endpointAddress.TargetRef,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. pkg/api/endpoints/testing/make.go

    }
    
    // MakeEndpointAddress helps construct EndpointAddress objects which pass API
    // validation.
    func MakeEndpointAddress(ip string, pod string) api.EndpointAddress {
    	return api.EndpointAddress{
    		IP: ip,
    		TargetRef: &api.ObjectReference{
    			Name:      pod,
    			Namespace: metav1.NamespaceDefault,
    		},
    	}
    }
    
    // MakeEndpointPort helps construct EndpointPort objects which pass API
    // validation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 02 01:26:45 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. pkg/controller/endpointslicemirroring/utils_test.go

    }
    
    func TestAddressToEndpoint(t *testing.T) {
    	//name: "simple + gate enabled",
    	epAddress := v1.EndpointAddress{
    		IP:       "10.1.2.3",
    		Hostname: "foo",
    		NodeName: pointer.String("node-abc"),
    		TargetRef: &v1.ObjectReference{
    			APIVersion: "v1",
    			Kind:       "Pod",
    			Namespace:  "default",
    			Name:       "foo",
    		},
    	}
    	ready := true
    	expectedEndpoint := discovery.Endpoint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 23 15:40:23 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top