Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for addressType (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pilot/pkg/bootstrap/discovery.go

    	generators[v3.NameTableType] = &xds.NdsGenerator{ConfigGenerator: cg}
    	generators[v3.ProxyConfigType] = &xds.PcdsGenerator{TrustBundle: env.TrustBundle}
    
    	workloadGen := &xds.WorkloadGenerator{Server: s}
    	generators[v3.AddressType] = workloadGen
    	generators[v3.WorkloadType] = workloadGen
    	generators[v3.WorkloadAuthorizationType] = &xds.WorkloadRBACGenerator{Server: s}
    
    	generators["grpc"] = &grpcgen.GrpcConfigGenerator{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. pkg/controlplane/reconcilers/helpers_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Namespace: metav1.NamespaceDefault,
    			Name:      name,
    			Labels: map[string]string{
    				discoveryv1.LabelServiceName: name,
    			},
    		},
    		AddressType: discoveryv1.AddressTypeIPv4,
    		Endpoints:   make([]discoveryv1.Endpoint, len(ips)),
    		Ports:       make([]discoveryv1.EndpointPort, len(ports)),
    	}
    	ready := true
    	for i := range ips {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 4K bytes
    - Viewed (0)
  8. tests/integration/pilot/gateway_conformance_test.go

    					Insert(features.HTTPRouteExtendedFeatures.UnsortedList()...).
    					Insert(features.MeshCoreFeatures.UnsortedList()...).
    					Insert(features.GRPCRouteCoreFeatures.UnsortedList()...)
    			}
    			hostnameType := v1.AddressType("Hostname")
    			istioVersion, _ := env.ReadVersion()
    			opts := suite.ConformanceOptions{
    				Client:                   c,
    				Clientset:                gatewayConformanceInputs.Client.Kube(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 15:22:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. tests/integration/ambient/gateway_conformance_test.go

    			c, err := client.New(gatewayConformanceInputs.Client.RESTConfig(), client.Options{
    				Scheme: kube.IstioScheme,
    				Mapper: mapper,
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			hostnameType := v1.AddressType("Hostname")
    			istioVersion, _ := env.ReadVersion()
    			supported := gateway.SupportedFeatures.Clone().Delete(gwfeatures.SupportMeshConsumerRoute)
    			opts := suite.ConformanceOptions{
    				Client:                   c,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. pilot/pkg/xds/workload.go

    				resources = append(resources, &discovery.Resource{
    					Name:     n,
    					Aliases:  aliases,
    					Resource: protoconv.MessageToAny(addr.GetWorkload()), // TODO: pre-marshal
    				})
    			}
    		case v3.AddressType:
    			resources = append(resources, &discovery.Resource{
    				Name:     n,
    				Aliases:  aliases,
    				Resource: protoconv.MessageToAny(addr), // TODO: pre-marshal
    			})
    		}
    	}
    
    	if full {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top