Get returns the EngineDefinition for the given ID, or nil if not found.
(id string)
| 200 | |
| 201 | // Get returns the EngineDefinition for the given ID, or nil if not found. |
| 202 | func (c *EngineCatalog) Get(id string) *EngineDefinition { |
| 203 | return c.definitions[id] |
| 204 | } |
| 205 | |
| 206 | // IDs returns a sorted list of all engine IDs in the catalog. |
| 207 | func (c *EngineCatalog) IDs() []string { |
no outgoing calls