Documentation
¶
Index ¶
- type DocumentConverter
- type DocumentRepository
- func (_m *DocumentRepository) Create(item *model.Document) error
- func (_m *DocumentRepository) Delete(item *model.Document) error
- func (_m *DocumentRepository) GetByID(id string) (*model.Document, error)
- func (_m *DocumentRepository) ListByApplicationID(applicationID string, pageSize *int, cursor *string) (*model.DocumentPage, error)
- type DocumentService
- type FetchRequestConverter
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocumentConverter ¶
DocumentConverter is an autogenerated mock type for the DocumentConverter type
func (*DocumentConverter) InputFromGraphQL ¶
func (_m *DocumentConverter) InputFromGraphQL(in *graphql.DocumentInput) *model.DocumentInput
InputFromGraphQL provides a mock function with given fields: in
type DocumentRepository ¶
DocumentRepository is an autogenerated mock type for the DocumentRepository type
func (*DocumentRepository) Create ¶
func (_m *DocumentRepository) Create(item *model.Document) error
Create provides a mock function with given fields: item
func (*DocumentRepository) Delete ¶
func (_m *DocumentRepository) Delete(item *model.Document) error
Delete provides a mock function with given fields: item
func (*DocumentRepository) GetByID ¶
func (_m *DocumentRepository) GetByID(id string) (*model.Document, error)
GetByID provides a mock function with given fields: id
func (*DocumentRepository) ListByApplicationID ¶
func (_m *DocumentRepository) ListByApplicationID(applicationID string, pageSize *int, cursor *string) (*model.DocumentPage, error)
ListByApplicationID provides a mock function with given fields: applicationID, pageSize, cursor
type DocumentService ¶
DocumentService is an autogenerated mock type for the DocumentService type
func (*DocumentService) Create ¶
func (_m *DocumentService) Create(ctx context.Context, applicationID string, in model.DocumentInput) (string, error)
Create provides a mock function with given fields: ctx, applicationID, in
type FetchRequestConverter ¶
FetchRequestConverter is an autogenerated mock type for the FetchRequestConverter type
func (*FetchRequestConverter) InputFromGraphQL ¶
func (_m *FetchRequestConverter) InputFromGraphQL(in *graphql.FetchRequestInput) *model.FetchRequestInput
InputFromGraphQL provides a mock function with given fields: in
func (*FetchRequestConverter) ToGraphQL ¶
func (_m *FetchRequestConverter) ToGraphQL(in *model.FetchRequest) *graphql.FetchRequest
ToGraphQL provides a mock function with given fields: in
type UIDService ¶
UIDService is an autogenerated mock type for the UIDService type
func (*UIDService) Generate ¶
func (_m *UIDService) Generate() string
Generate provides a mock function with given fields: