- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for PodSchedulingContexts (0.31 sec)
-
api/discovery/apis__resource.k8s.io__v1alpha2.json
{ "apiVersion": "v1", "groupVersion": "resource.k8s.io/v1alpha2", "kind": "APIResourceList", "resources": [ { "kind": "PodSchedulingContext", "name": "podschedulingcontexts", "namespaced": true, "singularName": "podschedulingcontext", "storageVersionHash": "qtdNX2rnDEA=", "verbs": [ "create", "delete", "deletecollection", "get", "list",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/registry/resource/podschedulingcontext/storage/storage.go
NewListFunc: func() runtime.Object { return &resource.PodSchedulingContextList{} }, PredicateFunc: podschedulingcontext.Match, DefaultQualifiedResource: resource.Resource("podschedulingcontexts"), SingularQualifiedResource: resource.Resource("podschedulingcontext"), CreateStrategy: podschedulingcontext.Strategy, UpdateStrategy: podschedulingcontext.Strategy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 09:18:08 UTC 2023 - 4K bytes - Viewed (0) -
pkg/registry/resource/rest/storage_resource.go
resourceClaimTemplateStorage, err := resourceclaimtemplatestore.NewREST(restOptionsGetter) if err != nil { return nil, err } storage[resource] = resourceClaimTemplateStorage } if resource := "podschedulingcontexts"; apiResourceConfigSource.ResourceEnabled(resourcev1alpha2.SchemeGroupVersion.WithResource(resource)) { podSchedulingStorage, podSchedulingStatusStorage, err := podschedulingcontextsstore.NewREST(restOptionsGetter)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/registry/resource/podschedulingcontext/storage/storage_test.go
restOptions := generic.RESTOptions{ StorageConfig: etcdStorage, Decorator: generic.UndecoratedStorage, DeleteCollectionWorkers: 1, ResourcePrefix: "podschedulingcontexts", } podSchedulingStorage, statusStorage, err := NewREST(restOptions) if err != nil { t.Fatalf("unexpected error from REST storage: %v", err) } return podSchedulingStorage, statusStorage, server }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller.go
if claim.Spec.AllocationMode == resourcev1alpha2.AllocationModeWaitForFirstConsumer && claim.Status.Allocation == nil { scheduling, err := ec.podSchedulingLister.PodSchedulingContexts(pod.Namespace).Get(pod.Name) if apierrors.IsNotFound(err) { return true, "need to create PodSchedulingContext for scheduled pod" } if err != nil { // Shouldn't happen.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 37.1K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller_test.go
informerFactory := informers.NewSharedInformerFactory(fakeKubeClient, controller.NoResyncPeriodFunc()) podInformer := informerFactory.Core().V1().Pods() podSchedulingInformer := informerFactory.Resource().V1alpha2().PodSchedulingContexts() claimInformer := informerFactory.Resource().V1alpha2().ResourceClaims() templateInformer := informerFactory.Resource().V1alpha2().ResourceClaimTemplates()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 08:56:16 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go
func (p *podSchedulingState) init(ctx context.Context, pod *v1.Pod, podSchedulingContextLister resourcev1alpha2listers.PodSchedulingContextLister) error { schedulingCtx, err := podSchedulingContextLister.PodSchedulingContexts(pod.Namespace).Get(pod.Name) switch { case apierrors.IsNotFound(err): return nil case err != nil: return err default: // We have an object, but it might be obsolete.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 15:22:37 UTC 2024 - 75.9K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go
rbacv1helpers.NewRule(ReadWrite...).Groups(resourceGroup).Resources("podschedulingcontexts").RuleOrDie(), rbacv1helpers.NewRule(Read...).Groups(resourceGroup).Resources("podschedulingcontexts/status").RuleOrDie(), rbacv1helpers.NewRule(ReadUpdate...).Groups(legacyGroup).Resources("pods/finalizers").RuleOrDie(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 19:25:10 UTC 2024 - 34.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go
require.NoError(t, err, "list claims") for _, claim := range claims.Items { claim := claim objects = append(objects, &claim) } schedulings, err := tc.client.ResourceV1alpha2().PodSchedulingContexts("").List(tc.ctx, metav1.ListOptions{}) require.NoError(t, err, "list pod scheduling") for _, scheduling := range schedulings.Items { scheduling := scheduling objects = append(objects, &scheduling) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 61.9K bytes - Viewed (0) -
api/discovery/aggregated_v2.json
"name": "resource.k8s.io" }, "versions": [ { "freshness": "Current", "resources": [ { "resource": "podschedulingcontexts", "responseKind": { "group": "", "kind": "PodSchedulingContext", "version": "" }, "scope": "Namespaced",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 12 17:29:14 UTC 2024 - 55.4K bytes - Viewed (0)