Versions in this module Expand all Collapse all v0 v0.4.1 Mar 7, 2022 Changes in this version + func NewAPIManagerMock() apim.APIManager + type APIManagerMock struct + func (m *APIManagerMock) AppendMapper(ctx context.Context, mp *dao.Mapper) error + func (m *APIManagerMock) CheckSubscription(ctx context.Context, en *apim.Base) (err error) + func (m *APIManagerMock) CreateEntity(ctx context.Context, en *apim.Base) (*apim.Base, error) + func (m *APIManagerMock) DeleteEntity(ctx context.Context, en *apim.Base) (err error) + func (m *APIManagerMock) GetEntity(ctx context.Context, en *apim.Base) (base *apim.Base, err error) + func (m *APIManagerMock) GetEntityConfigs(ctx context.Context, en *apim.Base, propertyIDs []string) (base *apim.Base, err error) + func (m *APIManagerMock) GetEntityProps(ctx context.Context, en *apim.Base, propertyKeys []string) (*apim.Base, error) + func (m *APIManagerMock) GetMapper(context.Context, *dao.Mapper) (*dao.Mapper, error) + func (m *APIManagerMock) ListMapper(context.Context, *apim.Base) ([]dao.Mapper, error) + func (m *APIManagerMock) OnRespond(ctx context.Context, resp *holder.Response) + func (m *APIManagerMock) PatchEntityConfigs(ctx context.Context, en *apim.Base, patchData []state.PatchData) (base *apim.Base, err error) + func (m *APIManagerMock) PatchEntityProps(ctx context.Context, en *apim.Base, patchData []state.PatchData) (base *apim.Base, err error) + func (m *APIManagerMock) RemoveEntityConfigs(ctx context.Context, en *apim.Base, propertyIDs []string) (base *apim.Base, err error) + func (m *APIManagerMock) RemoveMapper(ctx context.Context, mp *dao.Mapper) error + func (m *APIManagerMock) Start() error + func (m *APIManagerMock) UpdateEntity(ctx context.Context, en *apim.Base) (*apim.Base, error) + func (m *APIManagerMock) UpdateEntityConfigs(ctx context.Context, en *apim.Base) (base *apim.Base, err error) + func (m *APIManagerMock) UpdateEntityProps(ctx context.Context, en *apim.Base) (base *apim.Base, err error) v0.3.1 Feb 11, 2022 Changes in this version + func NewEntityManagerMock() entities.EntityManager + type EntityManagerMock struct + func (m *EntityManagerMock) AppendConfigs(ctx context.Context, en *statem.Base) (base *statem.Base, err error) + func (m *EntityManagerMock) AppendMapper(ctx context.Context, en *statem.Base) (base *statem.Base, err error) + func (m *EntityManagerMock) CheckSubscription(ctx context.Context, en *statem.Base) (err error) + func (m *EntityManagerMock) CreateEntity(ctx context.Context, en *statem.Base) (*statem.Base, error) + func (m *EntityManagerMock) DeleteEntity(ctx context.Context, en *statem.Base) (base *statem.Base, err error) + func (m *EntityManagerMock) GetProperties(ctx context.Context, en *statem.Base) (base *statem.Base, err error) + func (m *EntityManagerMock) OnMessage(ctx context.Context, msgCtx statem.MessageContext) + func (m *EntityManagerMock) PatchConfigs(ctx context.Context, en *statem.Base, patchData []*statem.PatchData) (base *statem.Base, err error) + func (m *EntityManagerMock) PatchEntity(ctx context.Context, en *statem.Base, patchData []*pb.PatchData) (base *statem.Base, err error) + func (m *EntityManagerMock) QueryConfigs(ctx context.Context, en *statem.Base, propertyIDs []string) (base *statem.Base, err error) + func (m *EntityManagerMock) RemoveConfigs(ctx context.Context, en *statem.Base, propertyIDs []string) (base *statem.Base, err error) + func (m *EntityManagerMock) RemoveMapper(ctx context.Context, en *statem.Base) (base *statem.Base, err error) + func (m *EntityManagerMock) SetConfigs(ctx context.Context, en *statem.Base) (base *statem.Base, err error) + func (m *EntityManagerMock) SetProperties(ctx context.Context, en *statem.Base) (base *statem.Base, err error) + func (m *EntityManagerMock) Start() error + type SearchMock struct + func NewSearchMock() *SearchMock + func (s *SearchMock) DeleteByID(context.Context, *pb.DeleteByIDRequest) (*pb.DeleteByIDResponse, error) + func (s *SearchMock) Index(context.Context, *pb.IndexObject) (*pb.IndexResponse, error) + func (s *SearchMock) Search(context.Context, *pb.SearchRequest) (*pb.SearchResponse, error)