kubernetes/staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

type condition

func (c *condition) GetExpression() string {}

func (v *condition) ReturnTypes() []*celgo.Type {}

func TestCompile(t *testing.T) {}

func TestFilter(t *testing.T) {}

func TestRuntimeCELCostBudget(t *testing.T) {}

// newObjectInterfacesForTest returns an ObjectInterfaces appropriate for test cases in this file.
func newObjectInterfacesForTest() admission.ObjectInterfaces {}

func newValidAttribute(object runtime.Object, isDelete bool) admission.Attributes {}

func TestCompilationErrors(t *testing.T) {}

var denyAll

var errorAll

func newAuthzAllowMatch(match authorizer.AttributesRecord) fakeAuthorizer {}

type fakeAuthorizer

type authorizerResult

type authorizerMatch

func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {}

func endpointCreateAttributes() admission.Attributes {}

func endpointStatusUpdateAttributes() admission.Attributes {}