Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 701 for noclaims (0.18 sec)

  1. pkg/controller/volume/persistentvolume/delete_test.go

    			initialVolumes:  newVolumeArray("volume8-1", "1Gi", "uid8-1", "claim8-1", v1.VolumeBound, v1.PersistentVolumeReclaimDelete, classEmpty, volume.AnnBoundByController),
    			expectedVolumes: novolumes,
    			initialClaims:   noclaims,
    			expectedClaims:  noclaims,
    			expectedEvents:  noevents,
    			errors:          noerrors,
    			// Inject deleter into the controller and call syncVolume. The
    			// deleter simulates one delete() call that succeeds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/recycle_test.go

    			expectedVolumes: newVolumeArray("volume6-1", "1Gi", "", "", v1.VolumeAvailable, v1.PersistentVolumeReclaimRecycle, classEmpty),
    			initialClaims:   noclaims,
    			expectedClaims:  noclaims,
    			expectedEvents:  noevents,
    			errors:          noerrors,
    			// Inject recycler into the controller and call syncVolume. The
    			// recycler simulates one recycle() call that succeeds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/pv_controller_test.go

    			initialClaims:   noclaims,
    			expectedClaims:  noclaims,
    			expectedEvents:  noevents,
    			errors:          noerrors,
    			test: func(ctrl *PersistentVolumeController, reactor *pvtesting.VolumeReactor, test controllerTest) error {
    				return nil
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/binder_test.go

    			expectedVolumes: newVolumeArray("volume4-1", "10Gi", "", "", v1.VolumeAvailable, v1.PersistentVolumeReclaimRetain, classEmpty),
    			initialClaims:   noclaims,
    			expectedClaims:  noclaims,
    			expectedEvents:  noevents,
    			errors:          noerrors,
    			test:            testSyncVolume,
    		},
    		{
    			// syncVolume with prebound pending volume. Check it's marked as
    			// Available.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  5. pkg/controller/volume/persistentvolume/framework_test.go

    	if claims[0].Annotations == nil {
    		claims[0].Annotations = map[string]string{name: value}
    	} else {
    		claims[0].Annotations[name] = value
    	}
    	return claims
    }
    
    func claimWithDataSource(name, kind, apiGroup string, claims []*v1.PersistentVolumeClaim) []*v1.PersistentVolumeClaim {
    	claims[0].Spec.DataSource = &v1.TypedLocalObjectReference{
    		Name:     name,
    		Kind:     kind,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  6. pkg/serviceaccount/claims.go

    }
    
    type ref struct {
    	Name string `json:"name,omitempty"`
    	UID  string `json:"uid,omitempty"`
    }
    
    func Claims(sa core.ServiceAccount, pod *core.Pod, secret *core.Secret, node *core.Node, expirationSeconds, warnafter int64, audience []string) (*jwt.Claims, interface{}, error) {
    	now := now()
    	sc := &jwt.Claims{
    		Subject:   apiserverserviceaccount.MakeUsername(sa.Namespace, sa.Name),
    		Audience:  jwt.Audience(audience),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    	}
    
    	mclaims := jwtgo.MapClaims(claims)
    	jwtToken, err := jp.ParseWithClaims(token, &mclaims, keyFuncCallback)
    	if err != nil {
    		// Re-populate the public key in-case the JWKS
    		// pubkeys are refreshed
    		if err = r.PopulatePublicKey(arn); err != nil {
    			return err
    		}
    		jwtToken, err = jwtgo.ParseWithClaims(token, &mclaims, keyFuncCallback)
    		if err != nil {
    			return err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/manager.go

    		if err := m.unprepareResources(podClaims.uid, podClaims.namespace, podClaims.claimNames); err != nil {
    			klog.ErrorS(err, "Unpreparing pod resources in reconcile loop", "podUID", podClaims.uid)
    		}
    	}
    }
    
    // PrepareResources attempts to prepare all of the required resource
    // plugin resources for the input container, issue NodePrepareResources rpc requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. cmd/jwt.go

    		// Check if the access key is part of users credentials.
    		u, ok := globalIAMSys.GetUser(req.Context(), claims.AccessKey)
    		if !ok {
    			return nil, nil, false, errInvalidAccessKeyID
    		}
    		ucred := u.Credentials
    		// get embedded claims
    		eclaims, s3Err := checkClaimsFromToken(req, ucred)
    		if s3Err != ErrNone {
    			return nil, nil, false, errAuthentication
    		}
    
    		for k, v := range eclaims {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. pkg/controller/resourceclaim/controller_test.go

    	}
    }
    
    func normalizeClaims(claims []resourcev1alpha2.ResourceClaim) []resourcev1alpha2.ResourceClaim {
    	sort.Slice(claims, func(i, j int) bool {
    		if claims[i].Namespace < claims[j].Namespace {
    			return true
    		}
    		if claims[i].Namespace > claims[j].Namespace {
    			return false
    		}
    		return claims[i].Name < claims[j].Name
    	})
    	for i := range claims {
    		if len(claims[i].Status.ReservedFor) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 08:56:16 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top