- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 787 for quotas (0.09 sec)
-
staging/src/k8s.io/apiserver/pkg/quota/v1/generic/registry.go
"k8s.io/apimachinery/pkg/runtime/schema" quota "k8s.io/apiserver/pkg/quota/v1" ) // implements a basic registry type simpleRegistry struct { lock sync.RWMutex // evaluators tracked by the registry evaluators map[schema.GroupResource]quota.Evaluator } // NewRegistry creates a simple registry with initial list of evaluators func NewRegistry(evaluators []quota.Evaluator) quota.Registry { return &simpleRegistry{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 04 12:53:52 UTC 2020 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/v1/types.go
Resource string `json:"resource"` // For each intercepted request, the quota system will evaluate // its resource usage. It will iterate through each resource consumed // and if the resource contains any substring in this listing, the // quota system will ensure that there is a covering quota. In the // absence of a covering quota, the quota system will deny the request. // For example, if an administrator wants to globally enforce that
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 04 12:53:52 UTC 2020 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/v1alpha1/types.go
Resource string `json:"resource"` // For each intercepted request, the quota system will evaluate // its resource usage. It will iterate through each resource consumed // and if the resource contains any substring in this listing, the // quota system will ensure that there is a covering quota. In the // absence of a covering quota, the quota system will deny the request. // For example, if an administrator wants to globally enforce that
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 04 12:53:52 UTC 2020 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Describables.java
return new ThreePartDescribable(part1, part2, part3); } /** * Returns a describable for a description and quoted value. */ public static DisplayName quoted(final Object description, final Object value) { return new AbstractDescribable() { @Override public String getCapitalizedDisplayName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 10.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/generic/configuration.go
package generic import ( "k8s.io/apimachinery/pkg/runtime/schema" quota "k8s.io/apiserver/pkg/quota/v1" ) // implements a basic configuration type simpleConfiguration struct { evaluators []quota.Evaluator ignoredResources map[schema.GroupResource]struct{} } // NewConfiguration creates a quota configuration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 04 12:53:52 UTC 2020 - 1.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_linux_test.go
{ msg: "1500 input 150k quota and default period", input: int64(1500), expected: int64(150000), period: uint64(100000), }} { t.Run(testCase.msg, func(t *testing.T) { quota := milliCPUToQuota(testCase.input, int64(testCase.period)) if quota != testCase.expected { t.Errorf("Input %v and %v, expected quota %v, but got quota %v", testCase.input, testCase.period, testCase.expected, quota) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/persistent_volume_claims.go
"k8s.io/apiserver/pkg/admission" quota "k8s.io/apiserver/pkg/quota/v1" "k8s.io/apiserver/pkg/quota/v1/generic" utilfeature "k8s.io/apiserver/pkg/util/feature" storagehelpers "k8s.io/component-helpers/storage/volume" api "k8s.io/kubernetes/pkg/apis/core" k8s_api_v1 "k8s.io/kubernetes/pkg/apis/core/v1" k8sfeatures "k8s.io/kubernetes/pkg/features" ) // the name used for object count quota
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:36:24 UTC 2022 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go
func (o *objectCountEvaluator) UsageStats(options quota.UsageStatsOptions) (quota.UsageStats, error) { return CalculateUsageStats(options, o.listFuncByNamespace, MatchesNoScopeFunc, o.Usage) } // Verify implementation of interface at compile time. var _ quota.Evaluator = &objectCountEvaluator{} // NewObjectCountEvaluator returns an evaluator that can perform generic
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 05 00:02:47 UTC 2023 - 11.7K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller_test.go
items []runtime.Object quota v1.ResourceQuota status v1.ResourceQuotaStatus expectedError string expectedActionSet sets.String }{ "non-matching-best-effort-scoped-quota": { gvr: v1.SchemeGroupVersion.WithResource("pods"), quota: v1.ResourceQuota{ ObjectMeta: metav1.ObjectMeta{Name: "quota", Namespace: "testing"}, Spec: v1.ResourceQuotaSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 16:29:33 UTC 2023 - 42.6K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/services.go
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apiserver/pkg/admission" quota "k8s.io/apiserver/pkg/quota/v1" "k8s.io/apiserver/pkg/quota/v1/generic" api "k8s.io/kubernetes/pkg/apis/core" k8s_api_v1 "k8s.io/kubernetes/pkg/apis/core/v1" ) // the name used for object count quota
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 7K bytes - Viewed (0)