getImage returns the container image address for the given name.
(name string)
| 168 | |
| 169 | // getImage returns the container image address for the given name. |
| 170 | func (m *PythonSdk) getImage(name string) Image { |
| 171 | image, exists := m.Discovery.Images[name] |
| 172 | if !exists { |
| 173 | return m.Discovery.DefaultImages[name] |
| 174 | } |
| 175 | return image |
| 176 | } |
| 177 | |
| 178 | // Load reads from the module source files and metadata. |
| 179 | // |