Documentation ¶
Index ¶
- type ConstraintReferenceConverter
- func (_m *ConstraintReferenceConverter) FromEntity(e *formationtemplateconstraintreferences.Entity) *model.FormationTemplateConstraintReference
- func (_m *ConstraintReferenceConverter) ToEntity(in *model.FormationTemplateConstraintReference) *formationtemplateconstraintreferences.Entity
- func (_m *ConstraintReferenceConverter) ToGraphql(in *model.FormationTemplateConstraintReference) *graphql.ConstraintReference
- func (_m *ConstraintReferenceConverter) ToModel(in *graphql.ConstraintReference) *model.FormationTemplateConstraintReference
- type ConstraintReferenceService
- type FormationTemplateConstraintReferenceRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstraintReferenceConverter ¶
ConstraintReferenceConverter is an autogenerated mock type for the constraintReferenceConverter type
func NewConstraintReferenceConverter ¶
func NewConstraintReferenceConverter(t interface { mock.TestingT Cleanup(func()) }) *ConstraintReferenceConverter
NewConstraintReferenceConverter creates a new instance of ConstraintReferenceConverter. 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 (*ConstraintReferenceConverter) FromEntity ¶
func (_m *ConstraintReferenceConverter) FromEntity(e *formationtemplateconstraintreferences.Entity) *model.FormationTemplateConstraintReference
FromEntity provides a mock function with given fields: e
func (*ConstraintReferenceConverter) ToEntity ¶
func (_m *ConstraintReferenceConverter) ToEntity(in *model.FormationTemplateConstraintReference) *formationtemplateconstraintreferences.Entity
ToEntity provides a mock function with given fields: in
func (*ConstraintReferenceConverter) ToGraphql ¶
func (_m *ConstraintReferenceConverter) ToGraphql(in *model.FormationTemplateConstraintReference) *graphql.ConstraintReference
ToGraphql provides a mock function with given fields: in
func (*ConstraintReferenceConverter) ToModel ¶
func (_m *ConstraintReferenceConverter) ToModel(in *graphql.ConstraintReference) *model.FormationTemplateConstraintReference
ToModel provides a mock function with given fields: in
type ConstraintReferenceService ¶
ConstraintReferenceService is an autogenerated mock type for the constraintReferenceService type
func NewConstraintReferenceService ¶
func NewConstraintReferenceService(t interface { mock.TestingT Cleanup(func()) }) *ConstraintReferenceService
NewConstraintReferenceService creates a new instance of ConstraintReferenceService. 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 (*ConstraintReferenceService) Create ¶
func (_m *ConstraintReferenceService) Create(ctx context.Context, in *model.FormationTemplateConstraintReference) error
Create provides a mock function with given fields: ctx, in
type FormationTemplateConstraintReferenceRepository ¶
FormationTemplateConstraintReferenceRepository is an autogenerated mock type for the formationTemplateConstraintReferenceRepository type
func NewFormationTemplateConstraintReferenceRepository ¶
func NewFormationTemplateConstraintReferenceRepository(t interface { mock.TestingT Cleanup(func()) }) *FormationTemplateConstraintReferenceRepository
NewFormationTemplateConstraintReferenceRepository creates a new instance of FormationTemplateConstraintReferenceRepository. 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 (*FormationTemplateConstraintReferenceRepository) Create ¶
func (_m *FormationTemplateConstraintReferenceRepository) Create(ctx context.Context, item *model.FormationTemplateConstraintReference) error
Create provides a mock function with given fields: ctx, item