Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for resourcequotastore (0.36 sec)

  1. staging/src/k8s.io/api/core/v1/types.go

    	// Match all pod objects that have best effort quality of service
    	ResourceQuotaScopeBestEffort ResourceQuotaScope = "BestEffort"
    	// Match all pod objects that do not have best effort quality of service
    	ResourceQuotaScopeNotBestEffort ResourceQuotaScope = "NotBestEffort"
    	// Match all pod objects that have priority class mentioned
    	ResourceQuotaScopePriorityClass ResourceQuotaScope = "PriorityClass"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation_test.go

    			core.ResourceLimitsCPU: resource.MustParse("200"),
    		},
    		Scopes: []core.ResourceQuotaScope{core.ResourceQuotaScopeTerminating},
    	}
    
    	nonTerminatingSpec := core.ResourceQuotaSpec{
    		Hard: core.ResourceList{
    			core.ResourceCPU: resource.MustParse("100"),
    		},
    		Scopes: []core.ResourceQuotaScope{core.ResourceQuotaScopeNotTerminating},
    	}
    
    	bestEffortSpec := core.ResourceQuotaSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/validation.go

    		return allErrs
    	}
    	hardLimits := sets.New[core.ResourceName]()
    	for k := range resourceQuotaSpec.Hard {
    		hardLimits.Insert(k)
    	}
    	fldPath := fld.Child("scopes")
    	scopeSet := sets.New[core.ResourceQuotaScope]()
    	for _, scope := range resourceQuotaSpec.Scopes {
    		if !helper.IsStandardResourceQuotaScope(scope) {
    			allErrs = append(allErrs, field.Invalid(fldPath, resourceQuotaSpec.Scopes, "unsupported scope"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/zz_generated.conversion.go

    func autoConvert_v1_ResourceQuotaSpec_To_core_ResourceQuotaSpec(in *v1.ResourceQuotaSpec, out *core.ResourceQuotaSpec, s conversion.Scope) error {
    	out.Hard = *(*core.ResourceList)(unsafe.Pointer(&in.Hard))
    	out.Scopes = *(*[]core.ResourceQuotaScope)(unsafe.Pointer(&in.Scopes))
    	out.ScopeSelector = (*core.ScopeSelector)(unsafe.Pointer(in.ScopeSelector))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  5. pkg/apis/core/zz_generated.deepcopy.go

    		*out = make(ResourceList, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val.DeepCopy()
    		}
    	}
    	if in.Scopes != nil {
    		in, out := &in.Scopes, &out.Scopes
    		*out = make([]ResourceQuotaScope, len(*in))
    		copy(*out, *in)
    	}
    	if in.ScopeSelector != nil {
    		in, out := &in.ScopeSelector, &out.ScopeSelector
    		*out = new(ScopeSelector)
    		(*in).DeepCopyInto(*out)
    	}
    	return
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    		*out = make(ResourceList, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val.DeepCopy()
    		}
    	}
    	if in.Scopes != nil {
    		in, out := &in.Scopes, &out.Scopes
    		*out = make([]ResourceQuotaScope, len(*in))
    		copy(*out, *in)
    	}
    	if in.ScopeSelector != nil {
    		in, out := &in.ScopeSelector, &out.ScopeSelector
    		*out = new(ScopeSelector)
    		(*in).DeepCopyInto(*out)
    	}
    	return
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/generated.pb.go

    			postIndex := iNdEx + intStringLen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Scopes = append(m.Scopes, ResourceQuotaScope(dAtA[iNdEx:postIndex]))
    			iNdEx = postIndex
    		case 3:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field ScopeSelector", wireType)
    			}
    			var msglen int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
Back to top