- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 536 for claims0 (0.2 sec)
-
pkg/controller/volume/persistentvolume/delete_test.go
// Bind the volume to resurrected claim (this should never // happen) claim := newClaim("claim8-7", "uid8-7", "10Gi", "volume8-7", v1.ClaimBound, nil) reactor.AddClaimBoundToVolume(claim) ctrl.claims.Add(claim) }), }, { // delete success - volume bound by user is deleted, while a new // claim is created with another UID.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 15.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/testing/testing.go
obj := action.(core.UpdateAction).GetObject() claim := obj.(*v1.PersistentVolumeClaim) // check the claim does not exist _, found := r.claims[claim.Name] if found { return true, nil, fmt.Errorf("cannot create claim %s: claim already exists", claim.Name) } // Store the updated object to appropriate places. r.claims[claim.Name] = claim
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder.go
func (b *volumeBinder) revertAssumedPVCs(claims []*v1.PersistentVolumeClaim) { for _, claim := range claims { b.pvcCache.Restore(getPVCName(claim)) } } // hasEnoughCapacity checks whether the provisioner has enough capacity left for a new volume of the given size // that is available from the node.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
if hasNamedOwnerRef(claim, podName) || hasNamedOwnerRef(claim, set.Name) { t.Errorf("bad claim ownerRefs: %s: %v", claim.Name, claim.GetOwnerReferences()) } case scaledownPolicy == retain && deletionPolicy == delete: if hasNamedOwnerRef(claim, podName) || !hasNamedOwnerRef(claim, set.Name) { t.Errorf("bad claim ownerRefs: %s: %v", claim.Name, claim.GetOwnerReferences()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0) -
cmd/sts-handlers.go
// metadata map claims[expClaim] = UTCNow().Add(time.Duration(expiry) * time.Second).Unix() claims[subClaim] = parentUser claims[roleArnClaim] = roleArn.String() claims[parentClaim] = parentUser // Add all other claims from the plugin **without** replacing any // existing claims. for k, v := range res.Success.Claims { if _, ok := claims[k]; !ok { claims[k] = v } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 33.9K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller.go
logger.V(5).Info("pod for claim not found", "claim", klog.KObj(claim), "pod", klog.KRef(claim.Namespace, podName)) default: return fmt.Errorf("lookup pod: %v", err) } } else { logger.V(5).Info("claim not generated for a pod", "claim", klog.KObj(claim)) } } return nil } func owningPod(claim *resourcev1alpha2.ResourceClaim) (string, types.UID) {
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/volume/persistentvolume/pv_controller_base.go
func (ctrl *PersistentVolumeController) deleteClaim(ctx context.Context, claim *v1.PersistentVolumeClaim) { logger := klog.FromContext(ctx) if err := ctrl.claims.Delete(claim); err != nil { logger.Error(err, "Claim deletion encountered", "PVC", klog.KObj(claim)) } claimKey := claimToClaimKey(claim) logger.V(4).Info("Claim deleted", "PVC", klog.KObj(claim))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 29.5K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_podschedulingcontext_test.go
fmt.Sprintf("worker%d", i), ) } return schedulingCtx }, }, "invalid-duplicated-claim-status": { wantFailures: field.ErrorList{field.Duplicate(field.NewPath("status", "claims").Index(1), "my-claim")}, oldScheduling: validScheduling, update: func(schedulingCtx *resource.PodSchedulingContext) *resource.PodSchedulingContext { for i := 0; i < 2; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 09:18:08 UTC 2023 - 13.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go
} slices := tc.slices if slices == nil { slices = sliceList{} } claims := tc.claims if claims == nil { claims = claimList{} } actualResources, actualErr := newResourceModel(tCtx.Logger(), slices, claims, &inFlightAllocations) if actualErr != nil { if !tc.wantErr { tCtx.Fatalf("unexpected error: %v", actualErr) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 09:27:01 UTC 2024 - 34.8K bytes - Viewed (0) -
pkg/serviceaccount/claims_test.go
// comparing json spews has the benefit over // reflect.DeepEqual that we are also asserting that // claims structs are json serializable spew := func(obj interface{}) string { b, err := json.Marshal(obj) if err != nil { t.Fatalf("err, couldn't marshal claims: %v", err) } return string(b) } // set feature flags for the duration of the test case
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.9K bytes - Viewed (0)