- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for CEL (0.5 sec)
-
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/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/admission/plugin/cel/interface.go
limitations under the License. */ package cel import ( "context" "time" "github.com/google/cel-go/cel" "github.com/google/cel-go/common/types/ref" v1 "k8s.io/api/admission/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apiserver/pkg/admission" "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/apiserver/pkg/cel/environment" ) type ExpressionAccessor interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/format.go
}, } var formatLibraryDecls = map[string][]cel.FunctionOpt{ "validate": { cel.MemberOverload("format-validate", []*cel.Type{apiservercel.FormatType, cel.StringType}, cel.OptionalType(cel.ListType(cel.StringType)), cel.BinaryBinding(formatValidate)), }, "format.named": { cel.Overload("format-named", []*cel.Type{cel.StringType}, cel.OptionalType(apiservercel.FormatType), cel.UnaryBinding(func(name ref.Val) ref.Val {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/format.go
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" ) var ( FormatObject = decls.NewObjectType("kubernetes.NamedFormat") FormatType = cel.ObjectType("kubernetes.NamedFormat") )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 1.8K bytes - Viewed (0) -
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) -
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) -
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)