- Sort Score
- Result 10 results
- Languages All
Results 31 - 36 of 36 for flowschema (0.19 sec)
-
pkg/apis/flowcontrol/validation/validation.go
// section of a priority level. AllowZeroLimitedNominalConcurrencyShares bool } // ValidateFlowSchema validates the content of flow-schema func ValidateFlowSchema(fs *flowcontrol.FlowSchema) field.ErrorList { allErrs := apivalidation.ValidateObjectMeta(&fs.ObjectMeta, false, ValidateFlowSchemaName, field.NewPath("metadata")) specPath := field.NewPath("spec")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 26.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go
}) } func checkRules(t *testing.T, expectMatch bool, digest RequestDigest, rules []flowcontrol.PolicyRulesWithSubjects) { for idx, rule := range rules { fs := &flowcontrol.FlowSchema{ ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("rule%d", idx)}, Spec: flowcontrol.FlowSchemaSpec{ Rules: []flowcontrol.PolicyRulesWithSubjects{rule}}} actualMatch := matchesFlowSchema(digest, fs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 13.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go
// approach of updating the metrics about total requests queued and // executing at each point where there is a change in that quantity, // because the metrics --- and only the metrics --- track that // quantity per FlowSchema. // The queueSet's promiseFactory is invoked once if the returned Request is non-nil, // not invoked if the Request is nil.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 04 16:59:21 UTC 2024 - 42.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go
}, }, }, }, Names: apiextensionsv1.CustomResourceDefinitionNames{ Plural: "foos", Singular: "foo", Kind: "Foo", ListKind: "FooList", }, }, } const ( fooSchema = ` type: object properties: alpha: type: string beta: type: number ` fooStatusSchema = ` type: object properties: status: type: object properties: alpha:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 19.6K bytes - Viewed (0) -
pkg/controlplane/instance.go
// for more details. legacyBetaEnabledByDefaultResources = []schema.GroupVersionResource{ flowcontrolv1beta3.SchemeGroupVersion.WithResource("flowschemas"), // deprecate in 1.29, remove in 1.32 flowcontrolv1beta3.SchemeGroupVersion.WithResource("prioritylevelconfigurations"), // deprecate in 1.29, remove in 1.32 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.2K bytes - Viewed (0) -
pkg/controlplane/instance_test.go
// are no more beta resources enabled by default. legacyBetaResourcesWithoutStableEquivalents := map[schema.GroupResource]bool{ flowcontrolv1bet3.SchemeGroupVersion.WithResource("flowschemas").GroupResource(): true, flowcontrolv1bet3.SchemeGroupVersion.WithResource("prioritylevelconfigurations").GroupResource(): true, } config := DefaultAPIResourceConfigSource()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.5K bytes - Viewed (0)