Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for UInt32 (0.22 sec)

  1. pilot/pkg/networking/core/cluster_test.go

    			g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(40)))
    		} else if locality.Region == "region1" && locality.SubZone == "subzone2" {
    			g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(17)))
    			g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(20)))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pilot/pkg/model/gateway.go

    	gatewayPorts := sets.New[uint32]()
    	nonPlainTextGatewayPortsBindMap := map[uint32]sets.String{}
    	mergedServers := make(map[ServerPort]*MergedServers)
    	mergedQUICServers := make(map[ServerPort]*MergedServers)
    	serverPorts := make([]ServerPort, 0)
    	plainTextServers := make(map[uint32]ServerPort)
    	serversByRouteName := make(map[string][]*networking.Server)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    type sandboxTemplate struct {
    	pod         *v1.Pod
    	attempt     uint32
    	createdAt   int64
    	state       runtimeapi.PodSandboxState
    	running     bool
    	terminating bool
    }
    
    // containerTemplate is a container template to create fake container.
    type containerTemplate struct {
    	pod            *v1.Pod
    	container      *v1.Container
    	sandboxAttempt uint32
    	attempt        int
    	createdAt      int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_inbound.go

    	}
    	return ingressPortListSet
    }
    
    func (lb *ListenerBuilder) getFilterChainsByServicePort(enableSidecarServiceInboundListenerMerge bool) map[uint32]inboundChainConfig {
    	chainsByPort := make(map[uint32]inboundChainConfig)
    	ingressPortListSet := sets.New[int]()
    	sidecarScope := lb.node.SidecarScope
    	if sidecarScope.HasIngressListener() {
    		ingressPortListSet = getSidecarIngressPortList(lb.node)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listenertest/match.go

    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type ListenersTest struct {
    	// Match listener by name
    	Name string
    	// Match listener by port
    	Port uint32
    
    	// Listener assertions
    	Listener ListenerTest
    }
    
    // ListenerTest provides a struct for defining expectations for a listener
    type ListenerTest struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    	objectEncryptionKey, err := decryptObjectMeta(key, bucket, object, metadata)
    	if err != nil {
    		return nil, err
    	}
    	return newDecryptReaderWithObjectKey(client, objectEncryptionKey, seqNumber)
    }
    
    func newDecryptReaderWithObjectKey(client io.Reader, objectEncryptionKey []byte, seqNumber uint32) (io.Reader, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder.go

    	case cluster.Cluster_ORIGINAL_DST:
    		if features.PassthroughTargetPort {
    			if override, f := service.Attributes.PassthroughTargetPorts[uint32(port.Port)]; f {
    				c.LbConfig = &cluster.Cluster_OriginalDstLbConfig_{
    					OriginalDstLbConfig: &cluster.Cluster_OriginalDstLbConfig{
    						UpstreamPortOverride: wrappers.UInt32(override),
    					},
    				}
    			}
    		}
    	}
    
    	ec := newClusterWrapper(c)
    	cb.setUpstreamProtocol(ec, port)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/util/util.go

    	}
    	return &core.CidrRange{
    		AddressPrefix: prefix.Addr().String(),
    		PrefixLen: &wrapperspb.UInt32Value{
    			Value: uint32(prefix.Bits()),
    		},
    	}, nil
    }
    
    // BuildAddress returns a SocketAddress with the given ip and port or uds.
    func BuildAddress(bind string, port uint32) *core.Address {
    	address := BuildNetworkAddress(bind, port, istionetworking.TransportProtocolTCP)
    	if address != nil {
    		return address
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/conversion.go

    	res := make([]*istio.HTTPRoute, 0, len(routes))
    	for _, r := range routes {
    		r = r.DeepCopy()
    		for _, m := range r.Match {
    			m.Port = uint32(port)
    		}
    		if len(r.Match) == 0 {
    			r.Match = []*istio.HTTPMatchRequest{{
    				Port: uint32(port),
    			}}
    		}
    		res = append(res, r)
    	}
    	return res
    }
    
    func augmentTCPPortMatch(routes []*istio.TCPRoute, port k8s.PortNumber) []*istio.TCPRoute {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_waypoint.go

    	for _, dst := range in.Route {
    		weight := &wrappers.UInt32Value{Value: uint32(dst.Weight)}
    		if dst.Weight == 0 {
    			// Ignore 0 weighted clusters if there are other clusters in the route.
    			// But if this is the only cluster in the route, then add it as a cluster with weight 100
    			if len(in.Route) == 1 {
    				weight.Value = uint32(100)
    			} else {
    				continue
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top