Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isDefaultRegistryMatch (0.24 sec)

  1. pkg/credentialprovider/keyring.go

    }
    
    const (
    	defaultRegistryHost = "index.docker.io"
    	defaultRegistryKey  = defaultRegistryHost + "/v1/"
    )
    
    // isDefaultRegistryMatch determines whether the given image will
    // pull from the default registry (DockerHub) based on the
    // characteristics of its name.
    func isDefaultRegistryMatch(image string) bool {
    	parts := strings.SplitN(image, "/", 2)
    
    	if len(parts[0]) == 0 {
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.2K bytes
    - Viewed (0)
Back to top