Documentation ¶
Index ¶
- type ORM
- func (_m *ORM) CountJobProposals() (int64, error)
- func (_m *ORM) CountManagers() (int64, error)
- func (_m *ORM) CreateJobProposal(ctx context.Context, jp *feeds.JobProposal) (int64, error)
- func (_m *ORM) CreateManager(ctx context.Context, ms *feeds.FeedsManager) (int64, error)
- func (_m *ORM) GetJobProposal(ctx context.Context, id int64) (*feeds.JobProposal, error)
- func (_m *ORM) GetManager(ctx context.Context, id int64) (*feeds.FeedsManager, error)
- func (_m *ORM) ListJobProposals(ctx context.Context) ([]feeds.JobProposal, error)
- func (_m *ORM) ListManagers(ctx context.Context) ([]feeds.FeedsManager, error)
- type Service
- func (_m *Service) Close() error
- func (_m *Service) CountManagers() (int64, error)
- func (_m *Service) CreateJobProposal(jp *feeds.JobProposal) (int64, error)
- func (_m *Service) GetManager(id int64) (*feeds.FeedsManager, error)
- func (_m *Service) ListManagers() ([]feeds.FeedsManager, error)
- func (_m *Service) RegisterManager(ms *feeds.FeedsManager) (int64, error)
- func (_m *Service) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func (*ORM) CountJobProposals ¶ added in v0.10.9
CountJobProposals provides a mock function with given fields:
func (*ORM) CountManagers ¶
CountManagers provides a mock function with given fields:
func (*ORM) CreateJobProposal ¶ added in v0.10.9
CreateJobProposal provides a mock function with given fields: ctx, jp
func (*ORM) CreateManager ¶
CreateManager provides a mock function with given fields: ctx, ms
func (*ORM) GetJobProposal ¶ added in v0.10.9
GetJobProposal provides a mock function with given fields: ctx, id
func (*ORM) GetManager ¶
GetManager provides a mock function with given fields: ctx, id
func (*ORM) ListJobProposals ¶ added in v0.10.9
ListJobProposals provides a mock function with given fields: ctx
func (*ORM) ListManagers ¶
ListManagers provides a mock function with given fields: ctx
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) CountManagers ¶
CountManagers provides a mock function with given fields:
func (*Service) CreateJobProposal ¶ added in v0.10.9
func (_m *Service) CreateJobProposal(jp *feeds.JobProposal) (int64, error)
CreateJobProposal provides a mock function with given fields: jp
func (*Service) GetManager ¶
func (_m *Service) GetManager(id int64) (*feeds.FeedsManager, error)
GetManager provides a mock function with given fields: id
func (*Service) ListManagers ¶
func (_m *Service) ListManagers() ([]feeds.FeedsManager, error)
ListManagers provides a mock function with given fields:
func (*Service) RegisterManager ¶
func (_m *Service) RegisterManager(ms *feeds.FeedsManager) (int64, error)
RegisterManager provides a mock function with given fields: ms