Documentation ¶
Overview ¶
Package storage implements storage for Tiller objects.
Tiller stores releases (see 'cmd/tiller/environment'.Environment). The backend storage mechanism may be implemented with different backends. This package and its subpackages provide storage layers for Tiller objects.
Index ¶
- Variables
- type Memory
- func (m *Memory) Create(rel *release.Release) error
- func (m *Memory) Delete(name string) (*release.Release, error)
- func (m *Memory) History(name string) ([]*release.Release, error)
- func (m *Memory) List() ([]*release.Release, error)
- func (m *Memory) Query(labels map[string]string) ([]*release.Release, error)
- func (m *Memory) Read(k string) (*release.Release, error)
- func (m *Memory) Update(rel *release.Release) error
Constants ¶
This section is empty.
Variables ¶
ErrNotFound indicates that a release is not found.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
Memory is an in-memory ReleaseStorage implementation.
func (*Memory) Delete ¶
Delete removes a release.
func (*Memory) History ¶
History returns the history of this release, in the form of a series of releases.
func (*Memory) List ¶
List returns all releases whose status is not Status_DELETED.
func (*Memory) Query ¶
Query searches all releases for matches.
func (*Memory) Read ¶
Read returns the named Release.
If the release is not found, an ErrNotFound error is returned.