Get retrieves the release from storage. An error is returned if the storage driver failed to fetch the release, or the release identified by the key, version pair does not exist.
(name string, version int)
| 54 | // if the storage driver failed to fetch the release, or the |
| 55 | // release identified by the key, version pair does not exist. |
| 56 | func (s *Storage) Get(name string, version int) (release.Releaser, error) { |
| 57 | s.Logger().Debug("getting release", "key", makeKey(name, version)) |
| 58 | return s.Driver.Get(makeKey(name, version)) |
| 59 | } |
| 60 | |
| 61 | // Create creates a new storage entry holding the release. An |
| 62 | // error is returned if the storage driver fails to store the |