Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WithTypeProvider (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/types.go

    	if rt == nil {
    		return []cel.EnvOption{}, nil
    	}
    	rtWithTypes, err := rt.WithTypeProvider(tp)
    	if err != nil {
    		return nil, err
    	}
    	return []cel.EnvOption{
    		cel.CustomTypeProvider(rtWithTypes),
    		cel.CustomTypeAdapter(rtWithTypes),
    	}, nil
    }
    
    // WithTypeProvider returns a new DeclTypeProvider that sets the given TypeProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top