Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for MatchAny (0.3 sec)

  1. test/fixedbugs/issue4847.go

    	E int
    	S int
    )
    
    type matcher func(s *S) E
    
    func matchList(s *S) E { return matcher(matchAnyFn)(s) }
    
    var foo = matcher(matchList)
    
    var matchAny = matcher(matchList) // ERROR "initialization cycle|depends upon itself"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 519 bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/init1.go

          E int
          S int
    )
    
    type matcher func(s *S) E
    
    func matchList(s *S) E { return matcher(matchAnyFn)(s) }
    
    var foo = matcher(matchList)
    
    var matchAny /* ERROR "initialization cycle" */ = matcher(matchList)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/encoding/asn1/common.go

    			ret.omitEmpty = true
    		}
    	}
    	return
    }
    
    // Given a reflected Go type, getUniversalType returns the default tag number
    // and expected compound flag.
    func getUniversalType(t reflect.Type) (matchAny bool, tagNumber int, isCompound, ok bool) {
    	switch t {
    	case rawValueType:
    		return true, -1, false, true
    	case objectIdentifierType:
    		return false, TagOID, false, true
    	case bitStringType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top