Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for claim (0.13 sec)

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

    			// volume.Spec.ClaimRef.UID. Check that the claim is marked as lost.
    			name:            "3-4 - bound claim with prebound volume",
    			initialVolumes:  newVolumeArray("volume3-4", "10Gi", "claim3-4-x", "claim3-4", v1.VolumeAvailable, v1.PersistentVolumeReclaimRetain, classEmpty),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    				prebind: result{
    					changes: change{
    						claim: func(claim *resourcev1alpha2.ResourceClaim) *resourcev1alpha2.ResourceClaim {
    							if claim.Name == claimName {
    								claim = claim.DeepCopy()
    								claim.Status.ReservedFor = inUseClaim.Status.ReservedFor
    							}
    							return claim
    						},
    					},
    				},
    			},
    		},
    		"missing-claim": {
    			pod:    podWithClaimTemplate, // status not set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		{
    			name: "duplicate claim",
    			in: []api.ClaimValidationRule{
    				{Claim: "claim"},
    				{Claim: "claim"},
    			},
    			structuredAuthnFeatureEnabled: true,
    			want:                          `issuer.claimValidationRules[1].claim: Duplicate value: "claim"`,
    		},
    		{
    			name: "duplicate expression",
    			in: []api.ClaimValidationRule{
    				{Expression: "claims.foo == 'bar'"},
    				{Expression: "claims.foo == 'bar'"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    		claim = claim.DeepCopy()
    		claim.Finalizers = append(claim.Finalizers, resourcev1alpha2.Finalizer)
    		claim.Status.DriverName = driverName
    		claim.Status.Allocation = allocation
    		pl.inFlightAllocations.Store(claim.UID, claim)
    		logger.V(5).Info("Reserved resource in allocation result", "claim", klog.KObj(claim), "driver", driverName, "allocation", klog.Format(allocation))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  5. pkg/controller/volume/persistentvolume/pv_controller.go

    		return ctrl.syncUnboundClaim(ctx, claim)
    	} else {
    		return ctrl.syncBoundClaim(ctx, claim)
    	}
    }
    
    // checkVolumeSatisfyClaim checks if the volume requested by the claim satisfies the requirements of the claim
    func checkVolumeSatisfyClaim(volume *v1.PersistentVolume, claim *v1.PersistentVolumeClaim) error {
    	requestedQty := claim.Spec.Resources.Requests[v1.ResourceName(v1.ResourceStorage)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_utils_test.go

    	set := apps.StatefulSet{}
    	set.Name = "my-set"
    	claim := v1.PersistentVolumeClaim{}
    	claim.Name = "volume-my-set-2"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-2" {
    		t.Errorf("Expected my-set-2 found %s", pod)
    	}
    	claim.Name = "long-volume-my-set-20"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-20" {
    		t.Errorf("Expected my-set-20 found %s", pod)
    	}
    	claim.Name = "volume-2-my-set"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.conversion.go

    }
    
    func autoConvert_v1alpha1_ClaimOrExpression_To_apiserver_ClaimOrExpression(in *ClaimOrExpression, out *apiserver.ClaimOrExpression, s conversion.Scope) error {
    	out.Claim = in.Claim
    	out.Expression = in.Expression
    	return nil
    }
    
    // Convert_v1alpha1_ClaimOrExpression_To_apiserver_ClaimOrExpression is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. cmd/iam.go

    		}
    
    		// Finally, if there is no parent policy, check if a policy claim is
    		// present in the session token.
    		if len(policies) == 0 {
    			// If there is no parent policy mapping, we fall back to
    			// using policy claim from JWT.
    			policySet, ok := args.GetPolicies(iamPolicyClaimNameOpenID())
    			if !ok {
    				// When claims are set, it should have a policy claim field.
    				return false
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    		}
    
    		// Retrieve the credential's claims.
    		secret, err := getTokenSigningKey()
    		if err != nil {
    			c.Fatalf("Error getting token signing key: %v", err)
    		}
    		claims, err := getClaimsFromTokenWithSecret(value.SessionToken, secret)
    		if err != nil {
    			c.Fatalf("Error getting claims from token: %v", err)
    		}
    
    		// Validate claims. Check if the sshPublicKey claim is present.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  10. pilot/pkg/security/authn/policy_applier_test.go

    								ForwardOriginalToken: true,
    								OutputClaimToHeaders: []*v1beta1.ClaimToHeader{
    									{Header: "x-jwt-key1", Claim: "value1"},
    									{Header: "x-jwt-key2", Claim: "value2"},
    								},
    							},
    						},
    					},
    				},
    			},
    			expected: &hcm.HttpFilter{
    				Name: "envoy.filters.http.jwt_authn",
    				ConfigType: &hcm.HttpFilter_TypedConfig{
    					TypedConfig: protoconv.MessageToAny(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
Back to top