Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for QueryParams (0.16 sec)

  1. pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml

        - name: svc2
          port: 80
      - matches:
        - path:
            type: Exact
            value: /baz
          headers:
          - name: my-header
            value: some-value
            type: Exact
          queryParams:
          - name: my-param
            value: some-value
            type: RegularExpression
        backendRefs:
        - name: svc2
          port: 80
      - matches:
        - path:
            type: PathPrefix
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. pkg/config/analysis/analyzers/util/find_errorline_utils.go

    	// Required parameters: http index, match index, where to match.
    	URISchemeMethodAuthorityRegexMatch = "{.spec.http[%d].match[%d].%s.regex}"
    
    	// Path for regex match of headers and queryParams.
    	// Required parameters: http index, match index, where to match, match key.
    	HeaderAndQueryParamsRegexMatch = "{.spec.http[%d].match[%d].%s.%s.regex}"
    
    	// Path for regex match of allowOrigins.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 15:18:05 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package queryparams
    
    import (
    	"fmt"
    	"net/url"
    	"reflect"
    	"strings"
    )
    
    // Marshaler converts an object to a query parameter string representation
    type Marshaler interface {
    	MarshalQueryParameter() (string, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 4.9K 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)
  7. pilot/pkg/model/virtualservice_test.go

    							},
    						},
    						{
    							Headers: map[string]*networking.StringMatch{
    								"version": {
    									MatchType: &networking.StringMatch_Exact{Exact: "v2"},
    								},
    							},
    							QueryParams: map[string]*networking.StringMatch{
    								"version": {
    									MatchType: &networking.StringMatch_Exact{Exact: "v2"},
    								},
    							},
    						},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  8. pkg/config/validation/virtualservice.go

    			errs = appendErrors(errs, validateStringMatch(match.GetAuthority(), "authority"))
    			for _, qp := range match.GetQueryParams() {
    				errs = appendErrors(errs, validateStringMatch(qp, "queryParams"))
    			}
    		}
    	}
    
    	for _, match := range http.Match {
    		if match != nil {
    			if match.Port != 0 {
    				errs = appendErrors(errs, agent.ValidatePort(int(match.Port)))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/conversion.go

    			// 3: number of header matches
    		case len(m1.Headers) != len(m2.Headers):
    			return len(m1.Headers) > len(m2.Headers)
    			// 4: number of query matches
    		default:
    			return len(m1.QueryParams) > len(m2.QueryParams)
    		}
    	})
    }
    
    // getURIRank ranks a URI match type. Exact > Prefix > Regex
    func getURIRank(match *istio.HTTPMatchRequest) int {
    	if match.Uri == nil {
    		return -1
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route_test.go

    		Hosts:    []string{},
    		Gateways: []string{"some-gateway"},
    		Http: []*networking.HTTPRoute{
    			{
    				Match: []*networking.HTTPMatchRequest{
    					{
    						Name: "auth",
    						QueryParams: map[string]*networking.StringMatch{
    							"token": {
    								MatchType: &networking.StringMatch_Exact{
    									Exact: "foo",
    								},
    							},
    						},
    					},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top