Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for targetRef (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/api/discovery/v1beta1/types_swagger_doc_generated.go

    	"targetRef":  "targetRef is a reference to a Kubernetes object that represents this endpoint.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:26:19 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. pkg/controller/endpointslicemirroring/utils.go

    	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 != "" {
    		endpoint.Hostname = &address.Hostname
    	}
    
    	return endpoint
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  6. 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
    }
    
    // allAddressesIPv6 returns true if all provided addresses are IPv6.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // Label (RFC 1123) validation.
      // +optional
      optional string hostname = 3;
    
      // targetRef is a reference to a Kubernetes object that represents this
      // endpoint.
      // +optional
      optional k8s.io.api.core.v1.ObjectReference targetRef = 4;
    
      // topology contains arbitrary topology information associated with the
      // endpoint. These key/value pairs must conform with the label format.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pkg/apis/discovery/types.go

    	// fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123)
    	// validation.
    	// +optional
    	Hostname *string
    	// targetRef is a reference to a Kubernetes object that represents this
    	// endpoint.
    	// +optional
    	TargetRef *api.ObjectReference
    	// deprecatedTopology is deprecated and only retained for round-trip
    	// compatibility with v1beta1 Topology field.  When v1beta1 is removed, this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 21:38:06 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/discovery/v1/types_swagger_doc_generated.go

    	"targetRef":          "targetRef is a reference to a Kubernetes object that represents this endpoint.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 15:36:48 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1/generated.proto

      // Label (RFC 1123) validation.
      // +optional
      optional string hostname = 3;
    
      // targetRef is a reference to a Kubernetes object that represents this
      // endpoint.
      // +optional
      optional k8s.io.api.core.v1.ObjectReference targetRef = 4;
    
      // deprecatedTopology contains topology information part of the v1beta1
      // API. This field is deprecated, and will be removed when the v1beta1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top