Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for shareable (0.24 sec)

  1. pkg/apis/resource/validation/validation_resourceclaim_test.go

    						DriverName: "valid",
    						Data:       strings.Repeat(" ", resource.ResourceHandleDataMaxSize),
    					}
    					handles = append(handles, handle)
    				}
    				return handles
    			}(),
    			Shareable: true,
    		},
    	}
    
    	scenarios := map[string]struct {
    		oldClaim     *resource.ResourceClaim
    		update       func(claim *resource.ResourceClaim) *resource.ResourceClaim
    		wantFailures field.ErrorList
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. pkg/scheduler/testing/wrappers.go

    func (wrapper *ClaimParametersWrapper) Namespace(s string) *ClaimParametersWrapper {
    	wrapper.SetNamespace(s)
    	return wrapper
    }
    
    func (wrapper *ClaimParametersWrapper) Shareable(value bool) *ClaimParametersWrapper {
    	wrapper.ResourceClaimParameters.Shareable = value
    	return wrapper
    }
    
    func (wrapper *ClaimParametersWrapper) GeneratedFrom(value *resourcev1alpha2.ResourceClaimParametersReference) *ClaimParametersWrapper {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part3_gradle_dep_man.adoc

    Gradle Terms of Service accepted.
    
    Publishing build scan...
    https://gradle.com/s/link
    ----
    
    A https://scans.gradle.com/[Build Scan] is a shareable and centralized record of a build and is available as a free service from Gradle.
    
    Click the link provided in the prompt: `https://gradle.com/s/link`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 22:40:17 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. pkg/controller/resourceclaim/controller_test.go

    	}
    
    	return claim
    }
    
    func allocateClaim(claim *resourcev1alpha2.ResourceClaim) *resourcev1alpha2.ResourceClaim {
    	claim = claim.DeepCopy()
    	claim.Status.Allocation = &resourcev1alpha2.AllocationResult{
    		Shareable: true,
    	}
    	return claim
    }
    
    func structuredParameters(claim *resourcev1alpha2.ResourceClaim) *resourcev1alpha2.ResourceClaim {
    	claim = claim.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 08:56:16 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/resource/v1alpha2/generated.pb.go

    		`ResourceHandles:` + repeatedStringForResourceHandles + `,`,
    		`AvailableOnNodes:` + strings.Replace(fmt.Sprintf("%v", this.AvailableOnNodes), "NodeSelector", "v1.NodeSelector", 1) + `,`,
    		`Shareable:` + fmt.Sprintf("%v", this.Shareable) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *AllocationResultModel) String() string {
    	if this == nil {
    		return "nil"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 261.9K bytes
    - Viewed (0)
  6. pkg/volume/local/local.go

    			}
    			if fsGroupNew != fsGroupOld {
    				m.plugin.recorder.Eventf(m.pod, v1.EventTypeWarning, events.WarnAlreadyMountedVolume, "The requested fsGroup is %d, but the volume %s has GID %d. The volume may not be shareable.", fsGroupNew, m.volName, fsGroupOld)
    			}
    		}
    
    	}
    
    	if runtime.GOOS != "windows" {
    		// skip below MkdirAll for windows since the "bind mount" logic is implemented differently in mount_wiondows.go
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. pkg/apis/resource/validation/validation.go

    		if resourceClaim.Status.Allocation == nil {
    			allErrs = append(allErrs, field.Forbidden(fldPath.Child("reservedFor"), "may not be specified when `allocated` is not set"))
    		} else {
    			if !resourceClaim.Status.Allocation.Shareable && len(resourceClaim.Status.ReservedFor) > 1 {
    				allErrs = append(allErrs, field.Forbidden(fldPath.Child("reservedFor"), "may not be reserved more than once"))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	claimParameters = st.MakeClaimParameters().Name(claimName).Namespace(namespace).
    			NamedResourcesRequests("some-driver", "true").
    			Shareable(true).
    			GeneratedFrom(&resourcev1alpha2.ResourceClaimParametersReference{
    			Name:     claimName,
    			Kind:     "ResourceClaimParameters",
    			APIGroup: "example.com",
    		}).
    		Obj()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	defaultClaimParameters := resourcev1alpha2.ResourceClaimParameters{
    		Shareable: true,
    		DriverRequests: []resourcev1alpha2.DriverRequests{
    			{
    				DriverName: class.DriverName,
    				Requests: []resourcev1alpha2.ResourceRequest{
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

                  }
                ],
                "default": {},
                "description": "Standard object metadata"
              },
              "shareable": {
                "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.",
                "type": "boolean"
              }
            },
            "type": "object",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
Back to top