Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isCached (0.1 sec)

  1. pkg/kubelet/status/status_manager.go

    	// ensure that all containers have a terminated state - because we do not know whether the container
    	// was successful, always report an error
    	oldStatus := &pod.Status
    	cachedStatus, isCached := m.podStatuses[pod.UID]
    	if isCached {
    		oldStatus = &cachedStatus.status
    	}
    	status := *oldStatus.DeepCopy()
    
    	// once a pod has initialized, any missing status is treated as a failure
    	if hasPodInitialized(pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation.go

    	if _, ok := volumes[name]; ok {
    		return true
    	}
    	return false
    }
    
    // isMatched checks whether the volume with the given name is used by a
    // container and if so, if it involves a PVC.
    func isMatchedDevice(name string, volumes map[string]core.VolumeSource) (isMatched bool, isPVC bool) {
    	if source, ok := volumes[name]; ok {
    		if source.PersistentVolumeClaim != nil ||
    			source.Ephemeral != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top