Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for QueryParams (0.44 sec)

  1. cmd/signature-v4_test.go

    	testCases := []struct {
    		queryParams map[string]string
    		headers     map[string]string
    		region      string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			region:   globalMinioDefaultRegion,
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. pkg/config/validation/virtualservice_test.go

    				},
    			}},
    		}, valid: true},
    		{
    			name: "prefix queryParams match", route: &networking.HTTPRoute{
    				Delegate: &networking.Delegate{
    					Name:      "test",
    					Namespace: "test",
    				},
    				Match: []*networking.HTTPMatchRequest{{
    					QueryParams: map[string]*networking.StringMatch{
    						"q": {
    							MatchType: &networking.StringMatch_Prefix{Prefix: "test"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. pilot/pkg/model/virtualservice.go

    	out.Headers = maps.MergeCopy(root.Headers, delegate.Headers)
    
    	// withoutheaders
    	out.WithoutHeaders = maps.MergeCopy(root.WithoutHeaders, delegate.WithoutHeaders)
    
    	// queryparams
    	out.QueryParams = maps.MergeCopy(root.QueryParams, delegate.QueryParams)
    
    	if out.Port == 0 {
    		out.Port = root.Port
    	}
    
    	// SourceLabels
    	out.SourceLabels = maps.MergeCopy(root.SourceLabels, delegate.SourceLabels)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/conversion_test.go

    				{
    					Match: []*istio.HTTPMatchRequest{
    						{
    							QueryParams: map[string]*istio.StringMatch{
    								"param1": {
    									MatchType: &istio.StringMatch_Exact{
    										Exact: "value1",
    									},
    								},
    							},
    						},
    					},
    				},
    				{
    					Match: []*istio.HTTPMatchRequest{
    						{
    							QueryParams: map[string]*istio.StringMatch{
    								"param1": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  5. fastapi/dependencies/utils.py

        required_params: Sequence[ModelField],
        received_params: Union[Mapping[str, Any], QueryParams, Headers],
    ) -> Tuple[Dict[str, Any], List[Any]]:
        values = {}
        errors = []
        for field in required_params:
            if is_scalar_sequence_field(field) and isinstance(
                received_params, (QueryParams, Headers)
            ):
                value = received_params.getlist(field.alias) or field.default
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    */
    
    package runtime
    
    import (
    	"bytes"
    	"encoding/base64"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net/url"
    	"reflect"
    	"strconv"
    	"strings"
    
    	"k8s.io/apimachinery/pkg/conversion/queryparams"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/klog/v2"
    )
    
    // codec binds an encoder and decoder.
    type codec struct {
    	Encoder
    	Decoder
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top