Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for QueryParams (0.18 sec)

  1. cmd/signature-v2_test.go

    		secretKey = globalActiveCred.SecretKey
    	)
    	testCases := []struct {
    		queryParams map[string]string
    		expected    APIErrorCode
    	}{
    		// (0) Should error without a set URL query.
    		{
    			expected: ErrInvalidQueryParams,
    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/duplicate-query-match.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: duplicate-query-match
    spec:
      rules:
      - matches:
        - queryParams:
          - name: foo
            value: bar
          - name: foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 223 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/basic-http.yaml

            type: PathPrefix
            value: /bar
        backendRefs:
        - name: my-service1
          port: 8080
      - matches:
        - headers:
          - type: Exact
            name: magic
            value: foo
          queryParams:
          - type: Exact
            name: great
            value: example
          path:
            type: PathPrefix
            value: /some/thing
          method: GET
        backendRefs:
        - name: my-service2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. fastapi/datastructures.py

    from starlette.datastructures import FormData as FormData  # noqa: F401
    from starlette.datastructures import Headers as Headers  # noqa: F401
    from starlette.datastructures import QueryParams as QueryParams  # noqa: F401
    from starlette.datastructures import State as State  # noqa: F401
    from starlette.datastructures import UploadFile as StarletteUploadFile
    from typing_extensions import Annotated, Doc
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (1)
  5. pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml.golden

    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-default
      hosts:
      - a.domain.example
      http:
      - match:
        - headers:
            my-header:
              exact: some-value
          queryParams:
            my-param:
              regex: some-value
          uri:
            exact: /baz
        name: allowed-2.http.1
        route:
        - destination:
            host: svc2.allowed-2.svc.domain.suffix
            port:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/benchmark-httproute.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
            value: /
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top