2024-11-17 19:10:50 +01:00
|
|
|
//go:build !pro
|
|
|
|
|
2023-08-27 18:02:51 +02:00
|
|
|
package sql
|
|
|
|
|
2023-09-11 01:02:10 +02:00
|
|
|
import (
|
2024-11-17 19:10:50 +01:00
|
|
|
"github.com/semaphoreui/semaphore/db"
|
2023-09-11 01:02:10 +02:00
|
|
|
)
|
2023-08-27 18:02:51 +02:00
|
|
|
|
|
|
|
func (d *SqlDb) GetRunner(projectID int, runnerID int) (runner db.Runner, err error) {
|
2024-11-22 13:14:16 +01:00
|
|
|
err = db.ErrNotFound
|
2023-08-27 18:02:51 +02:00
|
|
|
return
|
|
|
|
}
|
|
|
|
|
2024-11-17 19:13:11 +01:00
|
|
|
func (d *SqlDb) GetRunners(projectID int, activeOnly bool) (runners []db.Runner, err error) {
|
2024-11-17 21:24:45 +01:00
|
|
|
runners = make([]db.Runner, 0)
|
2023-08-27 18:02:51 +02:00
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d *SqlDb) DeleteRunner(projectID int, runnerID int) (err error) {
|
2024-11-22 13:14:16 +01:00
|
|
|
err = db.ErrNotFound
|
2023-08-27 18:02:51 +02:00
|
|
|
return
|
|
|
|
}
|