Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ImageExists (0.09 sec)

  1. cmd/kubeadm/app/util/runtime/runtime.go

    		}()
    	}
    
    	for i := 0; i < len(images); i++ {
    		if err := <-errChan; err != nil {
    			errs = append(errs, err)
    		}
    	}
    
    	return errs
    }
    
    // ImageExists checks to see if the image exists on the system
    func (runtime *CRIRuntime) ImageExists(image string) bool {
    	ctx, cancel := defaultContext()
    	defer cancel()
    	_, err := runtime.impl.ImageStatus(ctx, runtime.imageService, &runtimeapi.ImageSpec{Image: image}, false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top