Documentation ¶
Index ¶
- type AssignmentOperationRepository
- func (_m *AssignmentOperationRepository) Create(ctx context.Context, item *model.AssignmentOperation) error
- func (_m *AssignmentOperationRepository) DeleteByIDs(ctx context.Context, ids []string) error
- func (_m *AssignmentOperationRepository) GetLatestOperation(ctx context.Context, formationAssignmentID string, formationID string) (*model.AssignmentOperation, error)
- func (_m *AssignmentOperationRepository) ListForFormationAssignmentIDs(ctx context.Context, assignmentIDs []string, pageSize int, cursor string) ([]*model.AssignmentOperationPage, error)
- func (_m *AssignmentOperationRepository) Update(ctx context.Context, m *model.AssignmentOperation) error
- type EntityConverter
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignmentOperationRepository ¶
AssignmentOperationRepository is an autogenerated mock type for the AssignmentOperationRepository type
func NewAssignmentOperationRepository ¶
func NewAssignmentOperationRepository(t interface { mock.TestingT Cleanup(func()) }) *AssignmentOperationRepository
NewAssignmentOperationRepository creates a new instance of AssignmentOperationRepository. 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 (*AssignmentOperationRepository) Create ¶
func (_m *AssignmentOperationRepository) Create(ctx context.Context, item *model.AssignmentOperation) error
Create provides a mock function with given fields: ctx, item
func (*AssignmentOperationRepository) DeleteByIDs ¶
func (_m *AssignmentOperationRepository) DeleteByIDs(ctx context.Context, ids []string) error
DeleteByIDs provides a mock function with given fields: ctx, ids
func (*AssignmentOperationRepository) GetLatestOperation ¶
func (_m *AssignmentOperationRepository) GetLatestOperation(ctx context.Context, formationAssignmentID string, formationID string) (*model.AssignmentOperation, error)
GetLatestOperation provides a mock function with given fields: ctx, formationAssignmentID, formationID
func (*AssignmentOperationRepository) ListForFormationAssignmentIDs ¶
func (_m *AssignmentOperationRepository) ListForFormationAssignmentIDs(ctx context.Context, assignmentIDs []string, pageSize int, cursor string) ([]*model.AssignmentOperationPage, error)
ListForFormationAssignmentIDs provides a mock function with given fields: ctx, assignmentIDs, pageSize, cursor
func (*AssignmentOperationRepository) Update ¶
func (_m *AssignmentOperationRepository) Update(ctx context.Context, m *model.AssignmentOperation) error
Update provides a mock function with given fields: ctx, m
type EntityConverter ¶
EntityConverter is an autogenerated mock type for the EntityConverter type
func NewEntityConverter ¶
func NewEntityConverter(t interface { mock.TestingT Cleanup(func()) }) *EntityConverter
NewEntityConverter creates a new instance of EntityConverter. 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 (*EntityConverter) FromEntity ¶
func (_m *EntityConverter) FromEntity(entity *assignmentOperation.Entity) *model.AssignmentOperation
FromEntity provides a mock function with given fields: entity
func (*EntityConverter) ToEntity ¶
func (_m *EntityConverter) ToEntity(in *model.AssignmentOperation) *assignmentOperation.Entity
ToEntity provides a mock function with given fields: in
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: