Documentation ¶
Index ¶
- type MetaDAO
- func (_m *MetaDAO) Create(ctx context.Context, oidcUser *models.OIDCUser) (int, error)
- func (_m *MetaDAO) DeleteByUserID(ctx context.Context, uid int) error
- func (_m *MetaDAO) GetByUsername(ctx context.Context, username string) (*models.OIDCUser, error)
- func (_m *MetaDAO) List(ctx context.Context, query *q.Query) ([]*models.OIDCUser, error)
- func (_m *MetaDAO) Update(ctx context.Context, oidcUser *models.OIDCUser, props ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaDAO ¶
MetaDAO is an autogenerated mock type for the MetaDAO type
func NewMetaDAO ¶
NewMetaDAO creates a new instance of MetaDAO. 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 (*MetaDAO) DeleteByUserID ¶
DeleteByUserID provides a mock function with given fields: ctx, uid
func (*MetaDAO) GetByUsername ¶
GetByUsername provides a mock function with given fields: ctx, username
Click to show internal directories.
Click to hide internal directories.