Documentation ¶
Index ¶
- type ApplicationTemplateService
- type ApplicationTemplateVersionRepository
- func (_m *ApplicationTemplateVersionRepository) Create(ctx context.Context, item model.ApplicationTemplateVersion) error
- func (_m *ApplicationTemplateVersionRepository) Exists(ctx context.Context, id string) (bool, error)
- func (_m *ApplicationTemplateVersionRepository) GetByAppTemplateIDAndVersion(ctx context.Context, appTemplateID string, version string) (*model.ApplicationTemplateVersion, error)
- func (_m *ApplicationTemplateVersionRepository) ListByAppTemplateID(ctx context.Context, appTemplateID string) ([]*model.ApplicationTemplateVersion, error)
- func (_m *ApplicationTemplateVersionRepository) Update(ctx context.Context, _a1 model.ApplicationTemplateVersion) error
- type EntityConverter
- type TimeService
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationTemplateService ¶
ApplicationTemplateService is an autogenerated mock type for the ApplicationTemplateService type
func NewApplicationTemplateService ¶
func NewApplicationTemplateService(t interface { mock.TestingT Cleanup(func()) }) *ApplicationTemplateService
NewApplicationTemplateService creates a new instance of ApplicationTemplateService. 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.
type ApplicationTemplateVersionRepository ¶
ApplicationTemplateVersionRepository is an autogenerated mock type for the ApplicationTemplateVersionRepository type
func NewApplicationTemplateVersionRepository ¶
func NewApplicationTemplateVersionRepository(t interface { mock.TestingT Cleanup(func()) }) *ApplicationTemplateVersionRepository
NewApplicationTemplateVersionRepository creates a new instance of ApplicationTemplateVersionRepository. 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 (*ApplicationTemplateVersionRepository) Create ¶
func (_m *ApplicationTemplateVersionRepository) Create(ctx context.Context, item model.ApplicationTemplateVersion) error
Create provides a mock function with given fields: ctx, item
func (*ApplicationTemplateVersionRepository) Exists ¶
func (_m *ApplicationTemplateVersionRepository) Exists(ctx context.Context, id string) (bool, error)
Exists provides a mock function with given fields: ctx, id
func (*ApplicationTemplateVersionRepository) GetByAppTemplateIDAndVersion ¶
func (_m *ApplicationTemplateVersionRepository) GetByAppTemplateIDAndVersion(ctx context.Context, appTemplateID string, version string) (*model.ApplicationTemplateVersion, error)
GetByAppTemplateIDAndVersion provides a mock function with given fields: ctx, appTemplateID, version
func (*ApplicationTemplateVersionRepository) ListByAppTemplateID ¶
func (_m *ApplicationTemplateVersionRepository) ListByAppTemplateID(ctx context.Context, appTemplateID string) ([]*model.ApplicationTemplateVersion, error)
ListByAppTemplateID provides a mock function with given fields: ctx, appTemplateID
func (*ApplicationTemplateVersionRepository) Update ¶
func (_m *ApplicationTemplateVersionRepository) Update(ctx context.Context, _a1 model.ApplicationTemplateVersion) error
Update provides a mock function with given fields: ctx, _a1
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 *apptemplateversion.Entity) *model.ApplicationTemplateVersion
FromEntity provides a mock function with given fields: entity
func (*EntityConverter) ToEntity ¶
func (_m *EntityConverter) ToEntity(in *model.ApplicationTemplateVersion) *apptemplateversion.Entity
ToEntity provides a mock function with given fields: in
type TimeService ¶
TimeService is an autogenerated mock type for the TimeService type
func NewTimeService ¶
func NewTimeService(t interface { mock.TestingT Cleanup(func()) }) *TimeService
NewTimeService creates a new instance of TimeService. 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 (*TimeService) Now ¶
func (_m *TimeService) Now() time.Time
Now provides a mock function with given fields:
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: