Documentation
¶
Index ¶
- type BundleReferenceConverter
- type BundleReferenceRepository
- func (_m *BundleReferenceRepository) Create(ctx context.Context, item *model.BundleReference) error
- func (_m *BundleReferenceRepository) DeleteByReferenceObjectID(ctx context.Context, bundleID string, ...) error
- func (_m *BundleReferenceRepository) GetBundleIDsForObject(ctx context.Context, objectType model.BundleReferenceObjectType, ...) ([]string, error)
- func (_m *BundleReferenceRepository) GetByID(ctx context.Context, objectType model.BundleReferenceObjectType, ...) (*model.BundleReference, error)
- func (_m *BundleReferenceRepository) ListByBundleIDs(ctx context.Context, objectType model.BundleReferenceObjectType, ...) ([]*model.BundleReference, map[string]int, error)
- func (_m *BundleReferenceRepository) Update(ctx context.Context, item *model.BundleReference) error
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleReferenceConverter ¶
BundleReferenceConverter is an autogenerated mock type for the BundleReferenceConverter type
func NewBundleReferenceConverter ¶
func NewBundleReferenceConverter(t interface { mock.TestingT Cleanup(func()) }) *BundleReferenceConverter
NewBundleReferenceConverter creates a new instance of BundleReferenceConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BundleReferenceConverter) FromEntity ¶
func (_m *BundleReferenceConverter) FromEntity(in bundlereferences.Entity) (model.BundleReference, error)
FromEntity provides a mock function with given fields: in
func (*BundleReferenceConverter) ToEntity ¶
func (_m *BundleReferenceConverter) ToEntity(in model.BundleReference) bundlereferences.Entity
ToEntity provides a mock function with given fields: in
type BundleReferenceRepository ¶
BundleReferenceRepository is an autogenerated mock type for the BundleReferenceRepository type
func NewBundleReferenceRepository ¶
func NewBundleReferenceRepository(t interface { mock.TestingT Cleanup(func()) }) *BundleReferenceRepository
NewBundleReferenceRepository creates a new instance of BundleReferenceRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BundleReferenceRepository) Create ¶
func (_m *BundleReferenceRepository) Create(ctx context.Context, item *model.BundleReference) error
Create provides a mock function with given fields: ctx, item
func (*BundleReferenceRepository) DeleteByReferenceObjectID ¶
func (_m *BundleReferenceRepository) DeleteByReferenceObjectID(ctx context.Context, bundleID string, objectType model.BundleReferenceObjectType, objectID string) error
DeleteByReferenceObjectID provides a mock function with given fields: ctx, bundleID, objectType, objectID
func (*BundleReferenceRepository) GetBundleIDsForObject ¶
func (_m *BundleReferenceRepository) GetBundleIDsForObject(ctx context.Context, objectType model.BundleReferenceObjectType, objectID *string) ([]string, error)
GetBundleIDsForObject provides a mock function with given fields: ctx, objectType, objectID
func (*BundleReferenceRepository) GetByID ¶
func (_m *BundleReferenceRepository) GetByID(ctx context.Context, objectType model.BundleReferenceObjectType, objectID *string, bundleID *string) (*model.BundleReference, error)
GetByID provides a mock function with given fields: ctx, objectType, objectID, bundleID
func (*BundleReferenceRepository) ListByBundleIDs ¶
func (_m *BundleReferenceRepository) ListByBundleIDs(ctx context.Context, objectType model.BundleReferenceObjectType, bundleIDs []string, pageSize int, cursor string) ([]*model.BundleReference, map[string]int, error)
ListByBundleIDs provides a mock function with given fields: ctx, objectType, bundleIDs, pageSize, cursor
func (*BundleReferenceRepository) Update ¶
func (_m *BundleReferenceRepository) Update(ctx context.Context, item *model.BundleReference) error
Update provides a mock function with given fields: ctx, item
type UIDService ¶
UIDService is an autogenerated mock type for the UIDService type
func NewUIDService ¶
func NewUIDService(t interface { mock.TestingT Cleanup(func()) }) *UIDService
NewUIDService creates a new instance of UIDService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UIDService) Generate ¶
func (_m *UIDService) Generate() string
Generate provides a mock function with given fields: