- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for SelectableField (0.37 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
} func ValidateCustomResourceSelectableFields(selectableFields []apiextensions.SelectableField, schema *structuralschema.Structural, fldPath *field.Path) (allErrs field.ErrorList) { uniqueSelectableFields := sets.New[string]() for i, selectableField := range selectableFields { indexFldPath := fldPath.Index(i) if len(selectableField.JSONPath) == 0 { allErrs = append(allErrs, field.Required(indexFldPath.Child("jsonPath"), ""))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go
// // +featureGate=CustomResourceFieldSelectors // +optional // +listType=atomic SelectableFields []SelectableField `json:"selectableFields,omitempty" protobuf:"bytes,9,rep,name=selectableFields"` } // SelectableField specifies the JSON path of a field that may be used with field selectors. type SelectableField struct { // jsonPath is a simple JSON path which is evaluated against each custom resource to produce a
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 28.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
Properties: map[string]apiextensions.JSONSchemaProps{"foo": {Type: "string"}}, Required: []string{"foo"}, }, }, SelectableFields: []apiextensions.SelectableField{{JSONPath: ".foo"}, {JSONPath: ".xyz"}}, }, {Name: "version2", Served: true, Storage: false, Schema: &apiextensions.CustomResourceValidation{ OpenAPIV3Schema: &apiextensions.JSONSchemaProps{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 349.4K bytes - Viewed (0) -
pkg/generated/openapi/zz_generated.openapi.go
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSONSchemaPropsOrStringArray": schema_pkg_apis_apiextensions_v1_JSONSchemaPropsOrStringArray(ref), "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.SelectableField": schema_pkg_apis_apiextensions_v1_SelectableField(ref),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0) -
api/openapi-spec/swagger.json
"description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField": { "description": "SelectableField specifies the JSON path of a field that may be used with field selectors.", "properties": { "jsonPath": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3.1M bytes - Viewed (0)