Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Create a mapping layer for querying the storage layer #43

Open
apostergiou opened this issue Apr 20, 2018 · 0 comments
Open

Create a mapping layer for querying the storage layer #43

apostergiou opened this issue Apr 20, 2018 · 0 comments

Comments

@apostergiou
Copy link
Contributor

apostergiou commented Apr 20, 2018

This layer (let's suppose it is a Storage package) will expose functions like:

func (s *Storage) GetJobs(project string) ([]Job, error)

and

func (s *Storage) GetJob(project, id string) (Job, error)

This will abstract the storage solution away and will enable more intuitive interactions in regard with fetching saved jobs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant