GetDockerClientInfo returns the Docker system information from the daemon
()
| 113 | |
| 114 | // GetDockerClientInfo returns the Docker system information from the daemon |
| 115 | func GetDockerClientInfo() (system.Info, error) { |
| 116 | dm, err := getDockerManagerInstance() |
| 117 | if err != nil { |
| 118 | return system.Info{}, err |
| 119 | } |
| 120 | return dm.info, nil |
| 121 | } |
| 122 | |
| 123 | // GetDockerContextNameAndHost returns the Docker context name and host |
| 124 | func GetDockerContextNameAndHost() (string, string, error) { |
no test coverage detected