Semaphore/db_lib/LocalApp.go

13 lines
242 B
Go
Raw Normal View History

2024-01-30 16:42:56 +01:00
package db_lib
import (
"github.com/ansible-semaphore/semaphore/lib"
"os"
)
type LocalApp interface {
SetLogger(logger lib.Logger)
InstallRequirements() error
Run(args []string, environmentVars *[]string, cb func(*os.Process)) error
}