- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 227 for CEL (0.03 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/ip.go
cel.MemberOverload("ip_is_global_unicast", []*cel.Type{apiservercel.IPType}, cel.BoolType, cel.UnaryBinding(isGlobalUnicast)), }, "isIP": { cel.Overload("is_ip", []*cel.Type{cel.StringType}, cel.BoolType, cel.UnaryBinding(isIP)), }, "string": { cel.Overload("ip_to_string", []*cel.Type{apiservercel.IPType}, cel.StringType, cel.UnaryBinding(ipToString)), }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 11:02:34 UTC 2023 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/quantity.go
}, "isQuantity": { cel.Overload("is_quantity_string", []*cel.Type{cel.StringType}, cel.BoolType, cel.UnaryBinding(isQuantity)), }, "sign": { cel.Overload("quantity_sign", []*cel.Type{apiservercel.QuantityType}, cel.IntType, cel.UnaryBinding(quantityGetSign)), }, "isGreaterThan": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 11.2K bytes - Viewed (0) -
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) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go
"k8s.io/apiserver/pkg/admission/plugin/cel" "k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions" celconfig "k8s.io/apiserver/pkg/apis/cel" "k8s.io/apiserver/pkg/authorization/authorizer" apiservercel "k8s.io/apiserver/pkg/cel" "k8s.io/apiserver/pkg/cel/environment" ) var _ cel.Filter = &fakeCelFilter{} type fakeCelFilter struct { evaluations []cel.EvaluationResult throwError bool }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 24.7K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go
limitations under the License. */ package environment import ( "context" "fmt" "testing" "github.com/google/cel-go/cel" "k8s.io/apimachinery/pkg/util/version" "k8s.io/apiserver/pkg/authorization/authorizer" apiservercel "k8s.io/apiserver/pkg/cel" "k8s.io/apiserver/pkg/cel/library" ) type envTypeAndVersion struct { version *version.Version envType Type }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10K bytes - Viewed (0) -
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)