Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 964 for casePC (0.12 sec)

  1. tests/integration/telemetry/policy/helper_test.go

    	//       namespace
    
    	// Test cases:
    	// 1. http case:
    	//    client -------> Hits listener 0.0.0.0_80 cluster
    	//    Metric is istio_requests_total i.e. HTTP
    	//
    	// 2. https case:
    	//    client ----> Hits no listener -> 0.0.0.0_150001 -> ALLOW_ANY/REGISTRY_ONLY
    	//    Metric is istio_tcp_connections_closed_total i.e. TCP
    	//
    	// 3. https conflict case:
    	//    client ----> Hits listener 0.0.0.0_9443
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_internal_test.go

    				},
    			},
    		},
    	}
    
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			mp := MirrorPercent(tt.route)
    			if !reflect.DeepEqual(mp, tt.want) {
    				t.Errorf("Unexpected mirror percent want %v, got %v", tt.want, mp)
    			}
    		})
    	}
    }
    
    func TestMirrorPercentByPolicy(t *testing.T) {
    	cases := []struct {
    		name   string
    		policy *networking.HTTPMirrorPolicy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. 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)
  4. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    Those parameters are what **FastAPI** will use to "solve" the dependency.
    
    In both cases, it will have:
    
    * An optional `q` query parameter that is a `str`.
    * A `skip` query parameter that is an `int`, with a default of `0`.
    * A `limit` query parameter that is an `int`, with a default of `100`.
    
    In both cases the data will be converted, validated, documented on the OpenAPI schema, etc.
    
    ## Use it
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. pkg/kubelet/userns/userns_manager_test.go

    	}
    }
    
    func TestMakeUserNsManager(t *testing.T) {
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.UserNamespacesSupport, true)
    
    	cases := []struct {
    		name           string
    		mappingFirstID uint32
    		mappingLen     uint32
    		maxPods        int
    		success        bool
    	}{
    		{
    			name:    "default",
    			success: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. pilot/pkg/credentials/kube/secrets_test.go

    	mc.Add("local", localClient, stop)
    	mc.Add("remote", remoteClient, stop)
    	mc.Add("remote2", remoteClient, stop)
    	cases := []struct {
    		cluster cluster2.ID
    		allowed bool
    	}{
    		{"local", true},
    		{"remote", true},
    		{"remote2", true},
    		{"invalid", false},
    	}
    	for _, tt := range cases {
    		t.Run(string(tt.cluster), func(t *testing.T) {
    			_, err := sc.ForCluster(tt.cluster)
    			if (err == nil) != tt.allowed {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. pilot/pkg/model/jwks_resolver_test.go

    	// Keep getting the public key to change the lastUsedTime of the public key.
    	done := make(chan struct{})
    	go func() {
    		c := time.NewTicker(10 * time.Millisecond)
    		for {
    			select {
    			case <-done:
    				c.Stop()
    				return
    			case <-c.C:
    				_, _ = r.GetPublicKey(mockCertURL, "", testRequestTimeout)
    			}
    		}
    	}()
    	defer func() {
    		done <- struct{}{}
    	}()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    			} else {
    				// larger simple values encode to two bytes
    				each.in = []byte{byte(0xe0) | byte(24), byte(i)}
    			}
    			switch i {
    			case 20, 21, 22, 23: // recognized values with explicit cases
    				continue
    			case 24, 25, 26, 27, 28, 29, 30, 31: // reserved
    				// these are considered not well-formed
    				each.assertOnError = assertOnConcreteError(func(t *testing.T, e *cbor.SyntaxError) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/memcombine.go

    	case 4:
    		return b.NewValue2(pos, OpRsh32Ux64, v.Type, v, s)
    	case 2:
    		return b.NewValue2(pos, OpRsh16Ux64, v.Type, v, s)
    	default:
    		base.Fatalf("bad size %d\n", size)
    		return nil
    	}
    }
    func byteSwap(b *Block, pos src.XPos, v *Value) *Value {
    	switch v.Type.Size() {
    	case 8:
    		return b.NewValue1(pos, OpBswap64, v.Type, v)
    	case 4:
    		return b.NewValue1(pos, OpBswap32, v.Type, v)
    	case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. internal/config/identity/ldap/ldap.go

    // input DN, as LDAP equality is not a simple Golang string equality. However,
    // we assume the value returned by the LDAP server is canonical. Additionally,
    // the attribute type names in the DN are lower-cased.
    //
    // Return values:
    //
    // If the DN is found, the normalized (string) value and any requested
    // attributes are returned and error is nil.
    //
    // If the DN is not found, a nil result and error are returned.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 25 13:43:06 UTC 2024
    - 10.3K bytes
    - Viewed (1)
Back to top