Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for case1 (0.04 sec)

  1. pilot/pkg/xds/delta.go

    	// Spontaneous DeltaDiscoveryRequests from the client.
    	// This can be done to dynamically add or remove elements from the tracked resource_names set.
    	// In this case response_nonce is empty.
    	spontaneousReq := request.ResponseNonce == ""
    	// It is invalid in the below two cases:
    	// 1. no subscribed resources change from spontaneous delta request.
    	// 2. subscribed resources changes from ACK.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. pilot/pkg/simulation/traffic.go

    		switch pt := r.Match.GetPathSpecifier().(type) {
    		case *route.RouteMatch_Prefix:
    			if !strings.HasPrefix(input.Path, pt.Prefix) {
    				continue
    			}
    		case *route.RouteMatch_PathSeparatedPrefix:
    			if !strings.HasPrefix(input.Path, pt.PathSeparatedPrefix) {
    				continue
    			}
    		case *route.RouteMatch_Path:
    			if input.Path != pt.Path {
    				continue
    			}
    		case *route.RouteMatch_SafeRegex:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/certcontroller.go

    					}
    				case <-s.fileWatcher.Events(tlsOptions.KeyFile):
    					if keyCertTimerC == nil {
    						keyCertTimerC = time.After(watchDebounceDelay)
    					}
    				case err := <-s.fileWatcher.Errors(tlsOptions.CertFile):
    					log.Errorf("error watching %v: %v", tlsOptions.CertFile, err)
    				case err := <-s.fileWatcher.Errors(tlsOptions.KeyFile):
    					log.Errorf("error watching %v: %v", tlsOptions.KeyFile, err)
    				case <-stop:
    					return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    		return
    	}
    
    	switch rAuthType {
    	case authTypeStreamingSigned, authTypeStreamingSignedTrailer:
    		// Initialize stream signature verifier.
    		reader, s3Error = newSignV4ChunkedReader(r, rAuthType == authTypeStreamingSignedTrailer)
    		if s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	case authTypeStreamingUnsignedTrailer:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/peer_authentication_simulation_test.go

    		r := simulation.Call{Protocol: simulation.HTTP, Port: port, CallMode: simulation.CallModeInbound, TLS: tls}
    		if tls == simulation.MTLS {
    			r.Alpn = "istio"
    		}
    		return r
    	}
    	cases := []struct {
    		name   string
    		config string
    		calls  []simulation.Expect
    	}{
    		{
    			name:   "global disable",
    			config: paDisable,
    			calls: []simulation.Expect{
    				{
    					Name:   "mtls",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. pkg/security/security.go

    	// makes its way into the ClusterID metadata of Citadel gRPC request to create the cert.
    	// Didn't find much doc - but I suspect used for 'central cluster' use cases - so should
    	// match the cluster name set in the MC setup.
    	ClusterID string
    
    	// The type of Elliptical Signature algorithm to use
    	// when generating private keys. Currently only ECDSA is supported.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_inbound.go

    		case istionetworking.ListenerProtocolHTTP:
    			chains = append(chains, &listener.FilterChain{
    				FilterChainMatch: cc.ToFilterChainMatch(opt),
    				Filters:          lb.buildInboundNetworkFiltersForHTTP(cc),
    				TransportSocket:  buildDownstreamTLSTransportSocket(opt.ToTransportSocket(mtls)),
    				Name:             cc.Name(opt.Protocol),
    			})
    		case istionetworking.ListenerProtocolTCP:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/istio_ca.go

    	for {
    		select {
    		case <-timerC:
    			timerC = nil
    			handleEvent(s)
    
    		case event, ok := <-s.cacertsWatcher.Events:
    			if !ok {
    				log.Debug("plugin cacerts watch stopped")
    				return
    			}
    			if event.Has(fsnotify.Write) || event.Has(fsnotify.Create) {
    				if timerC == nil {
    					timerC = time.After(100 * time.Millisecond)
    				}
    			}
    
    		case err := <-s.cacertsWatcher.Errors:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_builder.go

    	c := &cluster.Cluster{
    		Name:                 name,
    		ClusterDiscoveryType: &cluster.Cluster_Type{Type: discoveryType},
    		CommonLbConfig:       &cluster.Cluster_CommonLbConfig{},
    	}
    	switch discoveryType {
    	case cluster.Cluster_STRICT_DNS, cluster.Cluster_LOGICAL_DNS:
    		if networkutil.AllIPv4(cb.proxyIPAddresses) {
    			// IPv4 only
    			c.DnsLookupFamily = cluster.Cluster_V4_ONLY
    		} else if networkutil.AllIPv6(cb.proxyIPAddresses) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  10. cmd/signature-v4_test.go

    						globalMinioDefaultRegion, serviceS3), "policy"),
    				},
    				"Policy": []string{"policy"},
    			},
    			expected: ErrNone,
    		},
    	}
    
    	// Run each test case individually.
    	for i, testCase := range testCases {
    		_, code := doesPolicySignatureMatch(testCase.form)
    		if code != testCase.expected {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top