Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + type Bundle struct + func NewBundle(cli clientv3.KV) (*Bundle, error) + func (s *Bundle) FindAll() ([]*internal.Bundle, error) + func (s *Bundle) Get(name internal.BundleName, ver semver.Version) (*internal.Bundle, error) + func (s *Bundle) GetByID(id internal.BundleID) (*internal.Bundle, error) + func (s *Bundle) Remove(name internal.BundleName, ver semver.Version) error + func (s *Bundle) RemoveByID(id internal.BundleID) error + func (s *Bundle) Upsert(b *internal.Bundle) (bool, error) + type Chart struct + func NewChart(cli clientv3.KV) (*Chart, error) + func (s *Chart) Get(name internal.ChartName, ver semver.Version) (*chart.Chart, error) + func (s *Chart) Remove(name internal.ChartName, ver semver.Version) error + func (s *Chart) Upsert(c *chart.Chart) (replaced bool, err error) + type Client interface + func NewClient(cfg Config) (Client, error) + type Config struct + Endpoints []string + ForceClient *clientv3.Client + Password string + Username string + type Instance struct + func NewInstance(cli clientv3.KV) (*Instance, error) + func (s *Instance) Get(id internal.InstanceID) (*internal.Instance, error) + func (s *Instance) Insert(i *internal.Instance) error + func (s *Instance) Remove(id internal.InstanceID) error + type InstanceBindData struct + func NewInstanceBindData(cli clientv3.KV) (*InstanceBindData, error) + func (s *InstanceBindData) Get(iID internal.InstanceID) (*internal.InstanceBindData, error) + func (s *InstanceBindData) Insert(ibd *internal.InstanceBindData) error + func (s *InstanceBindData) Remove(iID internal.InstanceID) error + type InstanceOperation struct + func NewInstanceOperation(cli clientv3.KV) (*InstanceOperation, error) + func (s *InstanceOperation) Get(iID internal.InstanceID, opID internal.OperationID) (*internal.InstanceOperation, error) + func (s *InstanceOperation) GetAll(iID internal.InstanceID) ([]*internal.InstanceOperation, error) + func (s *InstanceOperation) Insert(io *internal.InstanceOperation) error + func (s *InstanceOperation) Remove(iID internal.InstanceID, opID internal.OperationID) error + func (s *InstanceOperation) UpdateState(iID internal.InstanceID, opID internal.OperationID, ...) error + func (s *InstanceOperation) UpdateStateDesc(iID internal.InstanceID, opID internal.OperationID, ...) error + func (s *InstanceOperation) WithTimeProvider(nowProvider func() time.Time) *InstanceOperation