Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,061 for claim (0.05 sec)

  1. pkg/registry/resource/resourceclaim/strategy.go

    	claim := obj.(*resource.ResourceClaim)
    	// Status must not be set by user on create.
    	claim.Status = resource.ResourceClaimStatus{}
    }
    
    func (resourceclaimStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	claim := obj.(*resource.ResourceClaim)
    	return validation.ValidateClaim(claim)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. releasenotes/notes/44355.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    issue:
      - 44228
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 205 bytes
    - Viewed (0)
  3. pkg/apis/resource/v1alpha2/defaults_test.go

    	_ "k8s.io/kubernetes/pkg/apis/resource/install"
    )
    
    func TestSetDefaultAllocationMode(t *testing.T) {
    	claim := &v1alpha2.ResourceClaim{}
    
    	// field should be defaulted
    	defaultMode := v1alpha2.AllocationModeWaitForFirstConsumer
    	output := roundTrip(t, runtime.Object(claim)).(*v1alpha2.ResourceClaim)
    	outMode := output.Spec.AllocationMode
    	if outMode != defaultMode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 06:52:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. plugin/pkg/admission/storage/storageclass/setdefault/admission_test.go

    			claimWithNoClass,
    			false,
    			classWithCreateTime1.Name,
    		},
    	}
    
    	for _, test := range tests {
    		klog.V(4).Infof("starting test %q", test.name)
    
    		// clone the claim, it's going to be modified
    		claim := test.claim.DeepCopy()
    
    		ctrl := newPlugin()
    		informerFactory := informers.NewSharedInformerFactory(nil, controller.NoResyncPeriodFunc())
    		ctrl.SetExternalKubeInformerFactory(informerFactory)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 19 04:00:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  5. docs/sts/README.md

    decode the id_token to access the payload of the token that includes following JWT claims, `policy` claim is mandatory and should be present as part of your JWT claim. Without this claim the generated credentials will not have access to any resources on the server, using these credentials application would receive 'Access Denied' errors.
    
    | Claim Name | Type                                              | Claim Value                                                                           ...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/recycle_test.go

    			// recycle success - volume bound by user is recycled, while a new
    			// claim is created with another UID.
    			name:            "6-9 - prebound volume is recycled while the claim exists",
    			initialVolumes:  newVolumeArray("volume6-9", "1Gi", "uid6-9", "claim6-9", v1.VolumeBound, v1.PersistentVolumeReclaimRecycle, classEmpty),
    			expectedVolumes: newVolumeArray("volume6-9", "1Gi", "", "claim6-9", v1.VolumeAvailable, v1.PersistentVolumeReclaimRecycle, classEmpty),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. pkg/apis/resource/install/install_test.go

    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	internal "k8s.io/kubernetes/pkg/apis/resource"
    )
    
    func TestResourceVersioner(t *testing.T) {
    	claim := internal.ResourceClaim{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "10"}}
    	version, err := meta.NewAccessor().ResourceVersion(&claim)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if version != "10" {
    		t.Errorf("unexpected version %v", version)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 06:52:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. internal/jwt/parser_test.go

    			var err error
    
    			// Figure out correct claims type
    			switch claims := data.claims.(type) {
    			case *MapClaims:
    				if data.tokenString == "" {
    					data.tokenString = mapClaimsToken(claims)
    				}
    				err = ParseWithClaims(data.tokenString, &MapClaims{}, data.keyfunc)
    			case *StandardClaims:
    				if data.tokenString == "" {
    					data.tokenString = standardClaimsToken(claims)
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. pkg/test/framework/components/namespace/namespace.go

    	IsAmbient() bool
    	IsInjected() bool
    }
    
    // Claim an existing namespace in all clusters, or create a new one if doesn't exist.
    func Claim(ctx resource.Context, cfg Config) (i Instance, err error) {
    	cfg.overwriteRevisionIfEmpty(ctx.Settings().Revisions.Default())
    	return claimKube(ctx, cfg)
    }
    
    // ClaimOrFail calls Claim and fails test if it returns error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 18:12:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_control_test.go

    		if !podInOrdinalRange(pod, set) {
    			if !hasOwnerRef(claim, pod) || hasOwnerRef(claim, set) {
    				return fmt.Errorf("condemned claim %s has bad owner refs: %v", claim.Name, claim.GetOwnerReferences())
    			}
    		} else {
    			if hasOwnerRef(claim, pod) || !hasOwnerRef(claim, set) {
    				return fmt.Errorf("live claim %s has bad owner refs: %v", claim.Name, claim.GetOwnerReferences())
    			}
    		}
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
Back to top