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 ¶
View Source
var ErrNotFound = errors.New("release not found")
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) History ¶
History returns the history of this release, in the form of a series of releases.
Click to show internal directories.
Click to hide internal directories.