- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 227 for CEL (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/regex.go
cel.ListType(cel.StringType), cel.BinaryBinding(func(str, regex ref.Val) ref.Val { return findAll(str, regex, types.Int(-1)) })), cel.MemberOverload("string_find_all_string_int", []*cel.Type{cel.StringType, cel.StringType, cel.IntType}, cel.ListType(cel.StringType), cel.FunctionBinding(findAll)), }, } func (*regex) CompileOptions() []cel.EnvOption {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/urls.go
cel.UnaryBinding(getPort))}, "getEscapedPath": { cel.MemberOverload("url_get_escaped_path", []*cel.Type{apiservercel.URLType}, cel.StringType, cel.UnaryBinding(getEscapedPath))}, "getQuery": { cel.MemberOverload("url_get_query", []*cel.Type{apiservercel.URLType}, cel.MapType(cel.StringType, cel.ListType(cel.StringType)), cel.UnaryBinding(getQuery))}, "isURL": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/environment/environment.go
import ( "fmt" "math" "github.com/google/cel-go/cel" "k8s.io/apimachinery/pkg/util/version" apiservercel "k8s.io/apiserver/pkg/cel" ) // Type defines the different types of CEL environments used in Kubernetes. // CEL environments are used to compile and evaluate CEL expressions. // Environments include: // - Function libraries // - Variables // - Types (both core CEL types and Kubernetes types)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 10.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/test.go
} } func (t *testLib) CompileOptions() []cel.EnvOption { var options []cel.EnvOption if t.version == 0 { options = append(options, cel.Function("test", cel.Overload("test", []*cel.Type{}, cel.BoolType, cel.FunctionBinding(func(args ...ref.Val) ref.Val { return types.True })))) } if t.version >= 1 { options = append(options, cel.Function("test", cel.Overload("test", []*cel.Type{}, cel.BoolType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/cel/compile.go
See the License for the specific language governing permissions and limitations under the License. */ package cel import ( "fmt" "github.com/google/cel-go/cel" "k8s.io/apimachinery/pkg/util/version" apiservercel "k8s.io/apiserver/pkg/cel" "k8s.io/apiserver/pkg/cel/environment" ) const ( claimsVarName = "claims" userVarName = "user" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 5.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher_test.go
celtypes "github.com/google/cel-go/common/types" "github.com/stretchr/testify/require" admissionv1 "k8s.io/api/admission/v1" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apiserver/pkg/admission" "k8s.io/apiserver/pkg/admission/plugin/cel" ) var _ cel.Filter = &fakeCelFilter{} type fakeCelFilter struct { evaluations []cel.EvaluationResult throwError bool }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 00:53:08 UTC 2023 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/environment/base.go
package environment import ( "fmt" "strconv" "sync" "github.com/google/cel-go/cel" "github.com/google/cel-go/checker" "github.com/google/cel-go/ext" "github.com/google/cel-go/interpreter" "golang.org/x/sync/singleflight" "k8s.io/apimachinery/pkg/util/version" celconfig "k8s.io/apiserver/pkg/apis/cel" "k8s.io/apiserver/pkg/cel/library" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 15:51:08 UTC 2024 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cidr.go
cel.MemberOverload("cidr_contains_ip_string", []*cel.Type{apiservercel.CIDRType, cel.StringType}, cel.BoolType, cel.BinaryBinding(cidrContainsIPString)), cel.MemberOverload("cidr_contains_ip_ip", []*cel.Type{apiservercel.CIDRType, apiservercel.IPType}, cel.BoolType, cel.BinaryBinding(cidrContainsIP)), }, "containsCIDR": { cel.MemberOverload("cidr_contains_cidr_string", []*cel.Type{apiservercel.CIDRType, cel.StringType}, cel.BoolType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:04 UTC 2023 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/authz.go
cel.UnaryBinding(decisionErrored))}, "error": { cel.MemberOverload("decision_error", []*cel.Type{DecisionType}, cel.StringType, cel.UnaryBinding(decisionError))}, "allowed": { cel.MemberOverload("decision_allowed", []*cel.Type{DecisionType}, cel.BoolType, cel.UnaryBinding(decisionAllowed))}, "reason": { cel.MemberOverload("decision_reason", []*cel.Type{DecisionType}, cel.StringType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 21.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types.go
See the License for the specific language governing permissions and limitations under the License. */ package cel import ( "fmt" "math" "time" "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/common/types/traits" exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1" "google.golang.org/protobuf/proto"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 18K bytes - Viewed (0)