2024-11-17 19:10:50 +01:00
|
|
|
//go:build !pro
|
|
|
|
|
2023-08-27 18:02:51 +02:00
|
|
|
package bolt
|
|
|
|
|
2023-08-29 00:51:04 +02:00
|
|
|
import (
|
2024-11-17 19:10:50 +01:00
|
|
|
"github.com/semaphoreui/semaphore/db"
|
2023-08-29 00:51:04 +02:00
|
|
|
)
|
2023-08-27 18:02:51 +02:00
|
|
|
|
|
|
|
func (d *BoltDb) 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 *BoltDb) GetRunners(projectID int, activeOnly bool) (runners []db.Runner, err error) {
|
2024-11-22 13:14:16 +01:00
|
|
|
runners = make([]db.Runner, 0)
|
2023-08-27 18:02:51 +02:00
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d *BoltDb) 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
|
|
|
|
}
|