Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for MatchAny (0.36 sec)

  1. pilot/pkg/security/authz/model/generator.go

    		switch {
    		case value == "*":
    			matchIss = matchAny
    			matchSub = matchAny
    		case strings.HasPrefix(value, "*"):
    			if found {
    				if iss == "*" {
    					matchIss = matchAny
    				} else {
    					matchIss = matcher.StringMatcherSuffix(strings.TrimPrefix(iss, "*"), false)
    				}
    				matchSub = matcher.StringMatcherExact(sub, false)
    			} else {
    				matchIss = matchAny
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    	// audienceMatchPolicy defines how the "audiences" field is used to match the "aud" claim in the presented JWT.
    	// Allowed values are:
    	// 1. "MatchAny" when multiple audiences are specified and
    	// 2. empty (or unset) or "MatchAny" when a single audience is specified.
    	//
    	// - MatchAny: the "aud" claim in the presented JWT must match at least one of the entries in the "audiences" field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// audienceMatchPolicy defines how the "audiences" field is used to match the "aud" claim in the presented JWT.
    	// Allowed values are:
    	// 1. "MatchAny" when multiple audiences are specified and
    	// 2. empty (or unset) or "MatchAny" when a single audience is specified.
    	//
    	// - MatchAny: the "aud" claim in the presented JWT must match at least one of the entries in the "audiences" field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. src/encoding/asn1/asn1.go

    // a number of ASN.1 values from the given byte slice and returns them as a
    // slice of Go values of the given type.
    func parseSequenceOf(bytes []byte, sliceType reflect.Type, elemType reflect.Type) (ret reflect.Value, err error) {
    	matchAny, expectedTag, compoundType, ok := getUniversalType(elemType)
    	if !ok {
    		err = StructuralError{"unknown Go type for slice"}
    		return
    	}
    
    	// First we iterate over the input and count the number of elements,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  5. src/encoding/asn1/marshal.go

    		t.tag = bytesEncoder(appendTagAndLength(t.scratch[:0], tagAndLength{rv.Class, rv.Tag, len(rv.Bytes), rv.IsCompound}))
    		t.body = bytesEncoder(rv.Bytes)
    
    		return t, nil
    	}
    
    	matchAny, tag, isCompound, ok := getUniversalType(v.Type())
    	if !ok || matchAny {
    		return nil, StructuralError{fmt.Sprintf("unknown Go type: %v", v.Type())}
    	}
    
    	if params.timeType != 0 && tag != TagUTCTime {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		},
    		{
    			name: "valid audience",
    			in:   []string{"audience"},
    			want: "",
    		},
    		{
    			name:        "valid audience with MatchAny policy",
    			in:          []string{"audience"},
    			matchPolicy: "MatchAny",
    			want:        "",
    		},
    		{
    			name:        "duplicate audience",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go

    type AudienceMatchPolicyType string
    
    // Valid types for AudienceMatchPolicyType
    const (
    	AudienceMatchPolicyMatchAny AudienceMatchPolicyType = "MatchAny"
    )
    
    // ClaimValidationRule provides the configuration for a single claim validation rule.
    type ClaimValidationRule struct {
    	Claim         string
    	RequiredValue string
    
    	Expression string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    	}
    	if len(audiences) == 1 && (len(audienceMatchPolicy) > 0 && audienceMatchPolicy != api.AudienceMatchPolicyMatchAny) {
    		allErrs = append(allErrs, field.Invalid(audienceMatchPolicyFldPath, audienceMatchPolicy, "audienceMatchPolicy must be empty or MatchAny for single audience"))
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    					Issuer: apiserver.Issuer{
    						URL:                 "https://auth.example.com",
    						Audiences:           []string{"random-client", "my-client"},
    						AudienceMatchPolicy: "MatchAny",
    					},
    					ClaimMappings: apiserver.ClaimMappings{
    						Username: apiserver.PrefixedClaimOrExpression{
    							Claim:  "username",
    							Prefix: pointer.String(""),
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/minio-dashboard.json

            },
            "enable": true,
            "hide": true,
            "iconColor": "rgba(0, 211, 255, 1)",
            "name": "Annotations & Alerts",
            "target": {
              "limit": 100,
              "matchAny": false,
              "tags": [],
              "type": "dashboard"
            },
            "type": "dashboard"
          }
        ]
      },
      "__inputs": [
        {
          "name": "DS_PROMETHEUS",
          "label": "Prometheus",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
Back to top