MCPcopy
hub / github.com/helm/helm / History

Method History

pkg/storage/storage.go:212–216  ·  view source on GitHub ↗

History returns the revision history for the release with the provided name, or returns driver.ErrReleaseNotFound if no such release name exists.

(name string)

Source from the content-addressed store, hash-verified

210// History returns the revision history for the release with the provided name, or
211// returns driver.ErrReleaseNotFound if no such release name exists.
212func (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.

Callers 12

removeLeastRecentMethod · 0.95
LastMethod · 0.95
TestStorageDeleteFunction · 0.80
TestStorageHistoryFunction · 0.80
RunMethod · 0.80
availableNameMethod · 0.80
replaceReleaseMethod · 0.80
RunMethod · 0.80
prepareRollbackMethod · 0.80

Calls 2

LoggerMethod · 0.65
QueryMethod · 0.65