Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for CelType (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go

    // TypeProvider instead.
    func (p *TypeProvider) FindStructType(structType string) (*types.Type, bool) {
    	t, ok := p.typeResolver.Resolve(structType)
    	if ok {
    		return t.CELType(), true
    	}
    	return p.underlyingTypeProvider.FindStructType(structType)
    }
    
    // FindStructFieldNames returns the field names associated with the type, if the type
    // is found.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 21:02:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go

    		environment.VersionedOptions{
    			IntroducedVersion: version.MajorMinor(1, 28),
    			EnvOptions: []cel.EnvOption{
    				cel.Variable("variables", variablesType.CelType()),
    			},
    			DeclTypes: []*apiservercel.DeclType{
    				variablesType,
    			},
    		})
    	if err != nil {
    		return nil, nil, err
    	}
    	// TODO: change to NewExpressions after 1.28
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile.go

    			// first version that supported this feature
    			IntroducedVersion: version.MajorMinor(1, 0),
    			EnvOptions: []cel.EnvOption{
    				cel.Variable(subjectAccessReviewRequestVarName, subjectAccessReviewSpecRequestType.CelType()),
    			},
    			DeclTypes: []*apiservercel.DeclType{
    				subjectAccessReviewSpecRequestType,
    			},
    		},
    	)
    	if err != nil {
    		panic(fmt.Sprintf("environment misconfigured: %v", err))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 20:56:52 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top