Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + type Config struct + MaxKeys int64 + type Instance struct + func NewInstance() *Instance + func (s *Instance) FindOne(m func(i *internal.Instance) bool) (*internal.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 + func (s *Instance) UpdateState(iID internal.InstanceID, state internal.InstanceState) 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 + type RemoteEnvironment struct + func NewRemoteEnvironment() *RemoteEnvironment + func (s *RemoteEnvironment) FindAll() ([]*internal.RemoteEnvironment, error) + func (s *RemoteEnvironment) FindOneByServiceID(id internal.RemoteServiceID) (*internal.RemoteEnvironment, error) + func (s *RemoteEnvironment) Get(name internal.RemoteEnvironmentName) (*internal.RemoteEnvironment, error) + func (s *RemoteEnvironment) Remove(name internal.RemoteEnvironmentName) error + func (s *RemoteEnvironment) Upsert(re *internal.RemoteEnvironment) (bool, error)