Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,061 for claim (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// Either claim or expression must be set.
    	// Mutually exclusive with expression.
    	// +optional
    	Claim string `json:"claim,omitempty"`
    
    	// expression represents the expression which will be evaluated by CEL.
    	//
    	// CEL expressions have access to the contents of the token claims, organized into CEL variable:
    	// - 'claims' is a map of claim names to claim values.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/authentication/cel/interface.go

    }
    
    // ClaimsMapper provides a CEL expression mapper configured with the claims CEL variable.
    type ClaimsMapper interface {
    	// EvalClaimMapping evaluates the given claim mapping expression and returns a EvaluationResult.
    	// This is used for username, groups and uid claim mapping that contains a single expression.
    	EvalClaimMapping(ctx context.Context, claims *unstructured.Unstructured) (EvaluationResult, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. 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)
  5. pkg/controller/statefulset/stateful_pod_control.go

    				updateClaimOwnerRefForSetAndPod(logger, claim, set, pod)
    				if err := spc.objectMgr.UpdateClaim(claim); err != nil {
    					return fmt.Errorf("could not update claim %s for delete policy ownerRefs: %w", claimName, err)
    				}
    			}
    		}
    	}
    	return nil
    }
    
    // PodClaimIsStale returns true for a stale PVC that should block pod creation. If the scaling
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. pkg/registry/resource/resourceclaim/storage/storage_test.go

    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    
    	claim := claimStart.DeepCopy()
    	claim.Status.DriverName = "some-driver.example.com"
    	claim.Status.Allocation = &resource.AllocationResult{}
    	_, _, err = statusStorage.Update(ctx, claim.Name, rest.DefaultUpdatedObjectInfo(claim), rest.ValidateAllObjectFunc, rest.ValidateAllObjectUpdateFunc, false, &metav1.UpdateOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/volumemanager/volume_manager_test.go

    	}
    	defer os.RemoveAll(tmpDir)
    	podManager := kubepod.NewBasicPodManager()
    
    	node, pod, pv, claim := createObjects(v1.PersistentVolumeFilesystem, v1.PersistentVolumeFilesystem)
    	claim.Status = v1.PersistentVolumeClaimStatus{
    		Phase: v1.ClaimPending,
    	}
    
    	kubeClient := fake.NewSimpleClientset(node, pod, pv, claim)
    
    	manager := newTestVolumeManager(t, tmpDir, podManager, kubeClient, node)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. pkg/kubeapiserver/options/authentication_test.go

    			},
    		},
    		{
    			name: "groups claim exists",
    			args: []string{
    				"--oidc-issuer-url=https://testIssuerURL",
    				"--oidc-client-id=testClientID",
    				"--oidc-username-claim=sub",
    				"--oidc-username-prefix=-",
    				"--oidc-groups-claim=groups",
    				"--oidc-groups-prefix=oidc:",
    				"--oidc-signing-algs=RS256",
    				"--oidc-required-claim=foo=bar",
    			},
    			expectConfig: kubeauthenticator.Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/state/state_checkpoint.go

    }
    
    // ClaimInfoState is used to store claim info state in a checkpoint
    // +k8s:deepcopy-gen=true
    type ClaimInfoState struct {
    	// Name of the DRA driver
    	DriverName string
    
    	// ClassName is a resource class of the claim
    	ClassName string
    
    	// ClaimUID is an UID of the resource claim
    	ClaimUID types.UID
    
    	// ClaimName is a name of the resource claim
    	ClaimName string
    
    	// Namespace is a claim namespace
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top