Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,347 for TestAs (0.15 sec)

  1. tests/testdata/config/rule-redirect-injection.yaml

    metadata:
      name: redirect
      namespace: testns
    spec:
       hosts:
       - redirect.test.istio.io
       ports:
       - number: 8080
         name: http
         protocol: HTTP
       resolution: STATIC
       endpoints:
        - address: 127.0.0.2
          ports:
            http: 8080
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: redirect
      namespace: testns
    spec:
      hosts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 19 04:56:49 UTC 2019
    - 636 bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_mounter_test.go

    	fakecsi "k8s.io/kubernetes/pkg/volume/csi/fake"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    var (
    	testDriver  = "test-driver"
    	testVol     = "vol-123"
    	testns      = "test-ns"
    	testPod     = "test-pod"
    	testPodUID  = types.UID("test-pod")
    	testAccount = "test-service-account"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  3. tests/testdata/config/ingress.yaml

          privateKey: /etc/certs/privatekey.pem
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: ingress
      namespace: testns
    spec:
      # K8S Ingress rules are converted on the fly to a VirtualService.
      # The local tests may run without k8s - so for ingress we test with the
      # equivalent rule.
      hosts:
      - "*"
      gateways:
      - istio-ingress
      http:
      - match:
        - uri:
            prefix: /foo
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 19 04:56:49 UTC 2019
    - 949 bytes
    - Viewed (0)
  4. pilot/pkg/model/service_test.go

    		},
    		{
    			first: &Service{
    				Attributes: ServiceAttributes{
    					Name:      "test",
    					Namespace: "testns",
    					Labels: map[string]string{
    						"label-1": "value-1",
    					},
    				},
    			},
    			other: &Service{
    				Attributes: ServiceAttributes{
    					Name:      "test",
    					Namespace: "testns",
    					Labels: map[string]string{
    						"label-1": "value-1",
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. tests/testdata/config/destination-rule-passthrough.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: drpassthrough
      namespace: testns
    spec:
      host: "*.foo.com"
      trafficPolicy:
        loadBalancer:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 19 04:56:49 UTC 2019
    - 202 bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/network_test.go

    	pod1 := generatePod("127.0.0.1", "pod1", testNS, "sa1", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod1)
    	fx.WaitOrFail(t, "xds")
    
    	pod2 := generatePod("127.0.0.2", "pod2", testNS, "sa2", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod2)
    	fx.WaitOrFail(t, "xds")
    
    	sc.CreateOrUpdate(generateService("svc1", testNS, map[string]string{}, // labels
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/util/testing/fake.go

    		return fmt.Errorf("failed to add destination for service %v, service not found", key.String())
    	}
    	dests := f.Destinations[key]
    	if dests == nil {
    		dests = make([]*utilipvs.RealServer, 0)
    		f.Destinations[key] = dests
    	}
    	f.Destinations[key] = append(f.Destinations[key], dest)
    	// The tests assumes that the slice is sorted
    	sort.Sort(byAddress(f.Destinations[key]))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. tests/integration/security/ca_custom_root/multi_root_test.go

    	"istio.io/istio/pkg/test/framework/components/echo/match"
    )
    
    func TestMultiRootSetup(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			testNS := apps.EchoNamespace.Namespace
    
    			t.ConfigIstio().YAML(testNS.Name(), POLICY).ApplyOrFail(t)
    
    			for _, cluster := range t.Clusters() {
    				t.NewSubTest(fmt.Sprintf("From %s", cluster.StableName())).Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. pilot/pkg/model/envoyfilter_test.go

    					},
    					ApplyTo: networking.EnvoyFilter_HTTP_ROUTE,
    				},
    			},
    		},
    	})
    	if cfilter.Name != "test" && cfilter.Namespace != "testns" {
    		t.Errorf("expected name %s got %s and namespace %s got %s", "test", cfilter.Name, "testns", cfilter.Namespace)
    	}
    	if patches := cfilter.Patches[networking.EnvoyFilter_INVALID]; len(patches) != 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 27 04:20:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/testing/fstest/63675.md

    [TestFS] now returns a structured error that can be unwrapped
    (via method `Unwrap() []error`). This allows inspecting errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 159 bytes
    - Viewed (0)
Back to top