MCPcopy
hub / github.com/helm/helm / Get

Method Get

pkg/storage/storage.go:56–59  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

54// if the storage driver failed to fetch the release, or the
55// release identified by the key, version pair does not exist.
56func (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

Callers

nothing calls this directly

Calls 3

makeKeyFunction · 0.85
LoggerMethod · 0.65
GetMethod · 0.65

Tested by

no test coverage detected