- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for colType (0.13 sec)
-
src/database/sql/fakedb_test.go
} mrows = append(mrows, mrow) } var colType []string for _, column := range s.colName { colType = append(colType, t.coltype[t.columnIndex(column)]) } t.mu.Unlock() setMRows = append(setMRows, mrows) setColumns = append(setColumns, s.colName) setColType = append(setColType, colType) if s.next == nil { break } s = s.next }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types.go
} // ExprType returns the CEL expression type of this declaration. func (t *DeclType) ExprType() (*exprpb.Type, error) { return cel.TypeToExprType(t.celType) } // CelType returns the CEL type of this declaration. func (t *DeclType) CelType() *cel.Type { return t.celType } // FindField returns the DeclField with the given name if present. func (t *DeclType) FindField(name string) (*DeclField, bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 18K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go
EnvOptions: []cel.EnvOption{ cel.Variable(ScopedVarName, scopedType.CelType()), }, DeclTypes: []*apiservercel.DeclType{ scopedType, }, }, environment.VersionedOptions{ IntroducedVersion: version.MajorMinor(1, 24), EnvOptions: []cel.EnvOption{ cel.Variable(OldScopedVarName, scopedType.CelType()), }, }, ) if err != nil { return nil, nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 13.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go
{ IntroducedVersion: version.MajorMinor(1, 28), DeclTypes: []*apiservercel.DeclType{widgetsType}, EnvOptions: []cel.EnvOption{ cel.Variable("widget", widgetsType.CelType()), }, }, }, }, { name: "declared type enabled", typeVersionCombinations: []envTypeAndVersion{ {version.MajorMinor(1, 28), NewExpressions},
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/admission/plugin/cel/compile.go
} envOpts = append(envOpts, cel.Variable(ObjectVarName, cel.DynType), cel.Variable(OldObjectVarName, cel.DynType), cel.Variable(NamespaceVarName, namespaceType.CelType()), cel.Variable(RequestVarName, requestType.CelType())) extended, err := baseEnv.Extend( environment.VersionedOptions{ // Feature epoch was actually 1.26, but we artificially set it to 1.0 because these
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/environment/environment.go
// ... // VersionOptions{ // IntroducedVersion: version.MajorMinor(1, 26), // DeclTypes: []*apiservercel.DeclType{ objectType }, // EnvOptions: []cel.EnvOption{ cel.Variable("object", objectType.CelType()) }, // }, // // To create an DeclType from a CRD, use a structural schema. For example: // // schema := structuralschema.NewStructural(crdJSONProps)
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/admission/plugin/policy/validating/typechecking.go
func createVariableOpts(declType *apiservercel.DeclType, variables ...string) []cel.EnvOption { opts := make([]cel.EnvOption, 0, len(variables)) t := cel.DynType if declType != nil { t = declType.CelType() } for _, v := range variables { opts = append(opts, cel.Variable(v, t)) } return opts } type typeCheckingCompiler struct { compositionEnv *plugincel.CompositionEnv
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 15.3K bytes - Viewed (0)