Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OptionalTypes (0.12 sec)

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

    // it fatally fails the test if the env fails to set up.
    func mustCreateEnvWithOptional(t testing.TB, envOptions ...cel.EnvOption) *cel.Env {
    	return mustCreateEnv(t, append(envOptions, cel.OptionalTypes())...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/environment/base.go

    		EnvOptions: []cel.EnvOption{
    			library.Authz(),
    		},
    	},
    	{
    		IntroducedVersion: version.MajorMinor(1, 28),
    		EnvOptions: []cel.EnvOption{
    			cel.CrossTypeNumericComparisons(true),
    			cel.OptionalTypes(),
    			library.Quantity(),
    		},
    	},
    	// add the new validator in 1.29
    	{
    		IntroducedVersion: version.MajorMinor(1, 29),
    		EnvOptions: []cel.EnvOption{
    			cel.ASTValidators(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 15:51:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top