Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExtractContainerResourceValue (0.17 sec)

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

    	}
    
    	container := realContainer.DeepCopy()
    
    	MergeContainerResourceLimits(container, nodeAllocatable)
    
    	return ExtractContainerResourceValue(fs, container)
    }
    
    // ExtractContainerResourceValue extracts the value of a resource
    // in an already known container
    func ExtractContainerResourceValue(fs *v1.ResourceFieldSelector, container *v1.Container) (string, error) {
    	divisor := resource.Quantity{}
    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