(ctx context.Context, id, ownerID string)
| 579 | } |
| 580 | |
| 581 | func (m *MockDataSource) RevokeAPIKey(ctx context.Context, id, ownerID string) error { |
| 582 | args := m.Called(ctx, id, ownerID) |
| 583 | return args.Error(0) |
| 584 | } |
| 585 | |
| 586 | func (m *MockDataSource) GetAPIKey(ctx context.Context, id string) (*model.APIKey, error) { |
| 587 | args := m.Called(ctx, id) |