Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for IPAddressType (0.23 sec)

  1. pilot/pkg/serviceregistry/kube/controller/network_test.go

    // and it does so on an IP and a hostname
    func addOrUpdateGatewayResource(t *testing.T, c *FakeController, customPort int) {
    	passthroughMode := k8sv1.TLSModePassthrough
    	ipType := v1beta1.IPAddressType
    	hostnameType := v1beta1.HostnameAddressType
    	clienttest.Wrap(t, kclient.New[*v1beta1.Gateway](c.client)).CreateOrUpdate(&v1beta1.Gateway{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "eastwest-gwapi",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/network.go

    		Cluster: n.clusterID,
    	}
    	newGateways := model.NetworkGatewaySet{}
    	for _, addr := range gw.Spec.Addresses {
    		if addr.Type == nil {
    			continue
    		}
    		if addrType := *addr.Type; addrType != v1beta1.IPAddressType && addrType != v1beta1.HostnameAddressType {
    			continue
    		}
    		for _, l := range slices.Filter(gw.Spec.Listeners, autoPassthrough) {
    			networkGateway := base
    			networkGateway.Addr = addr.Value
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    				},
    				Spec: k8s.GatewaySpec{
    					GatewayClassName: k8s.ObjectName(features.GatewayAPIDefaultGatewayClass),
    					Addresses: []k8s.GatewayAddress{{
    						Type:  func() *k8s.AddressType { x := k8s.IPAddressType; return &x }(),
    						Value: "1.2.3.4",
    					}},
    				},
    			},
    			objects:                  defaultObjects,
    			discoveryNamespaceFilter: discoveryNamespacesFilter,
    		},
    		{
    			name: "cluster-ip",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/conversion.go

    				wantAddressType = k8s.AddressType(override)
    			}
    			// There are no external addresses, so report the internal ones
    			// TODO: should we always report both?
    			if wantAddressType == k8s.IPAddressType {
    				addressesToReport = internalIP
    			} else {
    				for _, hostport := range internal {
    					svchost, _, _ := net.SplitHostPort(hostport)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    			description:        "The default Istio waypoint GatewayClass",
    			templates:          "waypoint",
    			disableNameSuffix:  true,
    			defaultServiceType: corev1.ServiceTypeClusterIP,
    			addressType:        gateway.IPAddressType,
    		}
    	}
    	return m
    }
    
    // NewDeploymentController constructs a DeploymentController and registers required informers.
    // The controller will not start until Run() is called.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/conversion_test.go

    							t := k8s.HostnameAddressType
    							return &t
    						}(),
    						Value: "example.com",
    					},
    					{
    						Type: func() *k8s.AddressType {
    							t := k8s.IPAddressType
    							return &t
    						}(),
    						Value: "1.2.3.4",
    					},
    				},
    			},
    			obj: config.Config{
    				Meta: config.Meta{
    					Name:      "foo",
    					Namespace: "default",
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	} else {
    		labels[constants.AmbientWaypointForTrafficTypeLabel] = constants.ServiceTraffic
    	}
    	gateway.Labels = labels
    
    	if ready {
    		addrType := k8sbeta.IPAddressType
    		gateway.Status = k8sbeta.GatewayStatus{
    			// addresses:
    			// - type: IPAddress
    			//   value: 10.96.59.188
    			Addresses: []k8sv1.GatewayStatusAddress{
    				{
    					Type:  &addrType,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top