Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 159 of 159 for responses (0.26 sec)

  1. pkg/config/validation/validation_test.go

    							"",
    						},
    					},
    				},
    			}},
    		}, valid: false},
    		{name: "empty header name - response add", route: &networking.HTTPRoute{
    			Route: []*networking.HTTPRouteDestination{{
    				Destination: &networking.Destination{Host: "foo.baz"},
    				Headers: &networking.Headers{
    					Response: &networking.Headers_HeaderOperations{
    						Add: map[string]string{
    							"": "value",
    						},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  2. pilot/pkg/config/aggregate/config_test.go

    	g.Expect(la[0].Name).To(Equal("other"))
    
    	l := store1.List(gvk.HTTPRoute, "")
    	g.Expect(l).To(HaveLen(1))
    	g.Expect(l[0].Name).To(Equal("other"))
    
    	// Check the aggregated and individual store return identical response
    	g.Expect(la).To(BeEquivalentTo(l))
    
    	l = store2.List(gvk.HTTPRoute, "")
    	g.Expect(l).To(HaveLen(0))
    }
    
    func TestAggregateStoreWriteWithoutWriter(t *testing.T) {
    	g := NewWithT(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. istioctl/pkg/version/version.go

    			if err != nil {
    				fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err)
    			}
    		}
    	})
    	return versionCmd
    }
    
    // xdsRemoteVersionWrapper uses outXDS to share the XDS response with xdsProxyVersionWrapper.
    // (Screwy API on istioVersion.CobraCommandWithOptions)
    // nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. pilot/pkg/trustbundle/trustbundle_test.go

    }
    
    func TestAddMeshConfigUpdate(t *testing.T) {
    	caCertPool, err := x509.SystemCertPool()
    	if err != nil {
    		t.Fatalf("failed to get SystemCertPool: %v", err)
    	}
    	stop := test.NewStop(t)
    
    	// Mock response from TLS Spiffe Server
    	validHandler := http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		w.WriteHeader(http.StatusOK)
    		_, _ = w.Write([]byte(validSpiffeX509Bundle))
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. pilot/pkg/xds/eds_sh_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run("from "+tt.network, func(t *testing.T) {
    			verifySplitHorizonResponse(t, s, tt.network, tt.sidecarID, tt.want)
    		})
    	}
    }
    
    // Tests whether an EDS response from the provided network matches the expected results
    func verifySplitHorizonResponse(t *testing.T, s *xds.FakeDiscoveryServer, network string, sidecarID string, expected expectedResults) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. operator/cmd/mesh/uninstall.go

    	proxyinfo "istio.io/istio/pkg/proxy"
    )
    
    type uninstallArgs struct {
    	// skipConfirmation determines whether the user is prompted for confirmation.
    	// If set to true, the user is not prompted and a Yes response is assumed in all cases.
    	skipConfirmation bool
    	// force proceeds even if there are validation errors
    	force bool
    	// purge results in deletion of all Istio resources.
    	purge bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. pilot/pkg/xds/sds_test.go

    			proxy:     &model.Proxy{VerifiedIdentity: &spiffe.Identity{Namespace: "istio-system"}, Type: model.Router},
    			resources: []string{"kubernetes://generic"},
    			request:   &model.PushRequest{Full: true},
    			// Should get a response, but it will be empty
    			expect: map[string]Expected{},
    			accessReviewResponse: func(action k8stesting.Action) (bool, runtime.Object, error) {
    				return true, nil, errors.New("not authorized")
    			},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. pilot/pkg/networking/grpcgen/grpcgen_test.go

    	// Test the xdsresolver - query LDS and RDS for a specific service, wait for the update.
    	// Should be very fast (~20ms) and validate bootstrap and basic XDS connection.
    	// Unfortunately we have no way to look at the response except using the logs from XDS.
    	// This does not attempt to resolve CDS or EDS.
    	t.Run("gRPC-resolve", func(t *testing.T) {
    		rb := xdsresolver
    		stateCh := make(chan resolver.State, 1)
    		errorCh := make(chan error, 1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/tag.go

    )
    
    const (
    
    	// help strings and long formatted user outputs
    	skipConfirmationFlagHelpStr = `The skipConfirmation determines whether the user is prompted for confirmation.
    If set to true, the user is not prompted and a Yes response is assumed in all cases.`
    	overrideHelpStr = `If true, allow revision tags to be overwritten, otherwise reject revision tag updates that
    overwrite existing revision tags.`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top