Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for forZones (0.13 sec)

  1. pkg/registry/discovery/endpointslice/strategy_test.go

    							ForZones: []discovery.ForZone{{Name: "zone-a"}},
    						},
    					},
    					{
    						Hints: &discovery.EndpointHints{
    							ForZones: []discovery.ForZone{{Name: "zone-b"}},
    						},
    					},
    				},
    			},
    			expectedEPS: &discovery.EndpointSlice{
    				Endpoints: []discovery.Endpoint{
    					{
    						Hints: &discovery.EndpointHints{
    							ForZones: []discovery.ForZone{{Name: "zone-a"}},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. pkg/apis/discovery/validation/validation.go

    	fzPath := fldPath.Child("forZones")
    	if len(endpointHints.ForZones) > maxZoneHints {
    		allErrs = append(allErrs, field.TooMany(fzPath, len(endpointHints.ForZones), maxZoneHints))
    		return allErrs
    	}
    
    	zoneNames := sets.String{}
    	for i, forZone := range endpointHints.ForZones {
    		zonePath := fzPath.Index(i).Child("name")
    		if zoneNames.Has(forZone.Name) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 08:49:15 UTC 2021
    - 7.8K bytes
    - Viewed (0)
  3. pkg/apis/discovery/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta1.ForZone)(nil), (*discovery.ForZone)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_ForZone_To_discovery_ForZone(a.(*v1beta1.ForZone), b.(*discovery.ForZone), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*discovery.ForZone)(nil), (*v1beta1.ForZone)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 15.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.29.0/discovery.k8s.io.v1.EndpointSlice.json

          },
          "deprecatedTopology": {
            "deprecatedTopologyKey": "deprecatedTopologyValue"
          },
          "nodeName": "nodeNameValue",
          "zone": "zoneValue",
          "hints": {
            "forZones": [
              {
                "name": "nameValue"
              }
            ]
          }
        }
      ],
      "ports": [
        {
          "name": "nameValue",
          "protocol": "protocolValue",
          "port": 3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/discovery.k8s.io.v1.EndpointSlice.yaml

    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
        kind: kindValue
        name: nameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/discovery/v1/zz_generated.deepcopy.go

    func (in *ForZone) DeepCopyInto(out *ForZone) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForZone.
    func (in *ForZone) DeepCopy() *ForZone {
    	if in == nil {
    		return nil
    	}
    	out := new(ForZone)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/discovery/v1beta1/zz_generated.deepcopy.go

    func (in *ForZone) DeepCopyInto(out *ForZone) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForZone.
    func (in *ForZone) DeepCopy() *ForZone {
    	if in == nil {
    		return nil
    	}
    	out := new(ForZone)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  8. pkg/apis/discovery/zz_generated.deepcopy.go

    func (in *ForZone) DeepCopyInto(out *ForZone) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForZone.
    func (in *ForZone) DeepCopy() *ForZone {
    	if in == nil {
    		return nil
    	}
    	out := new(ForZone)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  9. pkg/apis/discovery/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.ForZone)(nil), (*discovery.ForZone)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_ForZone_To_discovery_ForZone(a.(*v1.ForZone), b.(*discovery.ForZone), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*discovery.ForZone)(nil), (*v1.ForZone)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 14.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/discovery/v1beta1/types.go

    type EndpointHints struct {
    	// forZones indicates the zone(s) this endpoint should be consumed by to
    	// enable topology aware routing. May contain a maximum of 8 entries.
    	// +listType=atomic
    	ForZones []ForZone `json:"forZones,omitempty" protobuf:"bytes,1,name=forZones"`
    }
    
    // ForZone provides information about which zones should consume this endpoint.
    type ForZone struct {
    	// name represents the name of the zone.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:26:19 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top