Versions in this module Expand all Collapse all v1 v1.1.0 Jun 30, 2020 Changes in this version + type BindOperation struct + func NewBindOperation() *BindOperation + func (s *BindOperation) Get(iID internal.InstanceID, bID internal.BindingID, opID internal.OperationID) (*internal.BindOperation, error) + func (s *BindOperation) GetAll(iID internal.InstanceID) ([]*internal.BindOperation, error) + func (s *BindOperation) Insert(bo *internal.BindOperation) error + func (s *BindOperation) Remove(iID internal.InstanceID, bID internal.BindingID, opID internal.OperationID) error + func (s *BindOperation) UpdateState(iID internal.InstanceID, bID internal.BindingID, opID internal.OperationID, ...) error + func (s *BindOperation) UpdateStateDesc(iID internal.InstanceID, bID internal.BindingID, opID internal.OperationID, ...) error + func (s *BindOperation) WithTimeProvider(nowProvider func() time.Time) *BindOperation type Instance + func (s *Instance) Upsert(i *internal.Instance) (replaced bool, err error) v1.0.0 Oct 25, 2019 Changes in this version + type Addon struct + func NewAddon() *Addon + func (s *Addon) FindAll(namespace internal.Namespace) ([]*internal.Addon, error) + func (s *Addon) Get(namespace internal.Namespace, name internal.AddonName, ver semver.Version) (*internal.Addon, error) + func (s *Addon) GetByID(namespace internal.Namespace, id internal.AddonID) (*internal.Addon, error) + func (s *Addon) Remove(namespace internal.Namespace, name internal.AddonName, ver semver.Version) error + func (s *Addon) RemoveAll(namespace internal.Namespace) error + func (s *Addon) RemoveByID(namespace internal.Namespace, id internal.AddonID) error + func (s *Addon) Upsert(namespace internal.Namespace, addon *internal.Addon) (replaced bool, err error) + type Chart struct + func NewChart() *Chart + func (s *Chart) Get(namespace internal.Namespace, name internal.ChartName, ver semver.Version) (*chart.Chart, error) + func (s *Chart) Remove(namespace internal.Namespace, name internal.ChartName, ver semver.Version) error + func (s *Chart) Upsert(namespace internal.Namespace, c *chart.Chart) (replaced bool, err error) + type Config struct + MaxKeys int64 + type Instance struct + func NewInstance() *Instance + func (s *Instance) Get(id internal.InstanceID) (*internal.Instance, error) + func (s *Instance) GetAll() ([]*internal.Instance, error) + func (s *Instance) Insert(i *internal.Instance) error + func (s *Instance) Remove(id internal.InstanceID) error + type InstanceBindData struct + func NewInstanceBindData() *InstanceBindData + 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() *InstanceOperation + 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