Documentation ¶
Index ¶
- type Mock
- func (m *Mock) AssetByID(_ context.Context, assetID string, _ bool) (*model.Asset, error)
- func (m *Mock) AssetUpdate(_ context.Context, _ *model.Asset) error
- func (m *Mock) AssetsByOffsetLimit(_ context.Context, offset, limit int) (assets []*model.Asset, totalAssets int, err error)
- func (m *Mock) Kind() model.StoreKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
Mock is a mock store
func (*Mock) AssetByID ¶
AssetByID returns one asset from the inventory identified by its identifier.
func (*Mock) AssetUpdate ¶
AssetUpdate inserts and updates collected data for the asset in the store.
Click to show internal directories.
Click to hide internal directories.