Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SearchPaths (0.14 sec)

  1. pkg/credentialprovider/config.go

    }
    
    // ReadDockercfgFile attempts to read a legacy dockercfg file from the given paths.
    // if searchPaths is empty, the default paths are used.
    func ReadDockercfgFile(searchPaths []string) (cfg DockerConfig, err error) {
    	if len(searchPaths) == 0 {
    		searchPaths = DefaultDockercfgPaths()
    	}
    
    	for _, configPath := range searchPaths {
    		absDockerConfigFileLocation, err := filepath.Abs(filepath.Join(configPath, configFileName))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top