diff --git a/staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go b/staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go index ef9e1f4ee6d..694ed3c08f2 100644 --- a/staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go +++ b/staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go @@ -60,6 +60,12 @@ func (p *TypeProvider) FindStructType(structType string) (*types.Type, bool) { return p.underlyingTypeProvider.FindStructType(structType) } +// FindStructFieldNames returns the field names associated with the type, if the type +// is found. +func (p *TypeProvider) FindStructFieldNames(structType string) ([]string, bool) { + return nil, true +} + // FindStructFieldType returns the field type for a checked type value. // Returns false if the field could not be found. func (p *TypeProvider) FindStructFieldType(structType, fieldName string) (*types.FieldType, bool) {