(ctx context.Context, name, ownerID string, scopes []string, expiresAt time.Time)
| 569 | } |
| 570 | |
| 571 | func (m *MockDataSource) CreateAPIKey(ctx context.Context, name, ownerID string, scopes []string, expiresAt time.Time) (*model.APIKey, error) { |
| 572 | args := m.Called(ctx, name, ownerID, scopes, expiresAt) |
| 573 | return args.Get(0).(*model.APIKey), args.Error(1) |
| 574 | } |
| 575 | |
| 576 | func (m *MockDataSource) ListAPIKeys(ctx context.Context, ownerID string) ([]*model.APIKey, error) { |
| 577 | args := m.Called(ctx, ownerID) |