- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for resourcequotastore (0.2 sec)
-
pkg/registry/core/rest/storage_core_generic.go
} eventStorage, err := eventstore.NewREST(restOptionsGetter, uint64(c.EventTTL.Seconds())) if err != nil { return genericapiserver.APIGroupInfo{}, err } resourceQuotaStorage, resourceQuotaStatusStorage, err := resourcequotastore.NewREST(restOptionsGetter) if err != nil { return genericapiserver.APIGroupInfo{}, err } secretStorage, err := secretstore.NewREST(restOptionsGetter) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 6K bytes - Viewed (0) -
pkg/registry/core/resourcequota/storage/storage_test.go
Decorator: generic.UndecoratedStorage, DeleteCollectionWorkers: 1, ResourcePrefix: "resourcequotas", } resourceQuotaStorage, statusStorage, err := NewREST(restOptions) if err != nil { t.Fatalf("unexpected error from REST storage: %v", err) } return resourceQuotaStorage, statusStorage, server } func validNewResourceQuota() *api.ResourceQuota { return &api.ResourceQuota{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotaspec.go
// with apply. type ResourceQuotaSpecApplyConfiguration struct { Hard *v1.ResourceList `json:"hard,omitempty"` Scopes []v1.ResourceQuotaScope `json:"scopes,omitempty"` ScopeSelector *ScopeSelectorApplyConfiguration `json:"scopeSelector,omitempty"` }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/interfaces.go
type UsageStatsOptions struct { // Namespace where stats should be calculate Namespace string // Scopes that must match counted objects Scopes []corev1.ResourceQuotaScope // Resources are the set of resources to include in the measurement Resources []corev1.ResourceName ScopeSelector *corev1.ScopeSelector }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 30 21:02:09 UTC 2021 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/resources.go
// If an error is returned, usage only contains the resources which encountered no calculation errors. func CalculateUsage(namespaceName string, scopes []corev1.ResourceQuotaScope, hardLimits corev1.ResourceList, registry Registry, scopeSelector *corev1.ScopeSelector) (corev1.ResourceList, error) { // find the intersection between the hard resources on the quota
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 06 23:11:22 UTC 2021 - 8.7K bytes - Viewed (0)