- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ReadDockerConfigFileFromBytes (0.18 sec)
-
pkg/credentialprovider/config.go
return nil, err } if limitedReader.N <= 0 { return nil, errors.New("the read limit is reached") } return contents, nil } // ReadDockerConfigFileFromBytes read a docker config file from the given bytes func ReadDockerConfigFileFromBytes(contents []byte) (cfg DockerConfig, err error) { if err = json.Unmarshal(contents, &cfg); err != nil { return nil, errors.New("error occurred while trying to unmarshal json")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 19 15:11:57 UTC 2023 - 9.3K bytes - Viewed (0)