Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for applyNonMissing (0.19 sec)

  1. pkg/api/v1/resource/helpers.go

    	if !opts.ExcludeOverhead && pod.Spec.Overhead != nil {
    		addResourceList(reqs, pod.Spec.Overhead)
    	}
    
    	return reqs
    }
    
    // applyNonMissing will return a copy of the given resource list with any missing values replaced by the nonMissing values
    func applyNonMissing(reqs v1.ResourceList, nonMissing v1.ResourceList) v1.ResourceList {
    	cp := v1.ResourceList{}
    	for k, v := range reqs {
    		cp[k] = v.DeepCopy()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 13:58:16 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top