Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for claim (0.53 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pilot/pkg/networking/core/route/route.go

    // The currently only supported header is @request.auth.claims for JWT claims matching. Claims of type string or list of string
    // are supported and nested claims are also supported using `.` or `[]` as a separator for claim names, `[]` is recommended.
    //
    // Examples using `.` as a separator:
    // - `@request.auth.claims.admin` matches the claim "admin".
    // - `@request.auth.claims.group.id` matches the nested claims "group" and "id".
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/types.go

    	// volumeClaimTemplates is a list of claims that pods are allowed to reference.
    	// The StatefulSet controller is responsible for mapping network identities to
    	// claims in a way that maintains the identity of a pod. Every claim in
    	// this list must have at least one matching (by name) volumeMount in one
    	// container in the template. A claim in this list takes precedence over
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
Back to top