Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for resourceclaim (0.2 sec)

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

    	newClaim := obj.(*resource.ResourceClaim)
    	oldClaim := old.(*resource.ResourceClaim)
    	newClaim.Status = oldClaim.Status
    }
    
    func (resourceclaimStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	newClaim := obj.(*resource.ResourceClaim)
    	oldClaim := old.(*resource.ResourceClaim)
    	errorList := validation.ValidateClaim(newClaim)
    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. staging/src/k8s.io/api/resource/v1alpha2/register.go

    )
    
    // Adds the list of known types to the given scheme.
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&ResourceClass{},
    		&ResourceClassList{},
    		&ResourceClaim{},
    		&ResourceClaimList{},
    		&ResourceClaimTemplate{},
    		&ResourceClaimTemplateList{},
    		&PodSchedulingContext{},
    		&PodSchedulingContextList{},
    		&ResourceSlice{},
    		&ResourceSliceList{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pkg/apis/resource/register.go

    	if err := scheme.AddIgnoredConversionType(&metav1.TypeMeta{}, &metav1.TypeMeta{}); err != nil {
    		return err
    	}
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&ResourceClass{},
    		&ResourceClassList{},
    		&ResourceClaim{},
    		&ResourceClaimList{},
    		&ResourceClaimTemplate{},
    		&ResourceClaimTemplateList{},
    		&PodSchedulingContext{},
    		&PodSchedulingContextList{},
    		&ResourceSlice{},
    		&ResourceSliceList{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go

    	for _, obj := range objs {
    		claim, ok := obj.(*resourcev1alpha2.ResourceClaim)
    		if !ok {
    			return nil, fmt.Errorf("got unexpected object of type %T from claim assume cache", obj)
    		}
    		if obj, ok := inFlightAllocations.Load(claim.UID); ok {
    			// If the allocation is in-flight, then we have to use the allocation
    			// from that claim.
    			claim = obj.(*resourcev1alpha2.ResourceClaim)
    		}
    		if claim.Status.Allocation == nil {
    			continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 09:03:22 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/claiminfo.go

    func newClaimInfoFromClaim(claim *resourcev1alpha2.ResourceClaim) *ClaimInfo {
    	// Grab the allocation.resourceHandles. If there are no
    	// allocation.resourceHandles, create a single resourceHandle with no
    	// content. This will trigger processing of this claim by a single
    	// kubelet plugin whose name matches resourceClaim.Status.DriverName.
    	resourceHandles := claim.Status.Allocation.ResourceHandles
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. pkg/registry/resource/rest/storage_resource.go

    	resourceclaimstore "k8s.io/kubernetes/pkg/registry/resource/resourceclaim/storage"
    	resourceclaimparametersstore "k8s.io/kubernetes/pkg/registry/resource/resourceclaimparameters/storage"
    	resourceclaimtemplatestore "k8s.io/kubernetes/pkg/registry/resource/resourceclaimtemplate/storage"
    	resourceclassstore "k8s.io/kubernetes/pkg/registry/resource/resourceclass/storage"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. pkg/registry/resource/resourceclaimparameters/strategy.go

    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	parameters, ok := obj.(*resource.ResourceClaimParameters)
    	if !ok {
    		return nil, nil, errors.New("not a resourceclaim")
    	}
    	return labels.Set(parameters.Labels), toSelectableFields(parameters), nil
    }
    
    // toSelectableFields returns a field set that represents the object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/names/controller_names.go

    	EphemeralVolumeController                    = "ephemeral-volume-controller"
    	StorageVersionGarbageCollectorController     = "storageversion-garbage-collector-controller"
    	ResourceClaimController                      = "resourceclaim-controller"
    	LegacyServiceAccountTokenCleanerController   = "legacy-serviceaccount-token-cleaner-controller"
    	ValidatingAdmissionPolicyStatusController    = "validatingadmissionpolicy-status-controller"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. pkg/registry/resource/podschedulingcontext/strategy.go

    type podSchedulingStrategy struct {
    	runtime.ObjectTyper
    	names.NameGenerator
    }
    
    // Strategy is the default logic that applies when creating and updating
    // ResourceClaim objects via the REST API.
    var Strategy = podSchedulingStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
    
    func (podSchedulingStrategy) NamespaceScoped() bool {
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/v1/default_plugins.go

    		// This plugin should come before DefaultPreemption because if
    		// there is a problem with a Pod and PostFilter gets called to
    		// resolve the problem, it is better to first deallocate an
    		// idle ResourceClaim than it is to evict some Pod that might
    		// be doing useful work.
    		for i := range config.MultiPoint.Enabled {
    			if config.MultiPoint.Enabled[i].Name == names.DefaultPreemption {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top