- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for scopeSelectors (0.18 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go
restrictedScopes := []corev1.ScopedResourceSelectorRequirement{} for i := range quotas { resourceQuota := quotas[i] scopeSelectors := getScopeSelectorsFromQuota(resourceQuota) localRestrictedScopes, err := evaluator.MatchingScopes(inputObject, scopeSelectors) if err != nil { return nil, fmt.Errorf("error matching scopes of quota %s, err: %v", resourceQuota.Name, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 25.8K bytes - Viewed (0) -
manifests/charts/istio-cni/templates/resourcequota.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 388 bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ResourceQuota.json
"fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "hard": { "hardKey": "0" }, "scopes": [ "scopesValue" ], "scopeSelector": { "matchExpressions": [ { "scopeName": "scopeNameValue", "operator": "operatorValue", "values": [ "valuesValue" ] } ]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ResourceQuota.yaml
controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: hard: hardKey: "0" scopeSelector: matchExpressions: - operator: operatorValue scopeName: scopeNameValue values: - valuesValue scopes: - scopesValue status: hard: hardKey: "0" used:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.1K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
quota: &corev1.ResourceQuota{ ObjectMeta: metav1.ObjectMeta{Name: "quota", Namespace: "test", ResourceVersion: "124"}, Spec: corev1.ResourceQuotaSpec{ ScopeSelector: &corev1.ScopeSelector{ MatchExpressions: []corev1.ScopedResourceSelectorRequirement{ { ScopeName: corev1.ResourceQuotaScopePriorityClass, Operator: corev1.ScopeSelectorOpExists}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v1.ScopeSelector)(nil), (*core.ScopeSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_ScopeSelector_To_core_ScopeSelector(a.(*v1.ScopeSelector), b.(*core.ScopeSelector), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*core.ScopeSelector)(nil), (*v1.ScopeSelector)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
} } if in.Scopes != nil { in, out := &in.Scopes, &out.Scopes *out = make([]ResourceQuotaScope, len(*in)) copy(*out, *in) } if in.ScopeSelector != nil { in, out := &in.ScopeSelector, &out.ScopeSelector *out = new(ScopeSelector) (*in).DeepCopyInto(*out) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
} } if in.Scopes != nil { in, out := &in.Scopes, &out.Scopes *out = make([]ResourceQuotaScope, len(*in)) copy(*out, *in) } if in.ScopeSelector != nil { in, out := &in.ScopeSelector, &out.ScopeSelector *out = new(ScopeSelector) (*in).DeepCopyInto(*out) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller.go
var errs []error newUsage, err := quota.CalculateUsage(resourceQuota.Namespace, resourceQuota.Spec.Scopes, hardLimits, rq.registry, resourceQuota.Spec.ScopeSelector) if err != nil { // if err is non-nil, remember it to return, but continue updating status with any resources in newUsage errs = append(errs, err) } for key, value := range newUsage { used[key] = value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 21.3K bytes - Viewed (0)