Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCELOptional (0.19 sec)

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

    	"github.com/google/cel-go/common/types/ref"
    
    	"k8s.io/apiserver/pkg/cel/mutation/common"
    )
    
    // TestCELOptional is an exploration test to demonstrate how CEL optional library
    // behave for the use cases that the mutation library requires.
    func TestCELOptional(t *testing.T) {
    	for _, tc := range []struct {
    		name                 string
    		expression           string
    		expectedVal          ref.Val
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 21:52:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top