Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for CEL (0.03 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    		return apiservercel.BoolType
    	case cel.BytesType:
    		return apiservercel.BytesType
    	case cel.DoubleType:
    		return apiservercel.DoubleType
    	case cel.DurationType:
    		return apiservercel.DurationType
    	case cel.IntType:
    		return apiservercel.IntType
    	case cel.NullType:
    		return apiservercel.NullType
    	case cel.StringType:
    		return apiservercel.StringType
    	case cel.TimestampType:
    		return apiservercel.TimestampType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/url.go

    limitations under the License.
    */
    
    package cel
    
    import (
    	"fmt"
    	"net/url"
    	"reflect"
    
    	"github.com/google/cel-go/cel"
    	"github.com/google/cel-go/checker/decls"
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    )
    
    // URL provides a CEL representation of a URL.
    type URL struct {
    	*url.URL
    }
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    	}),
    	"min": templatedOverloads(comparableTypes, func(name string, paramType *cel.Type) cel.FunctionOpt {
    		return cel.MemberOverload(fmt.Sprintf("list_%s_min_%s", name, name),
    			[]*cel.Type{cel.ListType(paramType)}, paramType, cel.UnaryBinding(min()))
    	}),
    	"indexOf": {
    		cel.MemberOverload("list_a_index_of_int", []*cel.Type{cel.ListType(paramA), paramA}, cel.IntType,
    			cel.BinaryBinding(indexOf)),
    	},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go

    limitations under the License.
    */
    
    package mutation
    
    import (
    	"k8s.io/apiserver/pkg/cel/mutation/common"
    
    	"github.com/google/cel-go/cel"
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    )
    
    // TypeProvider is a specialized CEL type provider that understands
    // the Object type alias that is used to construct an Apply configuration for
    // a mutation operation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 21:02:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/mutation/env_test.go

    package mutation
    
    import (
    	"testing"
    
    	"github.com/google/cel-go/cel"
    
    	"k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/apiserver/pkg/cel/environment"
    )
    
    // mustCreateEnv creates the default env for testing, with given option.
    // it fatally fails the test if the env fails to set up.
    func mustCreateEnv(t testing.TB, envOptions ...cel.EnvOption) *cel.Env {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go

    */
    
    package lazy
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/google/cel-go/cel"
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    	"github.com/google/cel-go/interpreter"
    
    	"k8s.io/apimachinery/pkg/util/version"
    	apiservercel "k8s.io/apiserver/pkg/cel"
    	"k8s.io/apiserver/pkg/cel/environment"
    )
    
    func TestLazyMapType(t *testing.T) {
    	env, variablesType, err := buildTestEnv()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/authentication/cel/interface.go

    limitations under the License.
    */
    
    // Package cel contains the CEL related interfaces and structs for authentication.
    package cel
    
    import (
    	"context"
    
    	celgo "github.com/google/cel-go/cel"
    	"github.com/google/cel-go/common/types/ref"
    
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    )
    
    // ExpressionAccessor is an interface that provides access to a CEL expression.
    type ExpressionAccessor interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/cidr.go

    limitations under the License.
    */
    
    package cel
    
    import (
    	"fmt"
    	"math"
    	"net/netip"
    	"reflect"
    
    	"github.com/google/cel-go/cel"
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    )
    
    // CIDR provides a CEL representation of an network address.
    type CIDR struct {
    	netip.Prefix
    }
    
    var (
    	CIDRType = cel.OpaqueType("net.CIDR")
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go

    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	apiservercel "k8s.io/apiserver/pkg/cel"
    	"k8s.io/klog/v2"
    )
    
    // validator implements the Validator interface
    type validator struct {
    	celMatcher            matchconditions.Matcher
    	validationFilter      cel.Filter
    	auditAnnotationFilter cel.Filter
    	messageFilter         cel.Filter
    	failPolicy            *v1.FailurePolicyType
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/quantity.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cel
    
    import (
    	"fmt"
    	"reflect"
    
    	"github.com/google/cel-go/cel"
    	"github.com/google/cel-go/checker/decls"
    	"github.com/google/cel-go/common/types"
    	"github.com/google/cel-go/common/types/ref"
    	"k8s.io/apimachinery/pkg/api/resource"
    )
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:23:54 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top