History returns the revision history for the release with the provided name, or returns driver.ErrReleaseNotFound if no such release name exists.
(name string)
| 210 | // History returns the revision history for the release with the provided name, or |
| 211 | // returns driver.ErrReleaseNotFound if no such release name exists. |
| 212 | func (s *Storage) History(name string) ([]release.Releaser, error) { |
| 213 | s.Logger().Debug("getting release history", "name", name) |
| 214 | |
| 215 | return s.Query(map[string]string{"name": name, "owner": "helm"}) |
| 216 | } |
| 217 | |
| 218 | // removeLeastRecent removes items from history until the length number of releases |
| 219 | // does not exceed max. |