Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 309 for NewTest (0.22 sec)

  1. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    // are routed securely through the egress gateway and that the TLS origination happens at the gateway.
    func TestEgressGatewayTls(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			// Apply Egress Gateway for service namespace to originate external traffic
    
    			createGateway(t, t, appNS, serviceNS, inst.Settings().EgressGatewayServiceNamespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. tests/integration/telemetry/policy/helper_test.go

    	//
    	// 5. TCP conflict
    	//    client ---TCP request at port 9091 ----> Hits listener 0.0.0.0_9091 ->  ALLOW_ANY/REGISTRY_ONLY
    	//    Metric is istio_tcp_connections_closed_total i.e. TCP
    	//
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			client, to := setupEcho(t, mode)
    
    			for _, tc := range cases {
    				t.NewSubTest(tc.Name).Run(func(t framework.TestContext) {
    					client.CallOrFail(t, echo.CallOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/echotest/filters_test.go

    	}
    	if len(expected) > 0 {
    		t.Errorf("did not include %v", expected)
    	}
    }
    
    func TestRun(t *testing.T) {
    	// source svc/cluster -> dest services -> number of subtests (should == num clusters)
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		tests := map[string]struct {
    			run    func(t framework.TestContext, testTopology map[string]map[string]int)
    			expect map[string]map[string]int
    		}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tests/integration/security/reachability_test.go

    	mtlsModeOverrideParam    = "MTLSModeOverride"
    	tlsModeParam             = "TLSMode"
    	cMinIstioVersion         = "1.15.0"
    	// cMinIstioVersionDS       = "1.16.0"
    )
    
    func TestReachability(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			systemNS := istio.ClaimSystemNamespaceOrFail(t, t)
    
    			integIstioVersion := cMinIstioVersion
    			var migrationApp echo.Instances
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. tests/integration/operator/switch_cr_test.go

    	ManifestPathContainer = "/var/lib/istio/manifests"
    	iopCRFile             = ""
    )
    
    func TestController(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    			workDir, err := t.CreateTmpDirectory("operator-controller-test")
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. pkg/registry/resource/rest/storage_resource.go

    		resourceClassStorage, err := resourceclassstore.NewREST(restOptionsGetter)
    		if err != nil {
    			return nil, err
    		}
    		storage[resource] = resourceClassStorage
    	}
    
    	if resource := "resourceclaims"; apiResourceConfigSource.ResourceEnabled(resourcev1alpha2.SchemeGroupVersion.WithResource(resource)) {
    		resourceClaimStorage, resourceClaimStatusStorage, err := resourceclaimstore.NewREST(restOptionsGetter)
    		if err != nil {
    			return nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. pkg/registry/admissionregistration/rest/storage_apiserver.go

    	if resource := "validatingwebhookconfigurations"; apiResourceConfigSource.ResourceEnabled(admissionregistrationv1.SchemeGroupVersion.WithResource(resource)) {
    		validatingStorage, err := validatingwebhookconfigurationstorage.NewREST(restOptionsGetter)
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = validatingStorage
    	}
    
    	// mutatingwebhookconfigurations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. pkg/registry/core/rest/storage_core_generic.go

    	}
    
    	eventStorage, err := eventstore.NewREST(restOptionsGetter, uint64(c.EventTTL.Seconds()))
    	if err != nil {
    		return genericapiserver.APIGroupInfo{}, err
    	}
    
    	resourceQuotaStorage, resourceQuotaStatusStorage, err := resourcequotastore.NewREST(restOptionsGetter)
    	if err != nil {
    		return genericapiserver.APIGroupInfo{}, err
    	}
    	secretStorage, err := secretstore.NewREST(restOptionsGetter)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. pkg/registry/authentication/rest/storage_authentication.go

    		tokenReviewStorage := tokenreview.NewREST(p.Authenticator, p.APIAudiences)
    		storage[resource] = tokenReviewStorage
    	}
    	if resource := "selfsubjectreviews"; apiResourceConfigSource.ResourceEnabled(authenticationv1.SchemeGroupVersion.WithResource(resource)) {
    		selfSRStorage := selfsubjectreview.NewREST()
    		storage[resource] = selfSRStorage
    	}
    
    	return storage
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. pkg/registry/networking/rest/storage_settings.go

    		networkPolicyStorage, err := networkpolicystore.NewREST(restOptionsGetter)
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = networkPolicyStorage
    	}
    
    	// ingresses
    	if resource := "ingresses"; apiResourceConfigSource.ResourceEnabled(networkingapiv1.SchemeGroupVersion.WithResource(resource)) {
    		ingressStorage, ingressStatusStorage, err := ingressstore.NewREST(restOptionsGetter)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top