Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 136 for app3 (0.05 sec)

  1. pkg/controller/podautoscaler/replica_calculator_test.go

    			name:          "qps",
    			levels:        []int64{20000},
    			targetUsage:   15000,
    			expectedUsage: 20000,
    			singleObject: &autoscalingv2.CrossVersionObjectReference{
    				Kind:       "Deployment",
    				APIVersion: "apps/v1",
    				Name:       "some-deployment",
    			},
    		},
    	}
    	tc.runTest(t)
    }
    
    func TestReplicaCalcScaleUpCMPerPodObject(t *testing.T) {
    	tc := replicaCalcTestCase{
    		currentReplicas:  3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    			arg:      "all",
    			expected: "pods,replicationcontrollers,services,statefulsets.apps,horizontalpodautoscalers.autoscaling,jobs.batch,cronjobs.batch,daemonsets.extensions,deployments.extensions,replicasets.extensions",
    		},
    		{
    			name:     "alias-in-comma-separated-arg",
    			arg:      "all,secrets",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  3. pilot/pkg/model/telemetry_logging_test.go

    		})
    	}
    }
    
    func TestAccessLoggingCache(t *testing.T) {
    	sidecar := &Proxy{ConfigNamespace: "default", Metadata: &NodeMetadata{Labels: map[string]string{"app": "test"}}}
    	otherNamespace := &Proxy{ConfigNamespace: "common", Metadata: &NodeMetadata{Labels: map[string]string{"app": "test"}}}
    	cfgs := &tpb.Telemetry{
    		AccessLogging: []*tpb.AccessLogging{
    			{
    				Providers: []*tpb.ProviderRef{
    					{
    						Name: "envoy-json",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, Path
    
        app = FastAPI()
    
    
        @app.get("/items/{item_id}")
        async def read_items(
            item_id: Annotated[int, Path(title="The ID of the item to get")],
        ):
            return {"item_id": item_id}
        ```
        """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/sidecar_simulation_test.go

    spec:
      selector:
        matchLabels:
          app: foo
      mtls:
        mode: STRICT
      portLevelMtls:
        9080:
          mode: %s
    ---
    `, m)
    	}
    	sidecarSimple := func(protocol string) string {
    		return fmt.Sprintf(`
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      labels:
        app: foo
      name: sidecar
      namespace: default
    spec:
      ingress:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. tests/test_application.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceregistry_test.go

    	istiotest.SetForTest(t, &features.WorkloadEntryHealthChecks, true)
    	port := &networking.ServicePort{
    		Name:     "http",
    		Number:   80,
    		Protocol: "http",
    	}
    	labels := map[string]string{
    		"app": "foo",
    	}
    	namespace := "namespace"
    	serviceEntry := config.Config{
    		Meta: config.Meta{
    			Name:             "service-entry",
    			Namespace:        namespace,
    			GroupVersionKind: gvk.ServiceEntry,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    				if !reflect.DeepEqual(err, testCase.expectedError) {
    					t.Fatalf("The actual error %v is different from the expected one %v", err, testCase.expectedError)
    				}
    			}
    
    			// Allocates memory for apps containers
    			for i := range testCase.podAllocate.Spec.Containers {
    				err := mgr.Allocate(testCase.podAllocate, &testCase.podAllocate.Spec.Containers[i])
    				if !reflect.DeepEqual(err, testCase.expectedError) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  9. api/discovery/aggregated_v2.json

                    "watch"
                  ]
                }
              ],
              "version": "v1"
            }
          ]
        },
        {
          "metadata": {
            "creationTimestamp": null,
            "name": "apps"
          },
          "versions": [
            {
              "freshness": "Current",
              "resources": [
                {
                  "resource": "controllerrevisions",
                  "responseKind": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:29:14 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. api/discovery/aggregated_v2beta1.json

                    "watch"
                  ]
                }
              ],
              "version": "v1"
            }
          ]
        },
        {
          "metadata": {
            "creationTimestamp": null,
            "name": "apps"
          },
          "versions": [
            {
              "freshness": "Current",
              "resources": [
                {
                  "resource": "controllerrevisions",
                  "responseKind": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top