2021-10-26 20:19:12 +02:00
|
|
|
package sql
|
|
|
|
|
|
|
|
import "github.com/ansible-semaphore/semaphore/db"
|
|
|
|
|
|
|
|
func (d *SqlDb) GetView(projectID int, viewID int) (view db.View, err error) {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d *SqlDb) GetViews(projectID int) (views []db.View, err error) {
|
2021-10-27 13:43:04 +02:00
|
|
|
views = make([]db.View, 0)
|
2021-10-26 20:19:12 +02:00
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d *SqlDb) UpdateView(view db.View) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d *SqlDb) CreateView(view db.View) (newView db.View, err error) {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d *SqlDb) DeleteView(projectID int, viewID int) error {
|
|
|
|
return nil
|
2021-10-27 13:43:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func (d *SqlDb) SetViewPositions(projectID int, positions map[int]int) error {
|
|
|
|
return nil
|
|
|
|
}
|